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 2020/11/10 02:58:19 UTC

Build failed in Jenkins: Maven » Maven TLP » maven-dependency-plugin » MDEP-644 #7

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-dependency-plugin/job/MDEP-644/7/

Changes:

* Add Java 16 to available runtimes
* Added JDK 16 for Windows
* Java 16-ea has not been installed on the Windows Jenkins hosts yet.
* Update to new tool names
* Names are all lowercase
* Still no Maven 3.6.3 available on Windows
* introduce optional tmpWs for Windows to prevent long path failures
* fix }
* don't pick up tmpWs from a context
* Revert "don't pick up tmpWs from a context"
* Spaces instead of tabs
* introduce optional tmpWs
* pwd() doesn't seem to work on slaves?
* Using $WORKSPACE instead of env.WORKSPACE as this could behave inconsistent when used on parallel nodes.
* Attempting to get the right workspace directory in parallel nodes using a withEnv block.
* Attempting to get the right workspace directory in parallel nodes using a withEnv block. fix; envs should be prefixed with the `env.` prefix.
* Using !isUnix() to check whether the node is running Windows or not
* Shorten the windows filepath even further
* Restored the full default jdk matrix including the current and ea version
* Restored the full maven version matrix default
* remove debug-flag

All tests passed

Build log:
[...truncated 11283 lines...]
    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:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:259)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:140)
    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:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[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\712657a4\workspace\maven-dependency-plugin_MDEP-644@2@tmp\withMaven7b6be576\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\maven-dependency-plugin_MDEP-644@2@tmp\withMaven7b6be576" 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk8-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] run post-build script verify.bsh
[INFO]           tree-verbose\pom.xml ............................. SUCCESS (7.3 s)
[INFO] Building: tree-verbose-multimodule\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 54 ms, Junit Publisher: 2945 ms, Open Task Scanner Publisher: 232 ms, Dependencies Fingerprint Publisher: 54 ms, Invoker Publisher: 33483 ms
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT in source directory windows-jdk8-m3.6.x_build\src\main\java
[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] }
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\maven-dependency-plugin_MDEP-644@2' for files matching the pattern 'windows-jdk8-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 59 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #1
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT(version: 3.1.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.bsh
[INFO]   The post-build script did not succeed. Unexpected module-b dependency tree
[INFO]           tree-verbose-multimodule\pom.xml ................. FAILED (4.8 s)
[INFO] Building: tree-verbose-small\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           tree-verbose-small\pom.xml ....................... SUCCESS (4.6 s)
[INFO] Building: unpack\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack\pom.xml ................................... SUCCESS (5.2 s)
[INFO] Building: unpack-cli\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack-cli\pom.xml ............................... SUCCESS (4.1 s)
[INFO] Building: unpack-custom-ear\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-custom-ear\pom.xml ........................ SUCCESS (4.8 s)
[INFO] Building: unpack-dependencies\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 53 ms, Junit Publisher: 2873 ms, Open Task Scanner Publisher: 1184 ms, Dependencies Fingerprint Publisher: 179 ms, Invoker Publisher: 24350 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] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies\pom.xml ...................... SUCCESS (6.5 s)
[INFO] Building: unpack-dependencies-with-filemappers\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS (5.8 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 (5.7 s)
[INFO] Building: used-dependencies\pom.xml
[INFO]           used-dependencies\pom.xml ........................ SUCCESS (4.8 s)
[INFO] Building: purge-local-repository-without-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.groovy
[INFO]           purge-local-repository-without-pom ............... SUCCESS (4.3 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:60790
[INFO] Stopped SocketConnector@0.0.0.0:60790
[INFO] Mock Repository Manager http://localhost:60790 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.2.1:verify (integration-test) @ maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 59, Failed: 1, Errors: 0, Skipped: 6
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  tree-verbose-multimodule\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:59 min
[INFO] Finished at: 2020-11-09T18:57:42-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\maven-dependency-plugin_MDEP-644@2@tmp\withMavenb62282ae\maven-spy-20201109-185043-1901266966959507227384.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify (integration-test) on project maven-dependency-plugin: 1 build 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.2.1:verify (integration-test) on project maven-dependency-plugin: 1 build failed. See console output above for details.
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:259)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:140)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[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\712657a4\workspace\maven-dependency-plugin_MDEP-644@2@tmp\withMavenb62282ae\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\maven-dependency-plugin_MDEP-644@2@tmp\withMavenb62282ae" 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk7-m3.6.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.3-SNAPSHOT in source directory windows-jdk7-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\maven-dependency-plugin_MDEP-644@2' for files matching the pattern 'windows-jdk7-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 59 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #1
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT(version: 3.1.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk7-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 54 ms, Junit Publisher: 3388 ms, Open Task Scanner Publisher: 226 ms, Dependencies Fingerprint Publisher: 55 ms, Invoker Publisher: 31565 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] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [mthmulders, martinkanters, rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext