Subject: Build java-jmh.x86_64-linux on master is broken

From: Maxim Cournoyer <[email-masked]>
Date: Mon, 04 Dec 2023 17:08:55 -0500

Hi,

[email-masked] (Cuirass) writes:

> <p>The build <b>java-jmh.x86_64-linux</b> for specification <b>master</b> is broken. You
> can find the detailed information about this build <a
> href="https://ci.guix.gnu.org/build/2737214/details">here</a>.</p>
>
> https://ci.guix.gnu.org/build/2737214/details

The failure reads:

--8<---------------cut here---------------start------------->8---
[INFO] Tests run: 336, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Java Microbenchmark Harness Parent 1.32:
[INFO] 
[INFO] Java Microbenchmark Harness Parent ................. SUCCESS [  0.351 s]
[INFO] JMH Core ........................................... SUCCESS [ 11.203 s]
[INFO] JMH Generators: Annotation Processors .............. SUCCESS [  0.593 s]
[INFO] JMH Core Integration Tests ......................... FAILURE [02:04 min]
[INFO] JMH Generators: Reflection ......................... SKIPPED
[INFO] JMH Generators: ASM ................................ SKIPPED
[INFO] JMH Core Compilation Tests ......................... SKIPPED
[INFO] JMH Core Benchmarks ................................ SKIPPED
[INFO] JMH Samples ........................................ SKIPPED
[INFO] JMH Generators: Bytecode ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:16 min
[INFO] Finished at: 2023-12-02T21:36:26Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project jmh-core-it: There are test failures.
[ERROR] 
[ERROR] Please refer to /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c cd /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it && /gnu/store/0r9i1q0b5b65vrbv7chazkq9zs7xhh8r-icedtea-3.19.0-jdk/jre/bin/java -Djmh.ignoreLock=true -Xms256m -Xmx256m -Djmh.core.it.profile=default -jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire/surefirebooter924400517238084667.jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire 2023-12-02T21-34-15_146-jvmRun53 surefire5253079157817046897tmp surefire_817097569479494821207tmp
[ERROR] Process Exit Code: 0
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c cd /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it && /gnu/store/0r9i1q0b5b65vrbv7chazkq9zs7xhh8r-icedtea-3.19.0-jdk/jre/bin/java -Djmh.ignoreLock=true -Xms256m -Xmx256m -Djmh.core.it.profile=default -jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire/surefirebooter924400517238084667.jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire 2023-12-02T21-34-15_146-jvmRun53 surefire5253079157817046897tmp surefire_817097569479494821207tmp
[ERROR] Process Exit Code: 0
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(Unknown Source)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Unknown Source)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(Unknown Source)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(Unknown Source)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(Unknown Source)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(Unknown Source)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(Unknown Source)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(Unknown Source)
[ERROR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Unknown Source)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Unknown Source)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Unknown Source)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Unknown Source)
[ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c cd /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it && /gnu/store/0r9i1q0b5b65vrbv7chazkq9zs7xhh8r-icedtea-3.19.0-jdk/jre/bin/java -Djmh.ignoreLock=true -Xms256m -Xmx256m -Djmh.core.it.profile=default -jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire/surefirebooter924400517238084667.jar /tmp/guix-build-java-jmh-1.32.drv-0/source/jmh-core-it/target/surefire 2023-12-02T21-34-15_146-jvmRun53 surefire5253079157817046897tmp surefire_817097569479494821207tmp
[ERROR] Process Exit Code: 0
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(Unknown Source)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(Unknown Source)
[ERROR] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[ERROR] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[ERROR] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[ERROR] 	at java.lang.Thread.run(Thread.java:748)
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jmh-core-it
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "mvn" arguments: ("package" "-o" "-Duser.home=/tmp/guix-build-java-jmh-1.32.drv-0/source/build-home") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 138.0 seconds
command "mvn" "package" "-o" "-Duser.home=/tmp/guix-build-java-jmh-1.32.drv-0/source/build-home" failed with status 1
builder for `/gnu/store/flf219dlipcya172adq973rjxkfgjm77-java-jmh-1.32.drv' failed with exit code 1
@ build-failed /gnu/store/flf219dlipcya172adq973rjxkfgjm77-java-jmh-1.32.drv - 1 builder for `/gnu/store/flf219dlipcya172adq973rjxkfgjm77-java-jmh-1.32.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

It should be reported upstream and disabled in the meantime.

-- 
Thanks,
Maxim