See
https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/MDEP-635/6/
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 6293 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
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@2@tmp\withMaven4fd634a2\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@2@tmp\withMaven4fd634a2"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] There is 1 error reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 46, Failed: 8, Errors: 0, Skipped: 5
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * analyze-ignore-dependency\pom.xml
[ERROR] * analyze-ignore-unused-declared-dependency\pom.xml
[ERROR] * analyze-ignore-used-undeclared-dependency\pom.xml
[ERROR] * analyze-multimodule-project\pom.xml
[ERROR] * analyze-report\pom.xml
[ERROR] * analyze\pom.xml
[ERROR] * mdep-439-analyze-java8\pom.xml
[ERROR] * used-dependencies\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:22 min
[INFO] Finished at: 2019-01-20T14:23:18Z
[INFO] Final Memory: 68M/1160M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMaven68901cad\maven-spy-20190120-135855-224203462099922085924.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-dependency-plugin: 8 builds failed. See console output above
for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-dependency-plugin: 8 builds failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
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:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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: 8 builds failed. See
console output above for details.
at org.apache.maven.plugins.invoker.InvokerSession.handleFailures
(InvokerSession.java:260)
at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
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:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
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
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMaven68901cad\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMaven68901cad"
[Pipeline] }
[Pipeline] // dir
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in
source directory windows-jdk7-m3.5.x_build\src\main\java
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@2' for
files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 48 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] Publishers: Generated Artifacts Publisher: 29 ms, Junit Publisher:
1641 ms, Open Task Scanner Publisher: 183 ms, Dependencies Fingerprint
Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in
source directory windows-jdk8-m3.5.x_build\src\main\java
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2' for
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 48 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[withMaven] Publishers: Generated Artifacts Publisher: 19 ms, Junit Publisher:
1366 ms, Open Task Scanner Publisher: 168 ms, Dependencies Fingerprint
Publisher: 1 ms
[Pipeline] }
[Pipeline] // ws
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] cleanWs
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
[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] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[INFO] run post-build script verify.bsh
[INFO] purge-local-repository-version-range\pom.xml ..... SUCCESS
(928.2 s)
[INFO] Building: resolve\pom.xml
[INFO] resolve\pom.xml .................................. SUCCESS
(26.9 s)
[INFO] Building: resolve-plugins\pom.xml
[INFO] resolve-plugins\pom.xml .......................... SUCCESS
(8.0 s)
[INFO] Building: resolve-plugins-exclude-reactor\pom.xml
[INFO] run post-build script verify.groovy
[INFO] resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS
(7.1 s)
[INFO] Building: resolve-plugins-with-exclude\pom.xml
[INFO] run post-build script verify.groovy
[INFO] resolve-plugins-with-exclude\pom.xml ............. SUCCESS
(4.6 s)
[INFO] Building: sources\pom.xml
[INFO] sources\pom.xml .................................. SUCCESS
(4.5 s)
[INFO] Building: tree\pom.xml
[INFO] tree\pom.xml ..................................... SKIPPED due
to Maven version
[INFO] Building: tree-includes\pom.xml
[INFO] run post-build script verify.bsh
[INFO] tree-includes\pom.xml ............................ SUCCESS
(4.0 s)
[INFO] Building: tree-multimodule\pom.xml
[INFO] run post-build script verify.bsh
[INFO] tree-multimodule\pom.xml ......................... SUCCESS
(3.4 s)
[INFO] Building: unpack\pom.xml
[INFO] run post-build script verify.bsh
[INFO] unpack\pom.xml ................................... SUCCESS
(6.1 s)
[INFO] Building: unpack-cli\pom.xml
[INFO] run post-build script verify.bsh
[INFO] unpack-cli\pom.xml ............................... SUCCESS
(5.8 s)
[INFO] Building: unpack-custom-ear\pom.xml
[INFO] run post-build script verify.groovy
[INFO] unpack-custom-ear\pom.xml ........................ SUCCESS
(7.7 s)
[INFO] Building: unpack-dependencies\pom.xml
[INFO] run post-build script verify.groovy
[INFO] unpack-dependencies\pom.xml ...................... SUCCESS
(51.6 s)
[INFO] Building: unpack-dependencies-with-filemappers\pom.xml
[INFO] run post-build script verify.groovy
[INFO] unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS
(45.5 s)
[INFO] Building: unpack-from-remote-repository\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] unpack-from-remote-repository\pom.xml ............ SUCCESS
(38.4 s)
[INFO] Building: used-dependencies\pom.xml
[INFO] used-dependencies\pom.xml ........................ SUCCESS
(37.8 s)
[INFO] Building: purge-local-repository-without-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] purge-local-repository-without-pom ............... SUCCESS
(24.3 s)
[INFO]
[INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:51855
[INFO] Mock Repository Manager http://localhost:51855 is stopped.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-dependency-plugin ---
[INFO] There is 1 error reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 58, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:49 min
[INFO] Finished at: 2019-01-20T14:39:27Z
[INFO] Final Memory: 50M/174M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@2@tmp\withMaven4ff49676\maven-spy-20190120-140436-3416248919011513472832.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\pom.xml under
org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\target\maven-dependency-plugin-3.1.2-SNAPSHOT.jar
under
org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in
source directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@2' for
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 48 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 1096 ms, Junit
Publisher: 10004 ms, Open Task Scanner Publisher: 763 ms, Pipeline Graph
Publisher: 10 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext