apm-agent-java
apm-agent-java copied to clipboard
GrpcAppTest test
Test method
co.elastic.apm.agent.grpc.latest.testapp.GrpcAppTest
Test logs
[2021-11-09T13:55:12.318Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project apm-grpc-test-latest: There are test failures.
[2021-11-09T13:55:12.318Z] [ERROR]
[2021-11-09T13:55:12.318Z] [ERROR] Please refer to /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/surefire-reports for the individual test results.
[2021-11-09T13:55:12.318Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2021-11-09T13:55:12.318Z] [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[2021-11-09T13:55:12.318Z] [ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest && /var/lib/jenkins/.java/oracle-11.0.12+8-linux/bin/java '-javaagent:/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/.m2/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/jacoco.exec,excludes=**/*.esclazz' -jar /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/surefire/surefirebooter8263872225266719204.jar /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/surefire 2021-11-09T12-42-24_831-jvmRun1 surefire6236996912355330736tmp surefire_21334176698458588447tmp
[2021-11-09T13:55:12.319Z] [ERROR] Error occurred in starting fork, check output in log
[2021-11-09T13:55:12.319Z] [ERROR] Process Exit Code: 143
[2021-11-09T13:55:12.319Z] [ERROR] Crashed tests:
[2021-11-09T13:55:12.319Z] [ERROR] co.elastic.apm.agent.grpc.latest.testapp.GrpcAppTest
[2021-11-09T13:55:12.319Z] [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[2021-11-09T13:55:12.319Z] [ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest && /var/lib/jenkins/.java/oracle-11.0.12+8-linux/bin/java '-javaagent:/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/.m2/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/jacoco.exec,excludes=**/*.esclazz' -jar /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/surefire/surefirebooter8263872225266719204.jar /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-grpc/apm-grpc-test-latest/target/surefire 2021-11-09T12-42-24_831-jvmRun1 surefire6236996912355330736tmp surefire_21334176698458588447tmp
[2021-11-09T13:55:12.319Z] [ERROR] Error occurred in starting fork, check output in log
[2021-11-09T13:55:12.319Z] [ERROR] Process Exit Code: 143
[2021-11-09T13:55:12.319Z] [ERROR] Crashed tests:
[2021-11-09T13:55:12.319Z] [ERROR] co.elastic.apm.agent.grpc.latest.testapp.GrpcAppTest
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[2021-11-09T13:55:12.319Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2021-11-09T13:55:12.320Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[2021-11-09T13:55:12.320Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[2021-11-09T13:55:12.320Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[2021-11-09T13:55:12.320Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-09T13:55:12.320Z] [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122)
[2021-11-09T13:55:12.320Z] [ERROR] at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55)
[2021-11-09T13:55:12.320Z] [ERROR] -> [Help 1]
[2021-11-09T13:55:12.320Z] [ERROR]
[2021-11-09T13:55:12.320Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2021-11-09T13:55:12.321Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2021-11-09T13:55:12.321Z] [ERROR]
[2021-11-09T13:55:12.321Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2021-11-09T13:55:12.321Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2021-11-09T13:55:12.321Z] [ERROR]
[2021-11-09T13:55:12.321Z] [ERROR] After correcting the problems, you can resume the build with the command
[2021-11-09T13:55:12.321Z] [ERROR] mvn <args> -rf :apm-grpc-test-latest
[2021-11-09T13:55:12.327Z] script returned exit code 1
Additional log entries
Quite a bit more context is in the log.
https://apm-ci.elastic.co/blue/organizations/jenkins/apm-agent-java%2Fapm-agent-java-mbp/detail/master/1184/pipeline/151