Build failed in Jenkins: Maven » Maven TLP » maven-shade-plugin » rmannibucau/MSHADE-353-ensure-relocations-can-be-applied-to-any-transformer #15

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: Maven » Maven TLP » maven-shade-plugin » rmannibucau/MSHADE-353-ensure-relocations-can-be-applied-to-any-transformer #15

Apache Jenkins Server-2
See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-shade-plugin/job/rmannibucau%252FMSHADE-353-ensure-relocations-can-be-applied-to-any-transformer/15/

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 9001 lines...]
[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: 66, Failed: 0, Errors: 0, Skipped: 2
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:26 min
[INFO] Finished at: 2020-11-11T07:57:33-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMavenf26976d2\maven-spy-20201111-075206-9181335352110165229865.log
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMavenf26976d2\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMavenf26976d2"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[INFO] run post-build script verify.groovy
[INFO]           users-shader-impl\pom.xml ........................ SUCCESS (5.4 s)
[INFO] Building: xml-transformer-ignores-dtd\pom.xml
[withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.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.groovy
[INFO]           MSHADE-182\pom.xml ............................... SUCCESS (4.8 s)
[INFO] Building: MSHADE-183\pom.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT in source directory windows-jdk8-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2' for files matching the pattern 'windows-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 #11
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT(version: 3.2.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]           xml-transformer-ignores-dtd\pom.xml .............. SUCCESS (4.8 s)
[INFO]
[INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-shade-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:51432
[INFO] Stopped SocketConnector@0.0.0.0:51432
[INFO] Mock Repository Manager http://localhost:51432 is stopped.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-shade-plugin ---
[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: 57, Failed: 0, Errors: 0, Skipped: 11
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:45 min
[INFO] Finished at: 2020-11-11T07:57:41-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMaven05c7145d\maven-spy-20201111-075154-9323599833617163910803.log
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMaven05c7145d\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMaven05c7145d"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[INFO] run post-build script verify.bsh
[INFO]           MSHADE-183\pom.xml ............................... SUCCESS (5.7 s)
[INFO] Building: MSHADE-185\pom.xml
[INFO]           MSHADE-185\pom.xml ............................... SKIPPED due to JRE version
[INFO] Building: MSHADE-232_ResourceBundleAppendingTransformer\pom.xml
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.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-shade-plugin:maven-plugin:3.2.3-SNAPSHOT in source directory windows-jdk7-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2' for files matching the pattern 'windows-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 #11
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT(version: 3.2.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
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-232_ResourceBundleAppendingTransformer\pom.xml SUCCESS (5.5 s)
[INFO] Building: MSHADE-239_finalName-attachments\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-239_finalName-attachments\pom.xml ......... SUCCESS (4.8 s)
[INFO] Building: MSHADE-240_reloc-mavenfiles\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-240_reloc-mavenfiles\pom.xml .............. SUCCESS (7.1 s)
[INFO] Building: MSHADE-247\pom.xml
[INFO]           MSHADE-247\pom.xml ............................... SUCCESS (5.5 s)
[INFO] Building: MSHADE-258_module_relocation\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 406 ms, Junit Publisher: 1746 ms, Open Task Scanner Publisher: 273 ms, Invoker Publisher: 28598 ms, Pipeline Graph Publisher: 1 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] }
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-258_module_relocation\pom.xml ............. SUCCESS (5.2 s)
[INFO] Building: MSHADE-284_shadeTestJar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-284_shadeTestJar\pom.xml .................. SUCCESS (10.8 s)
[INFO] Building: MSHADE-285_createTestSourcesJar\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 302 ms, Junit Publisher: 1795 ms, Open Task Scanner Publisher: 229 ms, Invoker Publisher: 38176 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] }
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-285_createTestSourcesJar\pom.xml .......... SUCCESS (9.4 s)
[INFO] Building: MSHADE-313_minimized-services\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSHADE-313_minimized-services\pom.xml ............ SUCCESS (7.2 s)
[INFO] Building: MSHADE-316\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSHADE-316\pom.xml ............................... SUCCESS (6.7 s)
[INFO] Building: MSHADE-340_shadedTestJarArtifactAttached\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-340_shadedTestJarArtifactAttached\pom.xml . SUCCESS (10.6 s)
[INFO] Building: non-runtime-scope-excluded\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           non-runtime-scope-excluded\pom.xml ............... SUCCESS (5.6 s)
[INFO] Building: plugin-descriptor-relocation\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           plugin-descriptor-relocation\pom.xml ............. SUCCESS (14.5 s)
[INFO] Building: pom-packaging\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           pom-packaging\pom.xml ............................ SUCCESS (3.6 s)
[INFO] Building: project-with-reactors-included\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-with-reactors-included\pom.xml ........... SUCCESS (8.6 s)
[INFO] Building: reloc-abs-resource-path\pom.xml
[INFO]           reloc-abs-resource-path\pom.xml .................. SUCCESS (5.5 s)
[INFO] Building: reloc-abs-resource-path-exclude\pom.xml
[INFO]           reloc-abs-resource-path-exclude\pom.xml .......... SUCCESS (5.6 s)
[INFO] Building: reloc-and-mini\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           reloc-and-mini\pom.xml ........................... SUCCESS (6.5 s)
[INFO] Building: reloc-anno\pom.xml
[INFO]           reloc-anno\pom.xml ............................... SUCCESS (5.3 s)
[INFO] Building: reloc-class-from-string-pool\pom.xml
[INFO]           reloc-class-from-string-pool\pom.xml ............. SUCCESS (5.2 s)
[INFO] Building: reloc-enum-ref-from-anno\pom.xml
[INFO]           reloc-enum-ref-from-anno\pom.xml ................. SUCCESS (5.2 s)
[INFO] Building: reloc-includes-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           reloc-includes-excludes\pom.xml .................. SUCCESS (5.2 s)
[INFO] Building: rerun-with-reloc\pom.xml
[INFO]           rerun-with-reloc\pom.xml ......................... SUCCESS (6.8 s)
[INFO] Building: rerun-without-reloc\pom.xml
[INFO]           rerun-without-reloc\pom.xml ...................... SUCCESS (6.2 s)
[INFO] Building: services-resource-transformer\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           services-resource-transformer\pom.xml ............ SUCCESS (4.7 s)
[INFO] Building: services-resource-transformer-with-reloc-includes-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           services-resource-transformer-with-reloc-includes-excludes\pom.xml SUCCESS (5.0 s)
[INFO] Building: shadePomDependency\pom.xml
[INFO]           shadePomDependency\pom.xml ....................... SUCCESS (6.3 s)
[INFO] Building: shading-with-java-8-sources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-java-8-sources\pom.xml .............. SUCCESS (6.6 s)
[INFO] Building: shading-with-release-sources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-release-sources\pom.xml ............. SUCCESS (7.0 s)
[INFO] Building: users-shader-impl\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           users-shader-impl\pom.xml ........................ SUCCESS (6.7 s)
[INFO] Building: xml-transformer-ignores-dtd\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           xml-transformer-ignores-dtd\pom.xml .............. SUCCESS (5.2 s)
[INFO]
[INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-shade-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:55480
[INFO] Stopped SocketConnector@0.0.0.0:55480
[INFO] Mock Repository Manager http://localhost:55480 is stopped.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-shade-plugin ---
[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: 67, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:42 min
[INFO] Finished at: 2020-11-11T08:01:02-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2@tmp\withMaven67dfdf2c\maven-spy-20201111-075319-5314767080307692747441.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact windows-jdk11-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar
[Fast Archiver] Compressed 202.11 KB of artifacts by 79.2% relative to #11
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\an-be-applied-to-any-transformer@2' for files matching the pattern 'windows-jdk11-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 #11
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT(version: 3.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 256 ms, Junit Publisher: 2576 ms, Open Task Scanner Publisher: 179 ms, Invoker Publisher: 34172 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] echo
The authors of changes [mthmulders, martinkanters, rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext