Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6069

PermissionsDeploymentTestCase fails intermittently on Windows - Bootable JAR Job

XMLWordPrintable

      Not too often, but this test case fails with org.jboss.modules.ModuleNotFoundException. The missing module is random.

      You can find the history here: https://ci.wildfly.org/project.html?tab=testDetails&testNameId=-2701721528906614674&projectId=WildFlyCore_PullRequest&buildTypeId=WildFlyCore_PullRequest_WindowsBootableJarJdk11

      Here are some of the error traces I've collected:

      	[Test Output]
      12:35:54,426 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: C:\Java\jdk11\bin\java -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=C:\BuildAgent\system\jetbrains.maven.runner\maven.repo.local-bt491 -Xmx512m -XX:MetaspaceSize=128m --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djboss.dist=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode/target/wildfly-core -Djava.io.tmpdir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode -Dorg.jboss.server.bootstrap.maxThreads=1 -ea -jar C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\test-wildfly.jar --install-dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 
      Exception in thread "main" java.lang.Exception: org.jboss.modules.ModuleNotFoundException: org.jboss.as.jmx
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:173)
      	at org.wildfly.core.jar.boot.Main.main(Main.java:154)
      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.jmx
      	at org.jboss.modules.Module.addPaths(Module.java:1271)
      	at org.jboss.modules.Module.link(Module.java:1627)
      	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1655)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:303)
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:171)
      	... 1 more
      
      	[Test Output]
      05:57:39,940 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: C:\Java\jdk11\bin\java -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=C:\BuildAgent\system\jetbrains.maven.runner\maven.repo.local-bt491 -Xmx512m -XX:MetaspaceSize=128m --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djboss.dist=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode/target/wildfly-core -Djava.io.tmpdir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode -Dorg.jboss.server.bootstrap.maxThreads=1 -ea -jar C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\test-wildfly.jar --install-dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 
      Exception in thread "main" java.lang.Exception: org.jboss.modules.ModuleNotFoundException: org.aesh
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:173)
      	at org.wildfly.core.jar.boot.Main.main(Main.java:154)
      Caused by: org.jboss.modules.ModuleNotFoundException: org.aesh
      	at org.jboss.modules.Module.addExportedPaths(Module.java:1422)
      	at org.jboss.modules.Module.addPaths(Module.java:1300)
      	at org.jboss.modules.Module.link(Module.java:1627)
      	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1655)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:303)
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:171)
      	... 1 more
      
      	[Test Output]
      15:33:14,903 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: C:\Java\jdk11\bin\java -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=C:\BuildAgent\system\jetbrains.maven.runner\maven.repo.local-bt491 -Xmx512m -XX:MetaspaceSize=128m --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djboss.dist=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode/target/wildfly-core -Djava.io.tmpdir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode -Dorg.jboss.server.bootstrap.maxThreads=1 -ea -jar C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\test-wildfly.jar --install-dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 
      Exception in thread "main" java.lang.Exception: org.jboss.modules.ModuleNotFoundException: org.jboss.as.cli
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:173)
      	at org.wildfly.core.jar.boot.Main.main(Main.java:154)
      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.cli
      	at org.jboss.modules.Module.addPaths(Module.java:1271)
      	at org.jboss.modules.Module.link(Module.java:1627)
      	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1655)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:303)
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:171)
      	... 1 more
      
      	[Test Output]
      10:01:15,317 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: C:\Java\jdk11\bin\java -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=C:\BuildAgent\system\jetbrains.maven.runner\maven.repo.local-bt491 -Xmx512m -XX:MetaspaceSize=128m --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djboss.dist=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode/target/wildfly-core -Djava.io.tmpdir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode -Dorg.jboss.server.bootstrap.maxThreads=1 -ea -jar C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\test-wildfly.jar --install-dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 
      Exception in thread "main" java.lang.Exception: org.jboss.modules.ModuleNotFoundException: org.jboss.as.controller
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:173)
      	at org.wildfly.core.jar.boot.Main.main(Main.java:154)
      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.controller
      	at org.jboss.modules.Module.addPaths(Module.java:1271)
      	at org.jboss.modules.Module.link(Module.java:1627)
      	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1655)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:303)
      	at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:171)
      	... 1 more
      

              jdenise@redhat.com Jean Francois Denise
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: