<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 3:03 PM, Galder Zamarreņo <span dir="ltr">&lt;<a href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><br>
On 04 Feb 2014, at 13:50, Dan Berindei &lt;<a href="mailto:dan.berindei@gmail.com">dan.berindei@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; On Tue, Feb 4, 2014 at 2:36 PM, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br>
&gt; Narrowing down the list now, since this is a problem of how our CI is doing builds.<br>
&gt;<br>
&gt; These logs are retrieved from [1].<br>
&gt;<br>
&gt; Dunno how our CI is configured but this is odd. Seems like the build is halt due to test failures, but it continues somehow? I mean, the jars are not being produced properly, but the build is not halting.<br>
&gt;<br>
&gt; We run the build with -fn (fail-never), so the build should never be halted because of a test failure. The configuration is here: <a href="http://ci.infinispan.org/admin/editRunType.html?id=buildType:bt8&amp;runnerId=RUNNER_1" target="_blank">http://ci.infinispan.org/admin/editRunType.html?id=buildType:bt8&amp;runnerId=RUNNER_1</a><br>


<br>
</div>^ That&rsquo;s not working as expected, see the build log, my snippets&hellip;etc.<br></blockquote><div><br></div><div>Sorry, I didn&#39;t understand what&#39;s happening in those snippets. All I saw was an Ant script that doesn&#39;t do what it&#39;s supposed to do :)<br>

<br></div><div>I did see some differences in the configuration between the JDK6 and the JDK7 builds:<br>* JDK7 uses -fn and JDK6 uses -Dmaven.test.failure.ignore<br>* JDK7 uses -nsu (no snapshot updates), JDK6 doesn&#39;t<br>

<br></div><div>I&#39;ve changed both builds to use -Dmaven.test.failure.ignore and -nsu, let&#39;s see how it goes.<br><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div class="im"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; It&rsquo;s about time we did the following:<br>
&gt; 1) Any test failures should halt the build there and then. IOW, do not continue the build at all.<br>
&gt;<br>
&gt; Will having 100 tests in one run and 2000 tests in another really help?<br>
<br>
</div>As you disable randomly failing tests, and do not integrate commits making the testsuite fail, these number should even out.<br></blockquote><div><br></div><div>Not integrating commits that fail every time is easy, not integrating commits that fail randomly (maybe only in some environments) is trickier.<br>

&nbsp;<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; 2) Any tests that fail randomly should be disabled.<br>
&gt;<br>
&gt; Let&#39;s go ahead and disable all the server tests then? ;)<br>
<br>
</div>Those server tests that are randomly failing should be disabled and looked at. Those tests that are failing as a result of container not starting are side effects of things not working properly, and these should not be disabled.<br>

</blockquote><div><br></div><div>Why treat the tests that are failing because of a build problem differently? What about the tests that fail only on IBM JDK6?<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div class=""><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; [1] <a href="https://dl.dropboxusercontent.com/u/6148072/does-not-work.log" target="_blank">https://dl.dropboxusercontent.com/u/6148072/does-not-work.log</a><br>
&gt;<br>
&gt; On 04 Feb 2014, at 13:30, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; On 04 Feb 2014, at 10:38, Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; It is almost certainly something to do with this:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &lt;module-def name=&quot;org.infinispan.server.rest&quot; src=&quot;${infinispan.server.modules.dir}&quot;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;maven-resource-with-classifier group=&quot;org.infinispan&quot; artifact=&quot;infinispan-server-rest&quot; classifier=&quot;classes&quot; /&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &lt;/module-def&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I guess sometimes the classes artefact is being attached as a reference to the classes directory, rather than a reference to a jar, which causes the issue.<br>
&gt; &gt;<br>
&gt; &gt; Here&rsquo;s a gist with a subset of the build log [1]. When it works fine, it&rsquo;s copying a jar, when it&rsquo;s not, it&rsquo;s copying an empty folder.<br>
&gt; &gt;<br>
&gt; &gt; However, this is not only happening for the org.infinispan.server.rest module, others show the same issue [2]. What seems to be a pattern is that it only happens with modules that are built by us, it&rsquo;s not happening for modules coming with the base AS/WF instance.<br>


&gt; &gt;<br>
&gt; &gt; I&rsquo;ve traced back and this might be due to build failures that are not producing the right jars [3].<br>
&gt; &gt;<br>
&gt; &gt; @Stuart, this is really our problem. Sorry for the inconvenience!<br>
&gt; &gt;<br>
&gt; &gt; [1] <a href="https://gist.github.com/galderz/b9286f385aad1316df51" target="_blank">https://gist.github.com/galderz/b9286f385aad1316df51</a><br>
&gt; &gt; [2] <a href="https://gist.github.com/galderz/9e6a9bd9b18b805db323" target="_blank">https://gist.github.com/galderz/9e6a9bd9b18b805db323</a><br>
&gt; &gt; [3] <a href="https://gist.github.com/galderz/6ab662a1027cd96cbd8c" target="_blank">https://gist.github.com/galderz/6ab662a1027cd96cbd8c</a><br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Stuart<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Tue, Feb 4, 2014 at 11:14 AM, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On 04 Feb 2014, at 10:01, Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On Tue, Feb 4, 2014 at 11:00 AM, Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt; Yes, there is nothing in the server code that modified the modules directory.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Well, except for the new patching stuff, but that is not really relevant here.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The testsuite AS/WF builds are built out of the distribution build, which shows the same problem. The distribution we build uses the scripts we got from AS [1].<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Do you see anything in there that could be causing this? We are using maven-antrun-plugin version 1.3, and take into account the lib.xml in [2].<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Finally, do you have any suggestions on changes we could make to these files to further debug the issue?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks a lot for your help!<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [1] <a href="https://github.com/infinispan/infinispan/blob/master/server/integration/build/build.xml" target="_blank">https://github.com/infinispan/infinispan/blob/master/server/integration/build/build.xml</a><br>


&gt; &gt;&gt; [2] <a href="https://github.com/infinispan/infinispan/blob/master/server/integration/build/lib.xml" target="_blank">https://github.com/infinispan/infinispan/blob/master/server/integration/build/lib.xml</a><br>


&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Stuart<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Stuart<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On Tue, Feb 4, 2014 at 10:56 AM, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On 04 Feb 2014, at 09:37, Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; This looks like an issue with your environment. The modules directory is static. Wildfly does not contain any code that messes with it. I would say the culprit is probably something in either your build process or your test suite.<br>


&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Correction, this is happening with AS 7.2.0.Final (Wildfly 8 used somewhere else). I guess your answer still applies?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Cheers,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Stuart<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; On Tue, Feb 4, 2014 at 10:21 AM, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt; Hi all,<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; We&rsquo;re having issues with our Infinispan Server integration tests, which run within Wildfly 8.0.0.Beta1 (as I&rsquo;m typing I&rsquo;m wondering if we should just upgrade it to see if this goes away...?).<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Quite often some of the runs fail with error message [1].<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Having looked at the build environment when a run fails, you see this:<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt; $ ls modules/system/layers/base/org/infinispan/server/rest/main<br>
&gt; &gt;&gt;&gt;&gt; drwxrwxr-x &nbsp;2 g &nbsp;staff &nbsp; &nbsp;68B Feb &nbsp;3 18:41 classes (&lt;&mdash; a directory??)<br>
&gt; &gt;&gt;&gt;&gt; -rw-r--r-- &nbsp;1 g &nbsp;staff &nbsp; &nbsp; 1B Feb &nbsp;3 18:41 classes.index<br>
&gt; &gt;&gt;&gt;&gt; -rw-r--r-- &nbsp;1 g &nbsp;staff &nbsp; 2.1K Feb &nbsp;3 18:41 module.xml<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; $ ls modules/system/layers/base/org/infinispan/server/rest/main/classes<br>
&gt; &gt;&gt;&gt;&gt; drwxrwxr-x &nbsp;2 g &nbsp;staff &nbsp; &nbsp;68B Feb &nbsp;3 18:41 .<br>
&gt; &gt;&gt;&gt;&gt; drwxrwxr-x &nbsp;5 g &nbsp;staff &nbsp; 170B Feb &nbsp;3 18:41 ..<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; $ more modules/system/layers/base/org/infinispan/server/rest/main/module.xml<br>
&gt; &gt;&gt;&gt;&gt; &lt;module xmlns=&quot;urn:jboss:module:1.1&quot; name=&quot;org.infinispan.server.rest&rdquo;&gt;<br>
&gt; &gt;&gt;&gt;&gt; ...<br>
&gt; &gt;&gt;&gt;&gt; &lt;resource-root path=&quot;classes&quot;/&gt;<br>
&gt; &gt;&gt;&gt;&gt; ...<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; This is completely different to what happens with a successful run:<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt; $ ls modules/system/layers/base/org/infinispan/server/rest/main<br>
&gt; &gt;&gt;&gt;&gt; -rw-r--r-- &nbsp;1 g &nbsp;staff &nbsp; 103K Feb &nbsp;3 19:40 infinispan-classes.jar (&lt;&mdash; a jar file!)<br>
&gt; &gt;&gt;&gt;&gt; -rw-r--r-- &nbsp;1 g &nbsp;staff &nbsp; 278B Feb &nbsp;3 19:40 infinispan-classes.jar.index<br>
&gt; &gt;&gt;&gt;&gt; -rw-r--r-- &nbsp;1 g &nbsp;staff &nbsp; 2.1K Feb &nbsp;3 19:40 module.xml<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; $ jar tf modules/system/layers/base/org/infinispan/server/rest/main/infinispan-classes.jar | grep ExtendedHeaders<br>
&gt; &gt;&gt;&gt;&gt; org/infinispan/rest/configuration/ExtendedHeaders.class<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; $ more modules/system/layers/base/org/infinispan/server/rest/main/module.xml<br>
&gt; &gt;&gt;&gt;&gt; &lt;module xmlns=&quot;urn:jboss:module:1.1&quot; name=&quot;org.infinispan.server.rest&rdquo;&gt;<br>
&gt; &gt;&gt;&gt;&gt; ...<br>
&gt; &gt;&gt;&gt;&gt; &lt;resource-root path=&quot;infinispan-classes.jar&rdquo;/&gt;<br>
&gt; &gt;&gt;&gt;&gt; &mdash;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Anyone can explain what is going on here? Does it ring a bell to anyone? Is this a known Wildfly issue by any chance?<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; [1] <a href="https://gist.github.com/galderz/bd74cebfc840ef3ae284" target="_blank">https://gist.github.com/galderz/bd74cebfc840ef3ae284</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Cheers,<br>
&gt; &gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt; Galder Zamarreņo<br>
&gt; &gt;&gt;&gt;&gt; <a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
&gt; &gt;&gt;&gt;&gt; <a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Project Lead, Escalante<br>
&gt; &gt;&gt;&gt;&gt; <a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Engineer, Infinispan<br>
&gt; &gt;&gt;&gt;&gt; <a href="http://infinispan.org" target="_blank">http://infinispan.org</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt;&gt; jboss-as7-dev mailing list<br>
&gt; &gt;&gt;&gt;&gt; <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
&gt; &gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt; Galder Zamarreņo<br>
&gt; &gt;&gt;&gt; <a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
&gt; &gt;&gt;&gt; <a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Project Lead, Escalante<br>
&gt; &gt;&gt;&gt; <a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Engineer, Infinispan<br>
&gt; &gt;&gt;&gt; <a href="http://infinispan.org" target="_blank">http://infinispan.org</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Galder Zamarreņo<br>
&gt; &gt;&gt; <a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
&gt; &gt;&gt; <a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Project Lead, Escalante<br>
&gt; &gt;&gt; <a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Engineer, Infinispan<br>
&gt; &gt;&gt; <a href="http://infinispan.org" target="_blank">http://infinispan.org</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Galder Zamarreņo<br>
&gt; &gt; <a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
&gt; &gt; <a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
&gt; &gt;<br>
&gt; &gt; Project Lead, Escalante<br>
&gt; &gt; <a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
&gt; &gt;<br>
&gt; &gt; Engineer, Infinispan<br>
&gt; &gt; <a 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 href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; &gt; <a 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; Galder Zamarreņo<br>
&gt; <a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
&gt; <a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
&gt;<br>
&gt; Project Lead, Escalante<br>
&gt; <a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
&gt;<br>
&gt; Engineer, Infinispan<br>
&gt; <a href="http://infinispan.org" target="_blank">http://infinispan.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a 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; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
--<br>
Galder Zamarreņo<br>
<a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
<a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
<br>
Project Lead, Escalante<br>
<a href="http://escalante.io" target="_blank">http://escalante.io</a><br>
<br>
Engineer, Infinispan<br>
<a href="http://infinispan.org" target="_blank">http://infinispan.org</a><br>
<br>
<br>
_______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br></div></div>