Logs

Logs


Started by user admin
 > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-39c829b973330903a6b5f59e333f350b/.git # timeout=10
Setting origin to https://github.com/cosmicqbit/tweet-trend.git
 > git config remote.origin.url https://github.com/cosmicqbit/tweet-trend.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/dev
Seen branch in repository origin/main
Seen 2 remote branches
Obtained Jenkinsfile from 9cbcec7324782a1ba073bb1ed142b8df448719bd
[Pipeline] Start of Pipeline
[Pipeline] node
Running on maven-slave in /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential gh-cred
Fetching changes from the remote Git repository
Fetching without tags
Checking out Revision 9cbcec7324782a1ba073bb1ed142b8df448719bd (main)
 > git rev-parse --resolve-git-dir /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/.git # timeout=10
 > git config remote.origin.url https://github.com/cosmicqbit/tweet-trend.git # timeout=10
Fetching upstream changes from https://github.com/cosmicqbit/tweet-trend.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials 
 > git fetch --no-tags --force --progress -- https://github.com/cosmicqbit/tweet-trend.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9cbcec7324782a1ba073bb1ed142b8df448719bd # timeout=10
Commit message: "Update Jenkinsfile"
 > git rev-list --no-walk 9cbcec7324782a1ba073bb1ed142b8df448719bd # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] sh
+ mvn clean deploy
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< com.valaxy:demo-workshop >----------------------
[INFO] Building demo-workshop 2.1.2
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.1.0:clean (default-clean) @ demo-workshop ---
[INFO] Deleting /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target
[INFO] 
[INFO] --- jacoco:0.8.2:prepare-agent (default) @ demo-workshop ---
[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.1.0:resources (default-resources) @ demo-workshop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- compiler:3.8.1:compile (default-compile) @ demo-workshop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/classes
[INFO] 
[INFO] --- resources:3.1.0:testResources (default-testResources) @ demo-workshop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/src/test/resources
[INFO] 
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ demo-workshop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/test-classes
[INFO] 
[INFO] --- surefire:2.22.2:test (default-test) @ demo-workshop ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/surefire-reports/2023-11-04T08-46-41_395-jvmRun1.dumpstream
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.759 s
[INFO] Finished at: 2023-11-04T08:46:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project demo-workshop: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/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] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main && /usr/lib/jvm/java-17-openjdk-amd64/bin/java -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/jacoco.exec -Xmx2048m -jar /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/surefire/surefirebooter8946135797182530645.jar /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/surefire 2023-11-04T08-46-41_395-jvmRun1 surefire4178653506464248378tmp surefire_015588028061146510773tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[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/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main && /usr/lib/jvm/java-17-openjdk-amd64/bin/java -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/jacoco.exec -Xmx2048m -jar /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/surefire/surefirebooter8946135797182530645.jar /home/ubuntu/jenkins/workspace/_trend_multibranch_pipeline_main/target/surefire 2023-11-04T08-46-41_395-jvmRun1 surefire4178653506464248378tmp surefire_015588028061146510773tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR]  at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
[ERROR]  at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR]  at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR]  at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR]  at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR]  at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[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 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR]  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR]  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR]  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR]  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR]  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:283)
[ERROR]  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:226)
[ERROR]  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
[ERROR]  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
[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
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SonarQube analysis)
Stage "SonarQube analysis" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE


Report Page