<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The cause of this is often using new DefaultCacheManager() in the test suite instead of TestCacheManagerFactory to create a cache manager.<div><br><div><div>On 17 Sep 2012, at 14:16, Manik Surtani &lt;<a href="mailto:manik@jboss.org">manik@jboss.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That might be something I missed - Galder merged in a couple of my PRs this morning.<div><br><div><div>On 17 Sep 2012, at 14:15, Tristan Tarrant &lt;<a href="mailto:ttarrant@redhat.com">ttarrant@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I'm chasing that same issue. It's most
      probably caused by some of my config changes, although a
      git-bisect would be ideal<br>
      <br>
      Tristan<br>
      <br>
      On 09/17/2012 03:12 PM, Dan Berindei wrote:<br>
    </div>
    <blockquote cite="mid:CA+nfvwQUQJifhR1TTHP50rc0eBGugcZqjYGbWOkdEKp3Os2MYg@mail.gmail.com" type="cite">BTW, after updating this morning, query and
      hotrod-client are not finishing properly on my machine either. I'm
      seeing lots instances of this error:<br>
      <br>
      org.infinispan.CacheException: Unable to invoke method public void
      org.infinispan.jmx.CacheJmxRegistration.start() on object of type
      CacheJmxRegistration<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:899)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:649)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:638)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:541)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:191)<br>
      &nbsp;&nbsp;&nbsp; at org.infinispan.CacheImpl.start(CacheImpl.java:519)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:683)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:646)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:546)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:518)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.query.config.DefaultCacheInheritancePreventedTest.verifyIndexEnabledCorrectly(DefaultCacheInheritancePreventedTest.java:63)<br>
      Caused by: org.infinispan.jmx.JmxDomainConflictException: Domain
      already registered org.infinispan<br>
      &nbsp;&nbsp;&nbsp; at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:73)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.jmx.CacheJmxRegistration.updateDomain(CacheJmxRegistration.java:154)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.jmx.CacheJmxRegistration.buildRegistrar(CacheJmxRegistration.java:146)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:59)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.jmx.CacheJmxRegistration.start(CacheJmxRegistration.java:84)<br>
      &nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
      &nbsp;&nbsp;&nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
      &nbsp;&nbsp;&nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
      &nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:601)<br>
      &nbsp;&nbsp;&nbsp; at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)<br>
      &nbsp;&nbsp;&nbsp; ... 31 more<br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Mon, Sep 17, 2012 at 3:36 PM, Dan
        Berindei <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:dan.berindei@gmail.com" target="_blank">dan.berindei@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Sanne, you
          should know more about your laptop than we do :)<br>
          <br>
          I used to always run Maven with the debug agent enabled in
          order to find and fix this kind of failures, but not anymore.
          I had one particularly weird issue with core tests failing
          randomly, and I tracked it down (after a few weeks of
          on-and-off investigation) to the debug agent: with debugging
          enabled, it sometimes took &gt; 10 seconds to start a new
          thread in an existing thread pool, which would break almost
          any test. After trying to trace it and debug it in every way I
          could think of, I removed the debug agent from the command
          line and my machine got back to normal...<br>
          <br>
          Cheers<span class="HOEnZb"><font color="#888888"><br>
              Dan</font></span>
          <div class="HOEnZb">
            <div class="h5"><br>
              <br>
              <br>
              <div class="gmail_quote">On Mon, Sep 17, 2012 at 1:32 PM,
                Sanne Grinovero <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:sanne@infinispan.org" target="_blank">sanne@infinispan.org</a>&gt;</span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm
                  again in the situation of not being able to run the
                  testsuite: it<br>
                  hangs while running the core testsuite.<br>
                  <br>
                  Anyone has a clue of why it's always my laptop not
                  being able to complete it?<br>
                  <br>
                  Cheers,<br>
                  Sanne<br>
                  <div>
                    <div><br>
                      On 17 September 2012 11:35, Dan Berindei &lt;<a moz-do-not-send="true" href="mailto:dan.berindei@gmail.com" target="_blank">dan.berindei@gmail.com</a>&gt;
                      wrote:<br>
                      &gt; Galder, I'm not sure what's happening in
                      CloudBees, I'll take a look.<br>
                      &gt; However, I don't think logging is set up
                      properly in any module except for<br>
                      &gt; core (which has a log4j.xml file in its test
                      jar). Could we add a<br>
                      &gt; -Dlog4j.configuration argument to the maven
                      command line for all the<br>
                      &gt; modules?<br>
                      &gt;<br>
                      &gt; At least some of the failures in run #816
                      seem to be related to the latest<br>
                      &gt; JMX changes:<br>
                      &gt; <a moz-do-not-send="true" href="https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/org.infinispan$infinispan-server-core/816/testReport/org.infinispan.server.core/MarshallingTest/setUp/#" target="_blank">https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/org.infinispan$infinispan-server-core/816/testReport/org.infinispan.server.core/MarshallingTest/setUp/#</a><br>
                      &gt;<br>
                      &gt; Cheers<br>
                      &gt; Dan<br>
                      &gt;<br>
                      &gt;<br>
                      &gt;<br>
                      &gt; On Mon, Sep 17, 2012 at 11:57 AM, Galder
                      Zamarreņo &lt;<a moz-do-not-send="true" href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a>&gt;<br>
                      &gt; wrote:<br>
                      &gt;&gt;<br>
                      &gt;&gt; It's a bit of a mess:<br>
                      &gt;&gt; <a moz-do-not-send="true" href="https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/" target="_blank">https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/</a><br>
                      &gt;&gt;<br>
                      &gt;&gt; Ever since we integrated ISPN-1424 we
                      haven't had a run that's actually<br>
                      &gt;&gt; finished.<br>
                      &gt;&gt;<br>
                      &gt;&gt; I'm currently looking into the issue in<br>
                      &gt;&gt; <a moz-do-not-send="true" href="https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/804/console" target="_blank">https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/804/console</a><br>
                      &gt;&gt; which is stopping the Hot Rod client
                      testsuite from running.<br>
                      &gt;&gt;<br>
                      &gt;&gt; Could you please have a look to see
                      what's up with the other runs? i.e. I<br>
                      &gt;&gt; see some issues with JDBC:<br>
                      &gt;&gt;<br>
                      &gt;&gt; <a moz-do-not-send="true" href="https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/816/console" target="_blank">https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/816/console</a><br>
                      &gt;&gt;<br>
                      &gt;&gt; Cheers,<br>
                      &gt;&gt; --<br>
                      &gt;&gt; Galder Zamarreņo<br>
                      &gt;&gt; <a moz-do-not-send="true" href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a><br>
                      &gt;&gt; <a moz-do-not-send="true" href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
                      &gt;&gt;<br>
                      &gt;&gt; Project Lead, Escalante<br>
                      &gt;&gt; <a moz-do-not-send="true" href="http://escalante.io/" target="_blank">http://escalante.io</a><br>
                      &gt;&gt;<br>
                      &gt;&gt; Engineer, Infinispan<br>
                      &gt;&gt; <a moz-do-not-send="true" href="http://infinispan.org/" target="_blank">http://infinispan.org</a><br>
                      &gt;&gt;<br>
                      &gt;&gt;<br>
                      &gt;&gt;
                      _______________________________________________<br>
                      &gt;&gt; infinispan-dev mailing list<br>
                      &gt;&gt; <a moz-do-not-send="true" href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
                      &gt;&gt; <a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
                      &gt;<br>
                      &gt;<br>
                      &gt;<br>
                      &gt;
                      _______________________________________________<br>
                      &gt; infinispan-dev mailing list<br>
                      &gt; <a moz-do-not-send="true" href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
                      &gt; <a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
                      <br>
                      _______________________________________________<br>
                      infinispan-dev mailing list<br>
                      <a moz-do-not-send="true" href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
                      <a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div><div>Platform Architect, JBoss Data Grid</div><div><a href="http://red.ht/data-grid">http://red.ht/data-grid</a></div></div></div></span></div></span></div></span>
</div>
<br></div></div>_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div><div>Platform Architect, JBoss Data Grid</div><div><a href="http://red.ht/data-grid">http://red.ht/data-grid</a></div></div></div></span></div></span></div></span>
</div>
<br></div></body></html>