Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude TriggersTest #1359

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Exclude TriggersTest #1359

merged 1 commit into from
Jul 29, 2022

Conversation

basil
Copy link
Member

@basil basil commented Jul 29, 2022

Observed several times recently, for example in

The full error is below. The test seems to be running out of memory. I don't have the time to investigate further right now, but since this is destabilizing our builds/releases like #1355 I think it is worth excluding it for now. If accepted, I plan to file an issue to track the memory investigation and re-enabling of this test. Note that I don't think PCT is failing the build because of this as of its current version but it definitely is as of jenkinsci/plugin-compat-tester#348. Also note that all the other tests are still executing, it is just one particular test that runs out of memory.

------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time:  08:49 min
Finished at: 2022-07-29T08:01:51Z
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-cli) on project pipeline-model-definition: There are test failures.

Please refer to /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition && /opt/java/openjdk/bin/java -Djava.awt.headless=true -Xmx4g -Xms512m -XX:MaxPermSize=512m -jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire/surefirebooter15756826301002918472.jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire 2022-07-29T07-53-10_091-jvmRun2 surefire10179010688858601481tmp surefire_09079215179289465365tmp
Error occurred in starting fork, check output in log
Process Exit Code: 137
Crashed tests:
org.jenkinsci.plugins.pipeline.modeldefinition.TriggersTest
org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition && /opt/java/openjdk/bin/java -Djava.awt.headless=true -Xmx4g -Xms512m -XX:MaxPermSize=512m -jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire/surefirebooter15756826301002918472.jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire 2022-07-29T07-53-10_091-jvmRun2 surefire10179010688858601481tmp surefire_09079215179289465365tmp
Error occurred in starting fork, check output in log
Process Exit Code: 137
Crashed tests:
org.jenkinsci.plugins.pipeline.modeldefinition.TriggersTest
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:513)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:385)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:300)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:249)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1217)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1063)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:889)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370)
	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:351)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition && /opt/java/openjdk/bin/java -Djava.awt.headless=true -Xmx4g -Xms512m -XX:MaxPermSize=512m -jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire/surefirebooter15756826301002918472.jar /home/jenkins/workspace/Tools_bom_PR-1337/pct-work/pipeline-model-definition/pipeline-model-definition/target/surefire 2022-07-29T07-53-10_091-jvmRun2 surefire10179010688858601481tmp surefire_09079215179289465365tmp
Error occurred in starting fork, check output in log
Process Exit Code: 137
Crashed tests:
org.jenkinsci.plugins.pipeline.modeldefinition.TriggersTest
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:690)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:118)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:374)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:350)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-cli) on project pipeline-model-definition: There are test failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant