Skip to content

Conversation

@ebyhr
Copy link
Member

@ebyhr ebyhr commented Sep 3, 2025

Description

Hopefully fixes #23596

Testcontainer's initialization failure on static fields leaves unfriendly error messages.
https://github.com/trinodb/trino/actions/runs/17448082907/job/49547203451?pr=25795

Error:  Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project trino-filesystem-alluxio: 
Error:  
Error:  See /home/runner/work/trino/trino/lib/trino-filesystem-alluxio/target/surefire-reports for the individual test results.
Error:  See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
Error:  The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Error:  Command was /bin/sh -c cd '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio' && '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/24.0.2-12/x64/bin/java' '-Duser.language=en' '-Duser.region=US' '-Dfile.encoding=UTF-8' '-Xmx3g' '-Xms3g' '-XX:+ExitOnOutOfMemoryError' '-XX:+HeapDumpOnOutOfMemoryError' '-XX:-OmitStackTraceInFastThrow' '-XX:G1HeapRegionSize=32M' '-XX:+UnlockDiagnosticVMOptions' '-XX:+EnableDynamicAgentLoading' '--add-modules=jdk.incubator.vector' '-jar' '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio/target/surefire/surefirebooter-20250903225825454_41.jar' '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio/target/surefire' '2025-09-03T22-56-20_047-jvmRun1' 'surefire-20250903225825454_39tmp' 'surefire_5-20250903225825454_40tmp'
Error:  Error occurred in starting fork, check output in log
Error:  Process Exit Code: 1
Error:  org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Error:  Command was /bin/sh -c cd '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio' && '/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/24.0.2-12/x64/bin/java' '-Duser.language=en' '-Duser.region=US' '-Dfile.encoding=UTF-8' '-Xmx3g' '-Xms3g' '-XX:+ExitOnOutOfMemoryError' '-XX:+HeapDumpOnOutOfMemoryError' '-XX:-OmitStackTraceInFastThrow' '-XX:G1HeapRegionSize=32M' '-XX:+UnlockDiagnosticVMOptions' '-XX:+EnableDynamicAgentLoading' '--add-modules=jdk.incubator.vector' '-jar' '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio/target/surefire/surefirebooter-20250903225825454_41.jar' '/home/runner/work/trino/trino/lib/trino-filesystem-alluxio/target/surefire' '2025-09-03T22-56-20_047-jvmRun1' 'surefire-20250903225825454_39tmp' 'surefire_5-20250903225825454_40tmp'
Error:  Error occurred in starting fork, check output in log
Error:  Process Exit Code: 1
Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
Error:  	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
Error:  	at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
Error:  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
Error:  	at io.takari.maven.builder.smart.SmartBuilderImpl.buildProject(SmartBuilderImpl.java:206)
Error:  	at io.takari.maven.builder.smart.SmartBuilderImpl$ProjectBuildTask.run(SmartBuilderImpl.java:71)
Error:  	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
Error:  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
Error:  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
Error:  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
Error:  	at java.base/java.lang.Thread.run(Thread.java:1447)
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 :trino-filesystem-alluxio
Error: Process completed with exit code 1.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Sep 3, 2025
@ebyhr ebyhr merged commit 1f24764 into trinodb:master Sep 4, 2025
40 of 41 checks passed
@ebyhr ebyhr deleted the ebi/alluxio-test branch September 4, 2025 00:13
@github-actions github-actions bot added this to the 477 milestone Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Flaky test TestAlluxioFileSystem and TestAlluxioFileSystemExchangeManager

2 participants