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

AdminOnlyPolicyTestCase hangs intermittently

XMLWordPrintable

      AdminOnlyPolicyTestCase has started to hang intermittently on Linux Jobs. We have hit it mostly on "Linux - Security Manager - JDK 11" but also on "Linux - JDK 17". They are identifiable by looking at the history and checking jobs with long durations +6h

      There is not so much information about the issue since we don't have any thread dump. The logs show the following error:

      00:23:03]i:		 [org.jboss.as.test.integration.domain.AdminOnlyModeTestCase] testServersCannotStartInAdminOnlyMode
      [08:12:54]W:	 [Step 2/3] Stopping build on agent. Reason: stop build command from the server
      [08:12:55] :	 [Step 2/3] [INFO] 
      [08:12:55] :	 [Step 2/3] [INFO] Results:
      [08:12:55] :	 [Step 2/3] [INFO] 
      [08:12:55]W:	 [Step 2/3] [WARNING] Tests run: 525, Failures: 0, Errors: 0, Skipped: 19
      [08:12:55] :	 [Step 2/3] [INFO] 
      [08:12:55]W:	 [Step 2/3] [ERROR] There are test failures.
      [08:12:55] :	 [Step 2/3] 
      [08:12:55] :	 [Step 2/3] Please refer to /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/surefire-reports for the individual test results.
      [08:12:55] :	 [Step 2/3] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      [08:12:55] :	 [Step 2/3] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [08:12:55] :	 [Step 2/3] Command was /bin/sh -c cd /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain && /usr/lib/jvm/java-11-openjdk-11.0.15.0.10-3.el8.x86_64/bin/java -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -Dts.timeout.factor=100 -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=/opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/wildfly-core -Djava.io.tmpdir=/opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target -Djava.util.logging.manager=org.jboss.logmanager.LogManager -jar /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/surefire/surefirebooter15959455113683220565.jar /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/surefire 2022-08-16T22-14-07_518-jvmRun1 surefire11624592498575496226tmp surefire_1969890818556362010481tmp
      [08:12:55] :	 [Step 2/3] Error occurred in starting fork, check output in log
      [08:12:55] :	 [Step 2/3] Process Exit Code: 143
      [08:12:55] :	 [Step 2/3] Crashed tests:
      [08:12:55] :	 [Step 2/3] org.jboss.as.test.integration.domain.AdminOnlyPolicyTestCase
      [08:12:55] :	 [Step 2/3] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [08:12:55] :	 [Step 2/3] Command was /bin/sh -c cd /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain && /usr/lib/jvm/java-11-openjdk-11.0.15.0.10-3.el8.x86_64/bin/java -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -Dts.timeout.factor=100 -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=/opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/wildfly-core -Djava.io.tmpdir=/opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target -Djava.util.logging.manager=org.jboss.logmanager.LogManager -jar /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/surefire/surefirebooter15959455113683220565.jar /opt/buildAgent/work/aa7b981af3f49e3c/testsuite/domain/target/surefire 2022-08-16T22-14-07_518-jvmRun1 surefire11624592498575496226tmp surefire_1969890818556362010481tmp
      [08:12:55] :	 [Step 2/3] Error occurred in starting fork, check output in log
      [08:12:55] :	 [Step 2/3] Process Exit Code: 143
      [08:12:55] :	 [Step 2/3] Crashed tests:
      [08:12:55] :	 [Step 2/3] org.jboss.as.test.integration.domain.AdminOnlyPolicyTestCase
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
      [08:12:55] :	 [Step 2/3] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
      [08:12:55] :	 [Step 2/3] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [08:12:55] :	 [Step 2/3] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [08:12:55] :	 [Step 2/3] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [08:12:55] :	 [Step 2/3] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [08:12:55] :	 [Step 2/3] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      [08:12:55] :	 [Step 2/3] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      [08:12:55] :	 [Step 2/3] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      [08:12:55] :	 [Step 2/3] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      [08:12:55] :	 [Step 2/3] 
      

        1. thread-dump.txt
          19 kB
          Flavia Rainone

              flaviarnn Flavia Rainone
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: