<div dir="ltr">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.<div>
<br></div><div>Stuart</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 10:21 AM, Galder Zamarreņo <span dir="ltr"><<a href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
We’re having issues with our Infinispan Server integration tests, which run within Wildfly 8.0.0.Beta1 (as I’m typing I’m wondering if we should just upgrade it to see if this goes away...?).<br>
<br>
Quite often some of the runs fail with error message [1].<br>
<br>
Having looked at the build environment when a run fails, you see this:<br>
<br>
--<br>
$ ls modules/system/layers/base/org/infinispan/server/rest/main<br>
drwxrwxr-x 2 g staff 68B Feb 3 18:41 classes (<— a directory??)<br>
-rw-r--r-- 1 g staff 1B Feb 3 18:41 classes.index<br>
-rw-r--r-- 1 g staff 2.1K Feb 3 18:41 module.xml<br>
<br>
$ ls modules/system/layers/base/org/infinispan/server/rest/main/classes<br>
drwxrwxr-x 2 g staff 68B Feb 3 18:41 .<br>
drwxrwxr-x 5 g staff 170B Feb 3 18:41 ..<br>
<br>
$ more modules/system/layers/base/org/infinispan/server/rest/main/module.xml<br>
<module xmlns="urn:jboss:module:1.1" name="org.infinispan.server.rest”><br>
...<br>
<resource-root path="classes"/><br>
...<br>
<br>
This is completely different to what happens with a successful run:<br>
<br>
--<br>
$ ls modules/system/layers/base/org/infinispan/server/rest/main<br>
-rw-r--r-- 1 g staff 103K Feb 3 19:40 infinispan-classes.jar (<— a jar file!)<br>
-rw-r--r-- 1 g staff 278B Feb 3 19:40 infinispan-classes.jar.index<br>
-rw-r--r-- 1 g staff 2.1K Feb 3 19:40 module.xml<br>
<br>
$ jar tf modules/system/layers/base/org/infinispan/server/rest/main/infinispan-classes.jar | grep ExtendedHeaders<br>
org/infinispan/rest/configuration/ExtendedHeaders.class<br>
<br>
$ more modules/system/layers/base/org/infinispan/server/rest/main/module.xml<br>
<module xmlns="urn:jboss:module:1.1" name="org.infinispan.server.rest”><br>
...<br>
<resource-root path="infinispan-classes.jar”/><br>
—<br>
<br>
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>
<br>
[1] <a href="https://gist.github.com/galderz/bd74cebfc840ef3ae284" target="_blank">https://gist.github.com/galderz/bd74cebfc840ef3ae284</a><br>
<br>
Cheers,<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>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote></div><br></div>