<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 29 Oct 2012, at 15:25, Manik Surtani wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>For what it's worth, I just created a branch with:<br><br>* TestNG 6.7 as a dependency in parent/pom.xml (so all modules use this)<br>* Updated cdi/extension/pom.xml to use ${version.testng} rather than ${version.testng.arquillian} - so it too now uses TestNG 6.7.<br><br>Ran tests.<br><br>Results from tests in cdi/extension:<br><br>Results :<br><br>Tests run: 60, Failures: 0, Errors: 0, Skipped: 0<br><br>Anyone want a pull req? ;)<br><br></div></blockquote><div><br></div>I do :)<br><blockquote type="cite"><div>- M<br><br>On 29 Oct 2012, at 16:06, Sanne Grinovero &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt; wrote:<br><br><blockquote type="cite">On 29 October 2012 08:59, Anna Manukyan &lt;<a href="mailto:amanukya@redhat.com">amanukya@redhat.com</a>&gt; wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi Sanne,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sorry for my interfering in - I was lately working on CDI testsuite - evaluating the coverage, etc. and actually on my local environment as well as on Jenkins, the CDI integration tests are passing properly.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi Anna,<br></blockquote><blockquote type="cite">I wouldn't call that interfering, it's exactly the kind of feedback I<br></blockquote><blockquote type="cite">was looking for. I just checked master again, and it still failed for<br></blockquote><blockquote type="cite">me.<br></blockquote><blockquote type="cite">This is the stack I have in all tests, in case it helps:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">java.lang.NullPointerException<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:82)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.reflect.Method.invoke(Method.java:597)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:222)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestRunner.runWorkers(TestRunner.java:1147)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestRunner.privateRun(TestRunner.java:749)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestRunner.run(TestRunner.java:600)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunner.run(SuiteRunner.java:223)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestNG.runSuitesLocally(TestNG.java:964)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.testng.TestNG.run(TestNG.java:900)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Anyway, whatever the state of CDI that looks like a separate problem;<br></blockquote><blockquote type="cite">I can't run the core testsuite reliably with this version of TestNG;<br></blockquote><blockquote type="cite">from Vladimir's comment I guess we can't upgrade easily<br></blockquote><blockquote type="cite">so I'm opening ISPN-2450.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers,<br></blockquote><blockquote type="cite">Sanne<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've run the tests several times, but I hadn't got the test hangouts as you have mentioned and all tests are passing on my side without failures.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've tried also the testsuite execution with TestNG version 6.7 and it is fine as well.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I just thought, maybe there is something wrong with your testsuite setup or environment (just thoughts)?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Best regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Anna.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">----- Original Message -----<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: "Sanne Grinovero" &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: "infinispan -Dev List" &lt;<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Sunday, October 28, 2012 11:12:32 AM<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: [infinispan-dev] Testsuite: hanging TestNG, CDI proken<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hello all,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">besides having regular failures, I also experienced occasional hangs<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">while running the testsuite; in some cases I found the following stack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which suggests a TestNG bug:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"pool-3-thread-14" prio=10 tid=0x00007f0d84632000 nid=0x1ce5 runnable<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[0x00007f0d58a36000]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;java.lang.Thread.State: RUNNABLE<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.util.HashMap.put(HashMap.java:374)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.testng.SuiteRunner.runTest(SuiteRunner.java:320)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.testng.SuiteRunner.access$000(SuiteRunner.java:34)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:351)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:147)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.lang.Thread.run(Thread.java:662)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Even when taking multiple dumps that thread is still in the same loop,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and having a single CPU stuck at 100% I'm guessing the HashMap was<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">being used in some unsafe way regarding concurrency; we're using the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">first minor version of TestNG which ever supported parallel testsuite<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">invocations so that might not be very solid.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Not sure why, but upgrading TestNG from 5.14.10 to 6.7 seems to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">resolve the problem.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Now I wish I could send a pull request, but even skipping just the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">core testsuite (which always fails for me even in non-parallel mode)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">many other modules are broken both with and without my patches, so I'm<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">dropping my experiments as I won't send any pull requests if the tests<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">can't back my changes up.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">As an example the CDI integration is:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Tests run: 247, Failures: 102, Errors: 0, Skipped: 143<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">...which means 2 tests are fine.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cheers,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sanne<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">infinispan-dev mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">infinispan-dev mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">infinispan-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br></blockquote><blockquote type="cite"><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote><br>--<br>Manik Surtani<br><a href="mailto:manik@jboss.org">manik@jboss.org</a><br>twitter.com/maniksurtani<br><br>Platform Architect, JBoss Data Grid<br>http://red.ht/data-grid<br><br><br>_______________________________________________<br>infinispan-dev mailing list<br>infinispan-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/infinispan-dev<br></div></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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-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>Cheers,</div><div>--&nbsp;<br>Mircea Markus</div><div>Infinispan lead&nbsp;(<a href="http://www.infinispan.org">www.infinispan.org</a>)</div><div><br></div></div></span></div></span></div></span></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>