See 
https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-shade-plugin/job/MSHADE-259/16/

Changes:

* Next Maven version change 3.7.x -> 4.x.x
* Added Java 17

4 tests failed.
FAILED:  
org.apache.maven.plugins.shade.filter.MinijarFilterTest.linux-jdk16-m3.6.x_build
 / Build linux-jdk16-m3.6.x_build / testWithPomProject

Error Message:
null

Stack Trace:
java.lang.ExceptionInInitializerError
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.mockProject(MinijarFilterTest.java:112)
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.testWithPomProject(MinijarFilterTest.java:92)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make 
protected final java.lang.Class 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
 throws java.lang.ClassFormatError accessible: module java.base does not "opens 
java.lang" to unnamed module @209c0b14
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.mockProject(MinijarFilterTest.java:112)
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.testWithPomProject(MinijarFilterTest.java:92)


FAILED:  
org.apache.maven.plugins.shade.filter.MinijarFilterTest.linux-jdk16-m3.6.x_build
 / Build linux-jdk16-m3.6.x_build / 
finsishedShouldProduceMessageForClassesTotalNonZero

Error Message:
Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3

Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.finsishedShouldProduceMessageForClassesTotalNonZero(MinijarFilterTest.java:143)


FAILED:  
org.apache.maven.plugins.shade.filter.MinijarFilterTest.linux-jdk16-m3.6.x_build
 / Build linux-jdk16-m3.6.x_build / 
finsishedShouldProduceMessageForClassesTotalZero

Error Message:
Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3

Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3
        at 
org.apache.maven.plugins.shade.filter.MinijarFilterTest.finsishedShouldProduceMessageForClassesTotalZero(MinijarFilterTest.java:160)


FAILED:  
org.apache.maven.plugins.shade.mojo.ShadeMojoTest.linux-jdk16-m3.6.x_build / 
Build linux-jdk16-m3.6.x_build / testShadeWithFilter

Error Message:
Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3

Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class 
org.mockito.internal.creation.jmock.ClassImposterizer$3
        at 
org.apache.maven.plugins.shade.mojo.ShadeMojoTest.testShadeWithFilter(ShadeMojoTest.java:202)




Build log:
[...truncated 6516 lines...]
[INFO] Total time:  05:19 min
[INFO] Finished at: 2021-01-14T02:53:20-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2@tmp\withMaven86232946\maven-spy-20210114-024759-9155710879365524286215.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2@tmp\withMaven86232946\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2@tmp\withMaven86232946"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.6.x_build\pom.xml under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar 
under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-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]           project-with-reactors-included\pom.xml ........... SUCCESS 
(8.2 s)
[INFO] Building: reloc-abs-resource-path\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-182\pom.xml ............................... SUCCESS 
(4.7 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.2-SNAPSHOT in 
source directory windows-jdk8-m3.6.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2'
 for files matching the pattern 'windows-jdk8-m3.6.x_build\src\main\java\**\*' 
- excludes: null
[TASKS] Found 32 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 #15
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-SNAPSHOT(version:
 3.2.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
  integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[INFO]           reloc-abs-resource-path\pom.xml .................. SUCCESS 
(5.7 s)
[INFO] Building: reloc-abs-resource-path-exclude\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSHADE-183\pom.xml ............................... SUCCESS 
(5.4 s)
[INFO] Building: MSHADE-185\pom.xml
[INFO]           MSHADE-185\pom.xml ............................... SKIPPED due 
to JRE version
[INFO] Building: MSHADE-232_ResourceBundleAppendingTransformer\pom.xml
[INFO]           reloc-abs-resource-path-exclude\pom.xml .......... SUCCESS 
(5.8 s)
[INFO] Building: reloc-anno\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-232_ResourceBundleAppendingTransformer\pom.xml SUCCESS 
(5.4 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.6 s)
[INFO] Building: MSHADE-240_reloc-mavenfiles\pom.xml
[INFO]           reloc-anno\pom.xml ............................... SUCCESS 
(5.1 s)
[INFO] Building: reloc-class-from-string-pool\pom.xml
[INFO]           reloc-class-from-string-pool\pom.xml ............. SUCCESS 
(5.1 s)
[INFO] Building: reloc-enum-ref-from-anno\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSHADE-240_reloc-mavenfiles\pom.xml .............. SUCCESS 
(7.0 s)
[INFO] Building: MSHADE-247\pom.xml
[INFO]           reloc-enum-ref-from-anno\pom.xml ................. SUCCESS 
(5.0 s)
[INFO] Building: reloc-includes-excludes\pom.xml
[INFO]           MSHADE-247\pom.xml ............................... SUCCESS 
(6.3 s)
[INFO] Building: MSHADE-258_module_relocation\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           reloc-includes-excludes\pom.xml .................. SUCCESS 
(4.6 s)
[INFO] Building: rerun-with-reloc\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 298 ms, Junit Publisher: 
1539 ms, Open Task Scanner Publisher: 177 ms, Invoker Publisher: 30403 ms, 
Pipeline Graph Publisher: 6 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 
(4.7 s)
[INFO] Building: non-runtime-scope-excluded\pom.xml
[INFO]           rerun-with-reloc\pom.xml ......................... SUCCESS 
(6.2 s)
[INFO] Building: rerun-without-reloc\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           non-runtime-scope-excluded\pom.xml ............... SUCCESS 
(5.4 s)
[INFO] Building: plugin-descriptor-relocation\pom.xml
[INFO]           rerun-without-reloc\pom.xml ...................... SUCCESS 
(5.0 s)
[INFO] Building: services-resource-transformer\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           services-resource-transformer\pom.xml ............ SUCCESS 
(5.2 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.3 
s)
[INFO] Building: shadePomDependency\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           plugin-descriptor-relocation\pom.xml ............. SUCCESS 
(15.4 s)
[INFO] Building: pom-packaging\pom.xml
[INFO]           shadePomDependency\pom.xml ....................... SUCCESS 
(6.0 s)
[INFO] Building: shading-with-java-10-sources\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.groovy
[INFO]           shading-with-java-10-sources\pom.xml ............. SUCCESS 
(6.9 s)
[INFO] Building: shading-with-java-11-sources\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-with-reactors-included\pom.xml ........... SUCCESS 
(8.3 s)
[INFO] Building: reloc-abs-resource-path\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-java-11-sources\pom.xml ............. SUCCESS 
(5.5 s)
[INFO] Building: shading-with-java-8-sources\pom.xml
[INFO]           reloc-abs-resource-path\pom.xml .................. SUCCESS 
(6.2 s)
[INFO] Building: reloc-abs-resource-path-exclude\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-java-8-sources\pom.xml .............. SUCCESS 
(5.7 s)
[INFO] Building: users-shader-impl\pom.xml
[INFO]           reloc-abs-resource-path-exclude\pom.xml .......... SUCCESS 
(6.1 s)
[INFO] Building: reloc-anno\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           users-shader-impl\pom.xml ........................ SUCCESS 
(5.8 s)
[INFO] Building: xml-transformer-ignores-dtd\pom.xml
[INFO]           reloc-anno\pom.xml ............................... SUCCESS 
(5.5 s)
[INFO] Building: reloc-class-from-string-pool\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           xml-transformer-ignores-dtd\pom.xml .............. SUCCESS 
(4.9 s)
[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.1.0:verify (integration-test) @ 
maven-shade-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 60, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:28 min
[INFO] Finished at: 2021-01-14T02:54:58-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2@tmp\withMaven39ace1d7\maven-spy-20210114-024830-1423825454959915648516.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.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.pom
[INFO]           reloc-class-from-string-pool\pom.xml ............. SUCCESS 
(5.4 s)
[INFO] Building: reloc-enum-ref-from-anno\pom.xml
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar 
under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-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.2-SNAPSHOT in 
source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2'
 for files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' 
- excludes: null
[TASKS] Found 32 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 #15
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-SNAPSHOT(version:
 3.2.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
  integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[INFO]           reloc-enum-ref-from-anno\pom.xml ................. SUCCESS 
(5.4 s)
[INFO] Building: reloc-includes-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           reloc-includes-excludes\pom.xml .................. SUCCESS 
(4.9 s)
[INFO] Building: rerun-with-reloc\pom.xml
[INFO]           rerun-with-reloc\pom.xml ......................... SUCCESS 
(6.3 s)
[INFO] Building: rerun-without-reloc\pom.xml
[INFO]           rerun-without-reloc\pom.xml ...................... SUCCESS 
(5.4 s)
[INFO] Building: services-resource-transformer\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           services-resource-transformer\pom.xml ............ SUCCESS 
(5.2 s)
[INFO] Building: 
services-resource-transformer-with-reloc-includes-excludes\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 329 ms, Junit Publisher: 
1666 ms, Open Task Scanner Publisher: 170 ms, Invoker Publisher: 29559 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.bsh
[INFO]           
services-resource-transformer-with-reloc-includes-excludes\pom.xml SUCCESS (5.4 
s)
[INFO] Building: shadePomDependency\pom.xml
[INFO]           shadePomDependency\pom.xml ....................... SUCCESS 
(6.5 s)
[INFO] Building: shading-with-java-10-sources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-java-10-sources\pom.xml ............. SUCCESS 
(6.7 s)
[INFO] Building: shading-with-java-11-sources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           shading-with-java-11-sources\pom.xml ............. SUCCESS 
(6.2 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 
(5.3 s)
[INFO] Building: users-shader-impl\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           users-shader-impl\pom.xml ........................ SUCCESS 
(6.1 s)
[INFO] Building: xml-transformer-ignores-dtd\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           xml-transformer-ignores-dtd\pom.xml .............. SUCCESS 
(4.7 s)
[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.1.0:verify (integration-test) @ 
maven-shade-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 60, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:41 min
[INFO] Finished at: 2021-01-14T02:56:02-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2@tmp\withMaven8531a991\maven-spy-20210114-024920-5641799276647847491031.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk15-m3.6.x_build\pom.xml under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk15-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk15-m3.6.x_build\target\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar 
under 
org\apache\maven\plugins\maven-shade-plugin\3.2.2-SNAPSHOT\maven-shade-plugin-3.2.2-SNAPSHOT-tests.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk15-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.2-SNAPSHOT in 
source directory windows-jdk15-m3.6.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\712657a4\workspace\ox_maven-shade-plugin_MSHADE-259@2'
 for files matching the pattern 'windows-jdk15-m3.6.x_build\src\main\java\**\*' 
- excludes: null
[TASKS] Found 32 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 #15
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.2-SNAPSHOT(version:
 3.2.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
  integration-test}: windows-jdk15-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 298 ms, Junit Publisher: 
1623 ms, Open Task Scanner Publisher: 176 ms, Invoker Publisher: 30763 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: UNSTABLE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [slachiewicz].
[Pipeline] echo
Sending email ...
[Pipeline] emailext

Reply via email to