See
https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/MCOMPILER-320/32/
Changes:
* More verbose info about build exceptions
* Verbose info about failure - add bit more
* Revert: no access to currntBuild.rawBuild
10 tests failed.
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk11-m3.5.x_build
/ Build linux-jdk11-m3.5.x_build / testCompilerBasic
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerBasic(CompilerMojoTestCase.java:82)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk11-m3.5.x_build
/ Build linux-jdk11-m3.5.x_build / testCompilerIncludesExcludes
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerIncludesExcludes(CompilerMojoTestCase.java:149)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk11-m3.5.x_build
/ Build linux-jdk11-m3.5.x_build / testCompileSkipMain
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompileSkipMain(CompilerMojoTestCase.java:335)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk11-m3.5.x_build
/ Build linux-jdk11-m3.5.x_build / testCompileSkipTest
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompileSkipTest(CompilerMojoTestCase.java:349)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk11-m3.5.x_build
/ Build linux-jdk11-m3.5.x_build / testCompilerFork
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:191)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.windows-jdk11-m3.5.x_build
/ Build windows-jdk11-m3.5.x_build / testCompilerBasic
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerBasic(CompilerMojoTestCase.java:82)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.windows-jdk11-m3.5.x_build
/ Build windows-jdk11-m3.5.x_build / testCompilerIncludesExcludes
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerIncludesExcludes(CompilerMojoTestCase.java:149)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.windows-jdk11-m3.5.x_build
/ Build windows-jdk11-m3.5.x_build / testCompileSkipMain
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompileSkipMain(CompilerMojoTestCase.java:335)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.windows-jdk11-m3.5.x_build
/ Build windows-jdk11-m3.5.x_build / testCompileSkipTest
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompileSkipTest(CompilerMojoTestCase.java:349)
FAILED:
org.apache.maven.plugin.compiler.CompilerMojoTestCase.windows-jdk11-m3.5.x_build
/ Build windows-jdk11-m3.5.x_build / testCompilerFork
Error Message:
Compilation failure
Stack Trace:
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation
failure
at
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:191)
Build log:
[...truncated 7564 lines...]
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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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]
[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
Running post-build script:
f:\jenkins\jenkins-slave\workspace\en-compiler-plugin_MCOMPILER-320@2\windows-jdk11-m3.5.x_build\target\it\error-prone-compiler\verify.groovy
[INFO] Building: groovy-project-with-new-plexus-compiler\pom.xml
[INFO] groovy-project-with-new-plexus-compiler\pom.xml .. SKIPPED due
to JRE version
[INFO] Building: includes-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO] includes-excludes\pom.xml ........................ SUCCESS
(6.4 s)
[INFO] Building: jdk16-annotation\pom.xml
[INFO] run post-build script verify.bsh
[INFO] jdk16-annotation\pom.xml ......................... SUCCESS
(6.4 s)
[INFO] Building: jdk9-exportsto\pom.xml
[INFO] jdk9-exportsto\pom.xml ........................... SUCCESS
(6.0 s)
[INFO] Building: jpms_add-exports\pom.xml
[INFO] run post-build script verify.groovy
[INFO] jpms_add-exports\pom.xml ......................... SUCCESS
(6.0 s)
[INFO] Building: jpms_compile-main-empty-test-bar\pom.xml
[INFO] run post-build script verify.groovy
[INFO] jpms_compile-main-empty-test-bar\pom.xml ......... SUCCESS
(8.3 s)
[INFO] Building: jpms_compile-main-foo-test-bar\pom.xml
[INFO] run post-build script verify.groovy
[INFO] jpms_compile-main-foo-test-bar\pom.xml ........... SUCCESS
(7.8 s)
[INFO] Building: jpms_compile-main-foo-test-foo\pom.xml
[INFO] run post-build script verify.groovy
[INFO] jpms_compile-main-foo-test-foo\pom.xml ........... SUCCESS
(6.6 s)
[INFO] Building: jpms_patch-module\pom.xml
[INFO] run post-build script verify.groovy
[INFO] jpms_patch-module\pom.xml ........................ SUCCESS
(5.9 s)
[INFO] Building: mcompiler-106\pom.xml
[INFO] mcompiler-106\pom.xml ............................ SUCCESS
(6.2 s)
[INFO] Building: mcompiler-120\pom.xml
[INFO] run post-build script verify.groovy
[INFO] mcompiler-120\pom.xml ............................ SUCCESS
(7.8 s)
[INFO] Building: MCOMPILER-129\pom.xml
[INFO] MCOMPILER-129\pom.xml ............................ SUCCESS
(6.8 s)
[INFO] Building: mcompiler-135\pom.xml
[INFO] mcompiler-135\pom.xml ............................ SUCCESS
(6.2 s)
[INFO] Building: MCOMPILER-157\pom.xml
[INFO] MCOMPILER-157\pom.xml ............................ SUCCESS
(10.7 s)
[INFO] Building: MCOMPILER-170\pom.xml
[INFO] MCOMPILER-170\pom.xml ............................ SUCCESS
(6.6 s)
[INFO] Building: mcompiler-179\pom.xml
[INFO] run post-build script verify.groovy
[INFO] mcompiler-179\pom.xml ............................ SUCCESS
(6.0 s)
[INFO] Building: mcompiler-182\pom.xml
[INFO] run post-build script verify.groovy
[INFO] mcompiler-182\pom.xml ............................ SUCCESS
(22.6 s)
[INFO] Building: MCOMPILER-190\pom.xml
[INFO] MCOMPILER-190\pom.xml ............................ SUCCESS
(8.2 s)
[INFO] Building: MCOMPILER-192\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-192\pom.xml ............................ SUCCESS
(6.1 s)
[INFO] Building: MCOMPILER-197\pom.xml
[INFO] MCOMPILER-197\pom.xml ............................ SKIPPED due
to JRE version
[INFO] Building: MCOMPILER-203-processorpath\pom.xml
[INFO] MCOMPILER-203-processorpath\pom.xml .............. SUCCESS
(18.8 s)
[INFO] Building: mcompiler-21_class-remove\pom.xml
[INFO] run post-build script verify.groovy
[INFO] mcompiler-21_class-remove\pom.xml ................ SUCCESS
(18.9 s)
[INFO] Building: mcompiler-21_methodname-change\pom.xml
[INFO] run post-build script verify.groovy
[INFO] mcompiler-21_methodname-change\pom.xml ........... SUCCESS
(20.8 s)
[INFO] Building: MCOMPILER-224\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-224\pom.xml ............................ SUCCESS
(7.4 s)
[INFO] Building: MCOMPILER-228\pom.xml
[INFO] MCOMPILER-228\pom.xml ............................ SUCCESS
(6.2 s)
[INFO] Building: MCOMPILER-260_customArguments\pom.xml
[INFO] MCOMPILER-260_customArguments\pom.xml ............ SUCCESS
(6.4 s)
[INFO] Building: MCOMPILER-268_modulepath\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-268_modulepath\pom.xml ................. SUCCESS
(6.7 s)
[INFO] Building: MCOMPILER-270_release\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-270_release\pom.xml .................... SUCCESS
(6.3 s)
[INFO] Building: MCOMPILER-275_separate-moduleinfo\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-275_separate-moduleinfo\pom.xml ........ SUCCESS
(6.9 s)
[INFO] Building: MCOMPILER-284\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MCOMPILER-284\pom.xml ............................ SUCCESS
(5.3 s)
[INFO] Building: MCOMPILER-294\pom.xml
[INFO] MCOMPILER-294\pom.xml ............................ SUCCESS
(5.8 s)
[INFO] Building: MCOMPILER-298\pom.xml
[INFO] MCOMPILER-298\pom.xml ............................ SUCCESS
(8.2 s)
[INFO] Building: MCOMPILER-320_mrjar\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-320_mrjar\pom.xml ...................... SUCCESS
(10.5 s)
[INFO] Building: MCOMPILER-320_sunmisc\pom.xml
[INFO] MCOMPILER-320_sunmisc\pom.xml .................... SUCCESS
(6.0 s)
[INFO] Building: MCOMPILER-321_pathexceptions\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-321_pathexceptions\pom.xml ............. SUCCESS
(6.5 s)
[INFO] Building: MCOMPILER-322_release10\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-322_release10\pom.xml .................. SUCCESS
(6.4 s)
[INFO] Building: MCOMPILER-328_multiReleaseOutput\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCOMPILER-328_multiReleaseOutput\pom.xml ......... SUCCESS
(6.7 s)
[INFO] Building: MCOMPILER-336_incremental-modulepath\pom.xml
[INFO] MCOMPILER-336_incremental-modulepath\pom.xml ..... SUCCESS
(14.0 s)
[INFO] Building: multirelease-patterns\multimodule\pom.xml
[INFO] run post-build script verify.groovy
[INFO] multirelease-patterns\multimodule\pom.xml ........ SUCCESS
(13.9 s)
[INFO] Building: multirelease-patterns\multiproject\pom.xml
[INFO] run post-build script verify.groovy
[INFO] multirelease-patterns\multiproject\pom.xml ....... SUCCESS
(35.3 s)
[INFO] Building: multirelease-patterns\packaging-plugin\pom.xml
[INFO] run post-build script verify.groovy
[INFO] multirelease-patterns\packaging-plugin\pom.xml ... SUCCESS
(14.8 s)
[INFO] Building: multirelease-patterns\singleproject-runtime\pom.xml
[INFO] run post-build script verify.groovy
[INFO] multirelease-patterns\singleproject-runtime\pom.xml SUCCESS
(12.1 s)
[INFO] Building: non-english-warnings\pom.xml
[INFO] run post-build script verify.bsh
[INFO] non-english-warnings\pom.xml ..................... SUCCESS
(6.8 s)
[INFO] Building: test1\pom.xml
[INFO] test1\pom.xml .................................... SUCCESS
(6.4 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-compiler-plugin ---
[INFO] There are 2 errors reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 2 errors, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.0.1:verify (integration-test) @
maven-compiler-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 51, Failed: 1, Errors: 0, Skipped: 2
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * error-prone-compiler\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:33 min
[INFO] Finished at: 2019-01-31T13:44:51Z
[INFO] Final Memory: 47M/167M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-compiler-plugin_MCOMPILER-320@2@tmp\withMavencf1e3cb2\maven-spy-20190131-133617-9154911669845274226910.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.0.1:verify (integration-test)
on project maven-compiler-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.0.1:verify (integration-test)
on project maven-compiler-plugin: 1 build 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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: 1 build 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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.7.1-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-compiler-plugin:maven-plugin:3.7.1-SNAPSHOT in
source directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-compiler-plugin_MCOMPILER-320@2' for
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 9 files to scan for tasks
[TASKS] Found 6 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #23
[withMaven] Publishers: Generated Artifacts Publisher: 34 ms, Junit Publisher:
137 ms, Open Task Scanner Publisher: 126 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-jdk11-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext