See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-shade-plugin/job/dependabot%252Fmaven%252FasmVersion-9.0/2/
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. * 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 All tests passed Build log: [...truncated 318109 lines...] [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated /home/jenkins/workspace/_dependabot_maven_asmVersion-9.0@2@tmp/withMaven8a137358/maven-spy-20201007-100644-3563270730783283697179.log [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [Pipeline] } [Pipeline] } [WS-CLEANUP] done [Pipeline] // dir [Pipeline] // dir [Pipeline] } [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] } [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT in source directory linux-jdk8-m3.6.x_build/src/main/java [Pipeline] // ws [Pipeline] } [Pipeline] // node [TASKS] Scanning folder '/home/jenkins/h49-shared/712657a4/workspace/_dependabot_maven_asmVersion-9.0@2' for files matching the pattern 'linux-jdk8-m3.6.x_build/src/main/java/**/*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #1 [Pipeline] } [withMaven] artifactsPublisher - Archive artifact linux-jdk7-m3.6.x_build/pom.xml under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact linux-jdk15-m3.6.x_build/pom.xml under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact linux-jdk7-m3.6.x_build/target/maven-shade-plugin-3.3.0-SNAPSHOT.jar under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT.jar [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT(version: 3.3.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: linux-jdk8-m3.6.x_build/target/invoker-reports/*.xml [INFO] reloc-anno/pom.xml ............................... SUCCESS (4.1 s) [INFO] [INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-shade-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:46145 [INFO] Stopped SocketConnector@0.0.0.0:46145 [INFO] Mock Repository Manager http://localhost:46145 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-shade-plugin --- [withMaven] artifactsPublisher - Archive artifact linux-jdk7-m3.6.x_build/target/maven-shade-plugin-3.3.0-SNAPSHOT-tests.jar under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT-tests.jar [withMaven] artifactsPublisher - Archive artifact linux-jdk15-m3.6.x_build/target/maven-shade-plugin-3.3.0-SNAPSHOT.jar under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT.jar [Fast Archiver] Compressed 212.00 KB of artifacts by 90.6% relative to #1 [withMaven] artifactsPublisher - Archive artifact linux-jdk15-m3.6.x_build/target/maven-shade-plugin-3.3.0-SNAPSHOT-tests.jar under org/apache/maven/plugins/maven-shade-plugin/3.3.0-SNAPSHOT/maven-shade-plugin-3.3.0-SNAPSHOT-tests.jar [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk7-m3.6.x_build/target/surefire-reports/*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk15-m3.6.x_build/target/surefire-reports/*.xml Recording test results [INFO] There are 3 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 3 errors, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-shade-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 70, Failed: 1, Errors: 0, Skipped: 1 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * mini-jar-jdk11+/pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:11 min [INFO] Finished at: 2020-10-07T10:15:41Z [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated /home/jenkins/workspace/_dependabot_maven_asmVersion-9.0@2@tmp/withMavenab9aec3e/maven-spy-20201007-100929-6492742565823291596552.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify (integration-test) on project maven-shade-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-shade-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:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:64) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) 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:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:64) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) 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 [Pipeline] } [Pipeline] // dir [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT in source directory linux-jdk7-m3.6.x_build/src/main/java [TASKS] Scanning folder '/home/jenkins/jenkins-agent/workspace/_dependabot_maven_asmVersion-9.0@2' for files matching the pattern 'linux-jdk7-m3.6.x_build/src/main/java/**/*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 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-shade-plugin:maven-plugin:3.3.0-SNAPSHOT(version: 3.3.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: linux-jdk7-m3.6.x_build/target/invoker-reports/*.xml [withMaven] Publishers: Generated Artifacts Publisher: 2481 ms, Junit Publisher: 5734 ms, Open Task Scanner Publisher: 455 ms, Invoker Publisher: 65121 ms, Pipeline Graph Publisher: 6 ms [withMaven] Publishers: Generated Artifacts Publisher: 696 ms, Junit Publisher: 3289 ms, Open Task Scanner Publisher: 1161 ms, Invoker Publisher: 66500 ms, Pipeline Graph Publisher: 6 ms [Pipeline] } [Pipeline] // withMaven [Pipeline] // withMaven [Pipeline] cleanWs [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [WS-CLEANUP] done [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT in source directory linux-jdk15-m3.6.x_build/src/main/java [Pipeline] // stage [Pipeline] } [Pipeline] } [TASKS] Scanning folder '/home/jenkins/workspace/_dependabot_maven_asmVersion-9.0@2' for files matching the pattern 'linux-jdk15-m3.6.x_build/src/main/java/**/*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #1 [Pipeline] // ws [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk16-m3.6.x_build/target/surefire-reports/*.xml Recording test results [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT(version: 3.3.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: linux-jdk15-m3.6.x_build/target/invoker-reports/*.xml [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.3.0-SNAPSHOT in source directory linux-jdk16-m3.6.x_build/src/main/java [TASKS] Scanning folder '/home/jenkins/workspace/_dependabot_maven_asmVersion-9.0@2' for files matching the pattern 'linux-jdk16-m3.6.x_build/src/main/java/**/*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 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-shade-plugin:maven-plugin:3.3.0-SNAPSHOT(version: 3.3.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: linux-jdk16-m3.6.x_build/target/invoker-reports/*.xml [withMaven] Publishers: Generated Artifacts Publisher: 3383 ms, Junit Publisher: 20496 ms, Open Task Scanner Publisher: 8857 ms, Invoker Publisher: 128718 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] } [withMaven] Publishers: Generated Artifacts Publisher: 14438 ms, Junit Publisher: 42570 ms, Open Task Scanner Publisher: 1420 ms, Invoker Publisher: 123515 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] } [withMaven] Publishers: Generated Artifacts Publisher: 1996 ms, Junit Publisher: 11214 ms, Open Task Scanner Publisher: 978 ms, Invoker Publisher: 137261 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] } [withMaven] Publishers: Generated Artifacts Publisher: 3404 ms, Junit Publisher: 27295 ms, Open Task Scanner Publisher: 1662 ms, Invoker Publisher: 126126 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] } [withMaven] Publishers: Generated Artifacts Publisher: 435 ms, Junit Publisher: 10567 ms, Open Task Scanner Publisher: 920 ms, Invoker Publisher: 126293 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 linux-jdk16-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