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 22:55:00 UTC

Build failed in Jenkins: Maven » Maven TLP » maven-compiler-plugin » MCOMPILER-320 #14

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-compiler-plugin/job/MCOMPILER-320/14/

Changes:

* Update to new tool names
* Names are all lowercase
* Still no Maven 3.6.3 available on Windows
* remove debug-flag

6 tests failed.
FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk15-m3.6.x_build / Build linux-jdk15-m3.6.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:99)


FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk15-m3.6.x_build / Build linux-jdk15-m3.6.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:190)


FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk15-m3.6.x_build / Build linux-jdk15-m3.6.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:226)


FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk16-m3.6.x_build / Build linux-jdk16-m3.6.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:99)


FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk16-m3.6.x_build / Build linux-jdk16-m3.6.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:190)


FAILED:  org.apache.maven.plugin.compiler.CompilerMojoTestCase.linux-jdk16-m3.6.x_build / Build linux-jdk16-m3.6.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:226)




Build log:
[...truncated 12517 lines...]
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 30, Failed: 0, Errors: 0, Skipped: 25
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:58 min
[INFO] Finished at: 2020-11-10T14:50:11-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2@tmp\withMaven8eec90cc\maven-spy-20201110-144612-2955092489536814694442.log
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2@tmp\withMaven8eec90cc\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2@tmp\withMaven8eec90cc" 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-compiler-plugin\3.8.2-SNAPSHOT\maven-compiler-plugin-3.8.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.6.x_build\target\maven-compiler-plugin-3.8.2-SNAPSHOT.jar under org\apache\maven\plugins\maven-compiler-plugin\3.8.2-SNAPSHOT\maven-compiler-plugin-3.8.2-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.8.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk8-m3.6.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.8.2-SNAPSHOT in source directory windows-jdk8-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2' for files matching the pattern 'windows-jdk8-m3.6.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 #11
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.8.2-SNAPSHOT(version: 3.8.2-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.0@integration-test  integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.groovy
[INFO]           jpms_patch-module\pom.xml ........................ SUCCESS (4.4 s)
[INFO] Building: mcompiler-106\pom.xml
[INFO]           mcompiler-106\pom.xml ............................ SUCCESS (4.4 s)
[INFO] Building: mcompiler-120\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mcompiler-120\pom.xml ............................ SUCCESS (5.5 s)
[INFO] Building: MCOMPILER-129\pom.xml
[INFO]           MCOMPILER-129\pom.xml ............................ SUCCESS (4.3 s)
[INFO] Building: mcompiler-135\pom.xml
[INFO]           mcompiler-135\pom.xml ............................ SUCCESS (4.4 s)
[INFO] Building: MCOMPILER-157\pom.xml
[INFO]           MCOMPILER-157\pom.xml ............................ SUCCESS (15.8 s)
[INFO] Building: MCOMPILER-170\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 205 ms, Junit Publisher: 126 ms, Open Task Scanner Publisher: 149 ms, Invoker Publisher: 36381 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]           MCOMPILER-170\pom.xml ............................ SUCCESS (5.1 s)
[INFO] Building: mcompiler-179\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mcompiler-179\pom.xml ............................ SUCCESS (3.7 s)
[INFO] Building: mcompiler-182\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mcompiler-182\pom.xml ............................ SUCCESS (21.9 s)
[INFO] Building: MCOMPILER-190\pom.xml
[INFO]           MCOMPILER-190\pom.xml ............................ SUCCESS (5.7 s)
[INFO] Building: MCOMPILER-192\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-192\pom.xml ............................ SUCCESS (3.9 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 (13.7 s)
[INFO] Building: mcompiler-21_class-remove\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mcompiler-21_class-remove\pom.xml ................ SUCCESS (13.0 s)
[INFO] Building: mcompiler-21_methodname-change\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mcompiler-21_methodname-change\pom.xml ........... SUCCESS (12.6 s)
[INFO] Building: MCOMPILER-224\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-224\pom.xml ............................ SUCCESS (4.7 s)
[INFO] Building: MCOMPILER-228\pom.xml
[INFO]           MCOMPILER-228\pom.xml ............................ SUCCESS (4.0 s)
[INFO] Building: MCOMPILER-260_customArguments\pom.xml
[INFO]           MCOMPILER-260_customArguments\pom.xml ............ SUCCESS (3.9 s)
[INFO] Building: MCOMPILER-268_modulepath\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-268_modulepath\pom.xml ................. SUCCESS (4.8 s)
[INFO] Building: MCOMPILER-270_release\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-270_release\pom.xml .................... SUCCESS (4.3 s)
[INFO] Building: MCOMPILER-275_separate-moduleinfo\pom.xml
[INFO]           MCOMPILER-275_separate-moduleinfo\pom.xml ........ SKIPPED due to Toolchain
[INFO] Building: MCOMPILER-284\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MCOMPILER-284\pom.xml ............................ SUCCESS (3.4 s)
[INFO] Building: MCOMPILER-294\pom.xml
[INFO]           MCOMPILER-294\pom.xml ............................ SUCCESS (4.5 s)
[INFO] Building: MCOMPILER-298\pom.xml
[INFO]           MCOMPILER-298\pom.xml ............................ SUCCESS (5.9 s)
[INFO] Building: MCOMPILER-321_pathexceptions\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-321_pathexceptions\pom.xml ............. SUCCESS (4.9 s)
[INFO] Building: MCOMPILER-328_multiReleaseOutput\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-328_multiReleaseOutput\pom.xml ......... SUCCESS (4.0 s)
[INFO] Building: MCOMPILER-336_incremental-modulepath\pom.xml
[INFO]           MCOMPILER-336_incremental-modulepath\pom.xml ..... SUCCESS (10.0 s)
[INFO] Building: MCOMPILER-349_dependencyChanged\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-349_dependencyChanged\pom.xml .......... SUCCESS (15.8 s)
[INFO] Building: MCOMPILER-360\pom.xml
[INFO]           MCOMPILER-360\pom.xml ............................ SUCCESS (3.8 s)
[INFO] Building: MCOMPILER-366\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCOMPILER-366\pom.xml ............................ SUCCESS (4.8 s)
[INFO] Building: MCOMPILER-379\pom.xml
[INFO]           MCOMPILER-379\pom.xml ............................ SUCCESS (3.8 s)
[INFO] Building: multirelease-patterns\multimodule\pom.xml
[INFO] run post-build script verify.groovy
[INFO]   The post-build script did not succeed. f:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2\windows-jdk11-m3.6.x_build\target\it\multirelease-patterns\multimodule\multirelease\target\multirelease-1.0.0-SNAPSHOT.jar
[INFO]           multirelease-patterns\multimodule\pom.xml ........ FAILED (8.5 s)
[INFO] Building: multirelease-patterns\multiproject\pom.xml
[INFO] run post-build script verify.groovy
[INFO]   The post-build script did not succeed. base should be built twice. Expression: (2 == log.text.count([INFO] Building Base 1.0.0-SNAPSHOT))
[INFO]           multirelease-patterns\multiproject\pom.xml ....... FAILED (14.1 s)
[INFO] Building: multirelease-patterns\packaging-plugin\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           multirelease-patterns\packaging-plugin\pom.xml ... SUCCESS (15.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 (7.8 s)
[INFO] Building: non-english-warnings\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           non-english-warnings\pom.xml ..................... SUCCESS (4.3 s)
[INFO] Building: test1\pom.xml
[INFO]           test1\pom.xml .................................... SUCCESS (4.7 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.2.0:verify (integration-test) @ maven-compiler-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 49, Failed: 2, Errors: 0, Skipped: 4
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  multirelease-patterns\multimodule\pom.xml
[ERROR] *  multirelease-patterns\multiproject\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:18 min
[INFO] Finished at: 2020-11-10T14:54:25-08:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2@tmp\withMaven460a784a\maven-spy-20201110-144806-8564136726404534586410.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.0:verify (integration-test) on project maven-compiler-plugin: 2 builds 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.0:verify (integration-test) on project maven-compiler-plugin: 2 builds 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 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: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: 2 builds 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: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 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: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
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.8.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-compiler-plugin:maven-plugin:3.8.2-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\en-compiler-plugin_MCOMPILER-320@2' for files matching the pattern 'windows-jdk11-m3.6.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 #11
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.8.2-SNAPSHOT(version: 3.8.2-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.0@integration-test  integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 54 ms, Junit Publisher: 124 ms, Open Task Scanner Publisher: 151 ms, Invoker Publisher: 31704 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.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext