You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/06/03 23:33:34 UTC

Build failed in Jenkins: Maven TLP » maven-plugin-testing » MPLUGINTESTING-55 #5

See https://builds.apache.org/job/maven-box/job/maven-plugin-testing/job/MPLUGINTESTING-55/5/

Changes:

* [MNG-6573] Use Maven 3.6.0 as default
* H39 has weird issues, exclude it for now
* Fix no access to currentBuild.rawBuild
* fixed typo
* Include more recent JDKs

All tests passed

Build log:
[...truncated 15413 lines...]
[WS-CLEANUP] done
[Pipeline] cleanWs
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar (26 kB at 310 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar (315 kB at 3.4 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar (14 kB at 129 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar (4.7 kB at 43 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar (31 kB at 273 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar (20 kB at 159 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar (56 kB at 418 kB/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2\m\maven-plugin-testing-harness\target\classes
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[INFO] Compiling 15 source files to F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55\m\maven-plugin-testing-harness\target\classes
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven Plugin Testing 3.3.1-SNAPSHOT:
[INFO] 
[INFO] Maven Plugin Testing ............................... SUCCESS [ 43.428 s]
[INFO] Maven Plugin Testing Mechanism ..................... FAILURE [  8.034 s]
[INFO] Maven Testing Tools ................................ SKIPPED
[INFO] Maven Plugin Testing Tools ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  53.067 s
[INFO] Finished at: 2019-06-03T16:33:26-07:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it does not exist.
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2@tmp\withMaven46a9b4b8\maven-spy-20190603-163232-8047692934433499349522.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project maven-plugin-testing-harness: Compilation failure: Compilation failure: 
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-plugin-testing-harness
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] Publishers: Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] echo
[FAILURE-004] hudson.AbortException: script returned exit code 1
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
Using IT Plugin Jar: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55\m\maven-plugin-testing-tools\target\unit\projects\basic\target\it-build-target\maven-it-plugin-test.jar
Using target\it-build-target and target\it-build-target\classes to build IT version of plugin
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.879 s - in org.apache.maven.shared.test.plugin.ProjectToolTest
[INFO] Running org.apache.maven.shared.test.plugin.RepositoryToolTest
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk12
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 s - in org.apache.maven.shared.test.plugin.RepositoryToolTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ maven-plugin-testing-tools ---
[INFO] Building jar: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55\m\maven-plugin-testing-tools\target\maven-plugin-testing-tools-3.3.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-plugin-testing-tools ---
[INFO] /F:/jenkins/jenkins-slave/workspace/plugin-testing_MPLUGINTESTING-55/m/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java: Some input files use or override a deprecated API.
[INFO] /F:/jenkins/jenkins-slave/workspace/plugin-testing_MPLUGINTESTING-55/m/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ maven-plugin-testing-harness ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-plugin-testing-harness ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55\m\maven-plugin-testing-harness\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ maven-plugin-testing-harness ---
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.pom (9.3 kB at 444 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.pom
[INFO] There are 3 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
[ERROR] src\main\java\org\apache\maven\shared\test\plugin\ProjectTool.java:[243] (sizes) LineLength: Line is longer than 120 characters (found 203).
[ERROR] src\main\java\org\apache\maven\shared\test\plugin\ProjectTool.java:[266] (sizes) LineLength: Line is longer than 120 characters (found 125).
[ERROR] src\main\java\org\apache\maven\shared\test\plugin\ProjectTool.java:[272] (sizes) LineLength: Line is longer than 120 characters (found 125).
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven Plugin Testing 3.3.1-SNAPSHOT:
[INFO] 
[INFO] Maven Plugin Testing ............................... SUCCESS [ 17.558 s]
[INFO] Maven Plugin Testing Mechanism ..................... SUCCESS [ 21.133 s]
[INFO] Maven Testing Tools ................................ SUCCESS [  1.574 s]
[INFO] Maven Plugin Testing Tools ......................... FAILURE [ 23.135 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:05 min
[INFO] Finished at: 2019-06-03T23:33:29Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it does not exist.
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@tmp\withMaven21ff1a5c\maven-spy-20190603-233223-431108814040826151910.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-check) on project maven-plugin-testing-tools: You have 3 Checkstyle violations. -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-plugin-testing-tools
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@tmp\withMaven21ff1a5c\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@tmp\withMaven21ff1a5c" 
[Pipeline] }
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.pom (1.6 kB at 71 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.3/maven-plugin-tools-3.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.3/maven-plugin-tools-3.3.pom (13 kB at 703 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.pom (3.7 kB at 215 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.pom (2.0 kB at 118 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.pom (8.5 kB at 470 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom (3.3 kB at 209 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:3.3.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-plugin-testing-harness\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugin-testing:maven-test-tools:jar:3.3.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-test-tools\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:3.3.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-plugin-testing-tools\target\surefire-reports\*.xml
Recording test results
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar (14 kB at 107 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar (13 kB at 97 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar (315 kB at 2.0 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.20.1/surefire-api-2.20.1.jar (183 kB at 657 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar (38 kB at 122 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.20.1/surefire-booter-2.20.1.jar (268 kB at 515 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.20.1/maven-surefire-common-2.20.1.jar (509 kB at 640 kB/s)
[withMaven] Publishers: Pipeline Graph Publisher: 1 ms, Junit Publisher: 466 ms
[Pipeline] // withMaven
[Pipeline] echo
[FAILURE-004] hudson.AbortException: script returned exit code 1
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven Plugin Testing 3.3.1-SNAPSHOT:
[INFO] 
[INFO] Maven Plugin Testing ............................... SUCCESS [ 44.610 s]
[INFO] Maven Plugin Testing Mechanism ..................... FAILURE [ 12.844 s]
[INFO] Maven Testing Tools ................................ SKIPPED
[INFO] Maven Plugin Testing Tools ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  58.936 s
[INFO] Finished at: 2019-06-03T16:33:30-07:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it does not exist.
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@tmp\withMaven337f4b89\maven-spy-20190603-163231-40217960615016076236454.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project maven-plugin-testing-harness: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed. NullPointerException -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-plugin-testing-harness
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:3.3.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-plugin-testing-harness\target\surefire-reports\*.xml
Recording test results
[Pipeline] }
None of the test reports contained any result
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7
[withMaven] Publishers: Pipeline Graph Publisher: 1 ms, Junit Publisher: 38 ms
[Pipeline] // withMaven
[Pipeline] echo
[FAILURE-004] hudson.AbortException: script returned exit code 1
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11
[Pipeline] // parallel
[Pipeline] echo
[FAILURE-003] AbortException hudson.AbortException: script returned exit code 1
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] jiraComment
[Pipeline] emailext