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 2019/04/11 00:08:20 UTC

Build failed in Jenkins: Maven TLP » maven-invoker-plugin » master #4

See https://builds.apache.org/job/maven-box/job/maven-invoker-plugin/job/master/4/

Changes:

* [INFRA-18014] Provide GPG on Jenkins Windows nodes
* Switch back to Windows label
* Change workspace path for Windows
* Shorten wsDir
* Fix groovy script
* rewrite groovy statement
* Keep original stageId
* Reduce stageDir
* More shortening of path
* maven-invoker keeps lock on jar (under investigation), so can't fully

All tests passed

Build log:
[...truncated 5059 lines...]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33:38 min
[INFO] Finished at: 2019-04-10T16:37:21-07:00
[INFO] Final Memory: 58M/1122M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2@tmp\withMaven83a3c716\maven-spy-20190410-160342-3414453206720540476585.log
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2@tmp\withMaven83a3c716\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2@tmp\withMaven83a3c716" 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\pom.xml under org\apache\maven\plugins\maven-invoker-plugin\3.2.1-SNAPSHOT\maven-invoker-plugin-3.2.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\target\maven-invoker-plugin-3.2.1-SNAPSHOT.jar under org\apache\maven\plugins\maven-invoker-plugin\3.2.1-SNAPSHOT\maven-invoker-plugin-3.2.1-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT in source directory windows-jdk7-m3.5.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2' for files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 17 files to scan for tasks
[TASKS] Found 7 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT(version: 3.2.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test  integration-test}: windows-jdk7-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 321 ms, Junit Publisher: 281 ms, Open Task Scanner Publisher: 155 ms, Invoker Publisher: 78069 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]           MINVOKER-191\pom.xml ............................. SUCCESS (904.8 s)
[INFO] Building: MINVOKER-243_install-reactor\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MINVOKER-243_install-reactor\pom.xml ............. SUCCESS (3.8 s)
[INFO] Building: multiEnvVar\pom.xml
[INFO]           multiEnvVar\pom.xml .............................. SUCCESS (7.4 s)
[INFO] Building: not-clone-not-plugin\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           not-clone-not-plugin\pom.xml ..................... SUCCESS (4.6 s)
[INFO] Building: pom-filtering\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           pom-filtering\pom.xml ............................ SUCCESS (4.7 s)
[INFO] Building: pom-filtering-encoding\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           pom-filtering-encoding\pom.xml ................... SUCCESS (7.5 s)
[INFO] Building: pom-filtering-reactor\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           pom-filtering-reactor\pom.xml .................... SUCCESS (14.5 s)
[INFO] Building: pom-less-invocation\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           pom-less-invocation\pom.xml ...................... SUCCESS (20.9 s)
[INFO] Building: postbuild-executed-only-once\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           postbuild-executed-only-once\pom.xml ............. FAILED (55.3 s)
[INFO]   The post-build script returned false.
[INFO] Building: project-cloning\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           project-cloning\pom.xml .......................... SUCCESS (73.8 s)
[INFO] Building: project-cloning-reactor\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-cloning-reactor\pom.xml .................. SUCCESS (31.8 s)
[INFO] Building: project-setup\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           project-setup\pom.xml ............................ SUCCESS (42.2 s)
[INFO] Building: script-accessibility\pom.xml
[INFO]           script-accessibility\pom.xml ..................... SUCCESS (7.8 s)
[INFO] Building: script-additional-vars\pom.xml
[INFO]           script-additional-vars\pom.xml ................... SUCCESS (7.0 s)
[INFO] Building: script-class-loading\pom.xml
[INFO]           script-class-loading\pom.xml ..................... SUCCESS (8.2 s)
[INFO] Building: script-classpath-duplicates\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           script-classpath-duplicates\pom.xml .............. SUCCESS (7.1 s)
[INFO] Building: script-context\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           script-context\pom.xml ........................... SUCCESS (6.9 s)
[INFO] Building: script-errors\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           script-errors\pom.xml ............................ SUCCESS (5.0 s)
[INFO] Building: script-global-vars\pom.xml
[INFO]           script-global-vars\pom.xml ....................... SUCCESS (37.5 s)
[INFO] Building: script-interpreter-detection\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           script-interpreter-detection\pom.xml ............. SUCCESS (41.7 s)
[INFO] Building: script-verify-xml\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           script-verify-xml\pom.xml ........................ SUCCESS (20.9 s)
[INFO] Building: selector-conditions\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           selector-conditions\pom.xml ...................... SUCCESS (77.5 s)
[INFO] Building: selector-scripts\pom.xml
[INFO] run pre-build script setup.groovy
[INFO] run post-build script verify.bsh
[INFO]           selector-scripts\pom.xml ......................... SUCCESS (64.3 s)
[INFO] Building: settings-auto-exclude\pom.xml
[INFO]           settings-auto-exclude\pom.xml .................... SUCCESS (11.7 s)
[INFO] Building: settings-inherit\pom.xml
[INFO]           settings-inherit\pom.xml ......................... SUCCESS (6.4 s)
[INFO] Building: settings-merge\pom.xml
[INFO]           settings-merge\pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: settings-merge-multiexecutions\pom.xml
[INFO]           settings-merge-multiexecutions\pom.xml ........... SUCCESS (8.8 s)
[INFO] Building: settings-merge_jdk9+\pom.xml
[INFO]           settings-merge_jdk9+\pom.xml ..................... SUCCESS (9.4 s)
[INFO] Building: settings-override\pom.xml
[INFO]           settings-override\pom.xml ........................ SUCCESS (5.9 s)
[INFO] Building: skip-install\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           skip-install\pom.xml ............................. SUCCESS (2.8 s)
[INFO] Building: skip-run\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           skip-run\pom.xml ................................. SUCCESS (3.5 s)
[INFO] Building: spaces-should-work_non-windows\pom.xml
[INFO]           spaces-should-work_non-windows\pom.xml ........... SKIPPED due to OS
[INFO] Building: spaces-should-work_windows\pom.xml
[INFO] run pre-build script setup.groovy
[INFO]           spaces-should-work_windows\pom.xml ............... SUCCESS (19.3 s)
[INFO] Building: special-characters-should-work\pom.xml
[INFO] run pre-build script setup.groovy
[INFO]           special-characters-should-work\pom.xml ........... SUCCESS (40.4 s)
[INFO] Building: staging-dependencies\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           staging-dependencies\pom.xml ..................... SUCCESS (38.4 s)
[INFO] Building: staging-pom\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           staging-pom\pom.xml .............................. SUCCESS (19.7 s)
[INFO] Building: staging-reactor\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           staging-reactor\pom.xml .......................... SUCCESS (43.0 s)
[INFO] Building: wrongPropertyInterpolation\pom.xml
[INFO]           wrongPropertyInterpolation\pom.xml ............... SUCCESS (99.3 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-invoker-plugin ---
[INFO] There are 4 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
[INFO] Ignored 4 errors, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-invoker-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 68, Failed: 1, Errors: 0, Skipped: 2
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  postbuild-executed-only-once\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48:32 min
[INFO] Finished at: 2019-04-11T00:05:09Z
[INFO] Final Memory: 49M/170M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2@tmp\withMaven40793c5f\maven-spy-20190410-231636-7576942088900623397860.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-invoker-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.1.0:verify (integration-test) on project maven-invoker-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:567)
    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:567)
    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] }
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk12-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT in source directory windows-jdk12-m3.5.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\-box_maven-invoker-plugin_master@2' for files matching the pattern 'windows-jdk12-m3.5.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 17 files to scan for tasks
[TASKS] Found 7 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-invoker-plugin:maven-plugin:3.2.1-SNAPSHOT(version: 3.2.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test  integration-test}: windows-jdk12-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 103 ms, Junit Publisher: 1656 ms, Open Task Scanner Publisher: 1057 ms, Invoker Publisher: 153918 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-jdk12-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Build succeeded in Jenkins: Maven TLP » maven-invoker-plugin » master #5

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/maven-box/job/maven-invoker-plugin/job/master/5/

Changes:

* Pass source/target to ensure integration tests will compile with latest
* Pass source/target to ensure integration tests will compile with latest
* Pass source/target to ensure integration tests will compile with latest
* Pass source/target to ensure integration tests will compile with latest
* Pass source/target to ensure integration tests will compile with latest
* Pass source/target to ensure integration tests will compile with latest

All tests passed