maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Maven TLP » maven-surefire » SUREFIRE-1534 #3
Date Tue, 22 Jan 2019 06:09:46 GMT
See https://builds.apache.org/job/maven-box/job/maven-surefire/job/SUREFIRE-1534/3/

Changes:

* IT
* IT
* IT
* IT
* IT
* IT
* IT
* IT

1 tests failed.
FAILED:  org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT.testExecuteWithZeroForkCountWithJavaModule

Error Message:
Did not find expected message in log

Stack Trace:
junit.framework.AssertionFailedError: Did not find expected message in log
	at org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT.testExecuteWithZeroForkCountWithJavaModule(Surefire1534ReuseForksFalseWithJavaModuleIT.java:69)




Build log:
[...truncated 22613 lines...]
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :surefire-its
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] fileExists
[Pipeline] zip
Writing zip file of /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/maven-failsafe-plugin/target/it
to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/maven-failsafe-plugin--linux-jdk11-maven3.6.x.zip
Zipped 78 entries.
Archiving /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/maven-failsafe-plugin--linux-jdk11-maven3.6.x.zip
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[Pipeline] fileExists
[Pipeline] zip
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ surefire-its ---
[INFO] Surefire report directory: /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/surefire-reports
[INFO] Using configured provider org.apache.maven.shadefire.surefire.junit.JUnit3Provider
[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false,
threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Writing zip file of /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/surefire-its/target
to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/surefire-its--linux-jdk11-maven3.6.x.zip
[INFO] Running org.apache.maven.surefire.its.fixture.JUnit4SuiteTest
[WARNING] System property already exists '-DskipTests'. Overriding to '-DskipTests'.
[WARNING] System property already exists '-Dx=a'. Overriding to '-Dx=b'.
Using JAVA_HOME=/usr/local/asfpackages/java/openjdk-12-ea+28 in forked launcher.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 s - in org.apache.maven.surefire.its.fixture.JUnit4SuiteTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ surefire-its ---
Zipped 1904 entries.
Archiving /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@3/surefire-its--linux-jdk11-maven3.6.x.zip
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[INFO] Building jar: /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/surefire-its-3.0.0-M4-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ surefire-its ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent-integration (jacoco-agent-it) @ surefire-its
---
[INFO] jacoco-it.agent set to -javaagent:/home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/.m2/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/jacoco-it.exec,append=true,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,inclnolocationclasses=true,jmx=false
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0-M3:integration-test (default) @ surefire-its ---
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.pom
(7.3 kB at 429 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.pom
(2.4 kB at 170 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.pom
(2.6 kB at 220 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.jar
(22 kB at 939 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.jar
(40 kB at 1.7 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.jar
(93 kB at 2.9 MB/s)
[Pipeline] archiveArtifacts
[INFO] Failsafe report directory: /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/failsafe-reports
[INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
[INFO] parallel='none', perCoreThreadCount=false, threadCount=1, useUnlimitedThreads=false,
threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT
Using JAVA_HOME=/usr/local/asfpackages/java/openjdk-12-ea+28 in forked launcher.
Archiving artifacts
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.892 s <<<
FAILURE! - in org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT
[ERROR] testExecuteWithZeroForkCountWithJavaModule(org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT)
 Time elapsed: 4.156 s  <<< FAILURE!
junit.framework.AssertionFailedError: Did not find expected message in log
	at org.apache.maven.surefire.its.jiras.Surefire1534ReuseForksFalseWithJavaModuleIT.testExecuteWithZeroForkCountWithJavaModule(Surefire1534ReuseForksFalseWithJavaModuleIT.java:69)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   Surefire1534ReuseForksFalseWithJavaModuleIT.testExecuteWithZeroForkCountWithJavaModule:69
Did not find expected message in log
[INFO] 
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ surefire-its ---
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0-M3:verify (default) @ surefire-its ---
[INFO] Failsafe report directory: /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven Surefire 3.0.0-M4-SNAPSHOT:
[INFO] 
[INFO] Apache Maven Surefire .............................. SUCCESS [ 17.731 s]
[INFO] SureFire Logger API ................................ SUCCESS [  3.798 s]
[INFO] SureFire API ....................................... SUCCESS [ 10.383 s]
[INFO] SureFire Booter .................................... SUCCESS [ 12.821 s]
[INFO] Maven Surefire Test-Grouping Support ............... SUCCESS [  5.522 s]
[INFO] SureFire Providers ................................. SUCCESS [  0.911 s]
[INFO] Shared JUnit3 Provider Code ........................ SUCCESS [  3.729 s]
[INFO] Shared Java 5 Provider Base ........................ SUCCESS [  4.425 s]
[INFO] Shared JUnit4 Provider Code ........................ SUCCESS [  4.644 s]
[INFO] Shared JUnit48 Provider Code ....................... SUCCESS [  5.182 s]
[INFO] SureFire JUnit Runner .............................. SUCCESS [  3.950 s]
[INFO] SureFire JUnit4 Runner ............................. SUCCESS [ 33.877 s]
[INFO] Maven Surefire Common .............................. SUCCESS [ 28.324 s]
[INFO] SureFire JUnitCore Runner .......................... SUCCESS [02:20 min]
[INFO] SureFire JUnit Platform Runner ..................... SUCCESS [  7.630 s]
[INFO] SureFire TestNG Utils .............................. SUCCESS [  4.286 s]
[INFO] SureFire TestNG Runner ............................. SUCCESS [  4.761 s]
[INFO] ShadeFire JUnit3 Provider .......................... SUCCESS [  1.380 s]
[INFO] Surefire Report Parser ............................. SUCCESS [  5.472 s]
[INFO] Maven Surefire Plugin .............................. SUCCESS [  9.503 s]
[INFO] Maven Failsafe Plugin .............................. SUCCESS [ 48.645 s]
[INFO] Maven Surefire Report Plugin ....................... SUCCESS [ 13.007 s]
[INFO] Maven Surefire Integration Tests ................... FAILURE [ 22.302 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:34 min
[INFO] Finished at: 2019-01-22T06:09:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:verify
(default) on project surefire-its: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/failsafe-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] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:verify
(default) on project surefire-its: There are test failures.

Please refer to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/failsafe-reports
for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    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:305)
    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:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target/failsafe-reports
for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)
    at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:192)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    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:305)
    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:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :surefire-its
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] openTasks
[TASKS] Skipping publisher since build result is FAILURE
[Pipeline] jacoco
[Pipeline] junit
Recording test results
[Pipeline] fileExists
[Pipeline] zip
Writing zip file of /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/maven-failsafe-plugin/target/it
to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/maven-failsafe-plugin--linux-jdk12-maven3.6.x.zip
Zipped 78 entries.
Archiving /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/maven-failsafe-plugin--linux-jdk12-maven3.6.x.zip
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[Pipeline] fileExists
[Pipeline] zip
Writing zip file of /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its/target
to /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its--linux-jdk12-maven3.6.x.zip
Zipped 1905 entries.
Archiving /home/jenkins/jenkins-slave/workspace/box_maven-surefire_SUREFIRE-1534@2/surefire-its--linux-jdk12-maven3.6.x.zip
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[Pipeline] archiveArtifacts
Archiving artifacts
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message