See https://builds.apache.org/job/maven-box/job/maven-plugin-testing/job/MPLUGINTESTING-55/23/
Changes: * Add JDK 13 (latest) * INFRA-17514, lock to 1 Windows node * Cause found, back to all Windows nodes * Add support for Maven 3.6.x/3.6.0 * INFRA-17514 testing if this invoker keeps locks on the files. * INFRA-17514 disable invokerPublisher() This is the root cause for the All tests passed Build log: [...truncated 11862 lines...] [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] 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 246 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-api/2.20.1/surefire-api-2.20.1.jar (183 kB at 3.0 MB/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/org/apache/maven/surefire/surefire-logger-api/2.20.1/surefire-logger-api-2.20.1.jar (13 kB at 206 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 6.4 MB/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 3.3 MB/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 423 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.jar (315 kB at 3.5 MB/s) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Maven Plugin Testing ............................... SUCCESS [ 30.988 s] [INFO] Maven Plugin Testing Mechanism ..................... FAILURE [ 9.707 s] [INFO] Maven Testing Tools ................................ SKIPPED [INFO] Maven Plugin Testing Tools ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42.199 s [INFO] Finished at: 2019-01-20T15:32:24Z [INFO] Final Memory: 35M/124M [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\withMavenefa7b338\maven-spy-20190120-153142-2754530106713367906703.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] } Using target\it-build-target and target\it-build-target\classes to build IT version of plugin Now Building test version of the plugin... Using staged plugin-pom: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2\m\maven-plugin-testing-tools\target\unit\projects\basic\pom-test.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 Recording test results [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 Recording test results None of the test reports contained any result None of the test reports contained any result [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 [withMaven] Publishers: Pipeline Graph Publisher: 1 ms, Junit Publisher: 25 ms [Pipeline] // withMaven [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 [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:3.3.1-SNAPSHOT in source directory m/maven-plugin-testing-harness/src/main/java [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugin-testing:maven-test-tools:jar:3.3.1-SNAPSHOT in source directory m/maven-test-tools/src/main/java [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:3.3.1-SNAPSHOT in source directory m/maven-plugin-testing-tools/src/main/java [TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/plugin-testing_MPLUGINTESTING-55' for files matching the pattern 'm/maven-plugin-testing-harness/src/main/java/**/*,m/maven-test-tools/src/main/java/**/*,m/maven-plugin-testing-tools/src/main/java/**/*' - excludes: null [TASKS] Found 25 files to scan for tasks [TASKS] Found 13 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [withMaven] Publishers: Pipeline Graph Publisher: 3 ms, Generated Artifacts Publisher: 2852 ms, Junit Publisher: 5161 ms, Open Task Scanner Publisher: 1766 ms [Pipeline] // withMaven [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 linux-jdk7 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 Now Building test version of the plugin... Using staged plugin-pom: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55\m\maven-plugin-testing-tools\target\unit\projects\basic\pom-test.xml Using IT Plugin Jar: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2\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 Now Building test version of the plugin... Using staged plugin-pom: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2\m\maven-plugin-testing-tools\target\unit\projects\basic\pom-test.xml Using IT Plugin Jar: F:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2\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.479 s - in org.apache.maven.shared.test.plugin.ProjectToolTest [INFO] Running org.apache.maven.shared.test.plugin.RepositoryToolTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 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@2\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 --- 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: 21.713 s - in org.apache.maven.shared.test.plugin.ProjectToolTest [INFO] Running org.apache.maven.shared.test.plugin.RepositoryToolTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 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] 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: [INFO] [INFO] Maven Plugin Testing ............................... SUCCESS [ 28.484 s] [INFO] Maven Plugin Testing Mechanism ..................... SUCCESS [ 18.944 s] [INFO] Maven Testing Tools ................................ SUCCESS [ 1.718 s] [INFO] Maven Plugin Testing Tools ......................... FAILURE [ 23.572 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:14 min [INFO] Finished at: 2019-01-20T15:32:42Z [INFO] Final Memory: 42M/479M [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\withMavenb7c0d040\maven-spy-20190120-153127-2315260070185679490862.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@2@tmp\withMavenb7c0d040\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@2@tmp\withMavenb7c0d040" [Pipeline] } [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: [INFO] [INFO] Maven Plugin Testing ............................... SUCCESS [ 33.330 s] [INFO] Maven Plugin Testing Mechanism ..................... SUCCESS [ 22.686 s] [INFO] Maven Testing Tools ................................ SUCCESS [ 2.087 s] [INFO] Maven Plugin Testing Tools ......................... FAILURE [ 28.313 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:28 min [INFO] Finished at: 2019-01-20T15:32:43Z [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 Recording test results [INFO] Final Memory: 37M/335M [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\withMaven6423ef6f\maven-spy-20190120-153114-5324949777732607486370.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\withMaven6423ef6f\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\plugin-testing_MPLUGINTESTING-55@tmp\withMaven6423ef6f" [Pipeline] } [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 Recording test results [Pipeline] // dir None of the test reports contained any result [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 [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 Recording test results [withMaven] Publishers: Pipeline Graph Publisher: 3 ms, Junit Publisher: 570 ms [Pipeline] // withMaven [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 Recording test results [Pipeline] cleanWs None of the test reports contained any result [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 [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-jdk8 [withMaven] Publishers: Pipeline Graph Publisher: 2 ms, Junit Publisher: 582 ms [Pipeline] // withMaven [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-jdk7 [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext