See 
https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/MJLINK-29/17/

Changes:

* Add JDK 13 (latest)
* INFRA-17514, lock to 1 Windows node
* Cause found, back to all Windows nodes
* INFRA-17514 testing if this invoker keeps locks on the files.
* INFRA-17514 disable invokerPublisher() This is the root cause for the

All tests passed

Build log:
[...truncated 2389 lines...]
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar 
under 
org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-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-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
in source directory windows-jdk8-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\box_maven-jlink-plugin_MJLINK-29@2' for 
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 2 files to scan for tasks
[TASKS] Found 6 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 246 ms, Junit Publisher: 
219 ms, Open Task Scanner Publisher: 106 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]           cli-options/compress-2/pom.xml ................... SUCCESS 
(9.1 s)
[INFO] Building: cli-options/no-header-files/pom.xml
[INFO]           setup-02-jar\pom.xml ............................. SUCCESS 
(12.6 s)
[INFO] Building: setup-03-jar-module-info\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options/no-header-files/pom.xml .............. SUCCESS 
(7.5 s)
[INFO] Building: cli-options/bind-services/pom.xml
[INFO]           setup-03-jar-module-info\pom.xml ................. SUCCESS 
(4.9 s)
[INFO] Setup done.
[INFO] Building: cli-options\bind-services\pom.xml
[INFO] snapshot 
org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from apache-snapshots
[INFO] snapshot 
org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from Nexus
[INFO] artifact 
org.apache.maven.plugins.maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from central
[INFO] run post-build script verify.groovy
[INFO]           cli-options/bind-services/pom.xml ................ SUCCESS 
(14.2 s)
[INFO] Building: MJLINK-3_improveVerboseOutput/pom.xml
[INFO] run post-build script verify.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:/f:/jenkins/jenkins-slave/workspace/.maven_repositories/null/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
 to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]           cli-options\bind-services\pom.xml ................ SUCCESS 
(18.0 s)
[INFO] Building: cli-options\compress-0\pom.xml
[INFO]           MJLINK-3_improveVerboseOutput/pom.xml ............ SUCCESS 
(7.4 s)
[INFO] Building: MJLINK-4_dependencyResolution/pom.xml
[INFO]           MJLINK-4_dependencyResolution/pom.xml ............ SUCCESS 
(7.5 s)
[INFO] Building: MJLINK-26/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-0\pom.xml ................... SUCCESS 
(9.7 s)
[INFO] Building: cli-options\compress-1\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MJLINK-26/pom.xml ................................ SUCCESS 
(8.3 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.1.0:stop (default) @ maven-jlink-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:34492
[INFO] Stopped SocketConnector@0.0.0.0:34492
[INFO] Mock Repository Manager http://localhost:34492 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-jlink-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-jlink-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 16, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  setup-02-jar/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:29 min
[INFO] Finished at: 2019-01-20T10:38:47Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
/home/jenkins/jenkins-slave/workspace/box_maven-jlink-plugin_MJLINK-29@2@tmp/withMaven1785cd71/maven-spy-20190120-103618-553892687906480089384.log
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) 
on project maven-jlink-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-jlink-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: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:954)
    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: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:137)
    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: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:954)
    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: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-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
linux-jdk11-m3.5.x_build/target/surefire-reports/*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
in source directory linux-jdk11-m3.5.x_build/src/main/java
[TASKS] Scanning folder 
'/home/jenkins/jenkins-slave/workspace/box_maven-jlink-plugin_MJLINK-29@2' for 
files matching the pattern 'linux-jdk11-m3.5.x_build/src/main/java/**/*' - 
excludes: null
[TASKS] Found 2 files to scan for tasks
[TASKS] Found 6 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 225 ms, Junit Publisher: 
656 ms, Open Task Scanner Publisher: 664 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...
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-1\pom.xml ................... SUCCESS 
(12.9 s)
[INFO] Building: cli-options\compress-2\pom.xml
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk11-m3.5.x_build
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-2\pom.xml ................... SUCCESS 
(10.5 s)
[INFO] Building: cli-options\disable-plugin\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\disable-plugin\pom.xml ............... SUCCESS 
(8.9 s)
[INFO] Building: cli-options\endian\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\endian\pom.xml ....................... SUCCESS 
(9.5 s)
[INFO] Building: cli-options\endian-big\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\endian-big\pom.xml ................... SUCCESS 
(9.6 s)
[INFO] Building: cli-options\ignore-signing-information\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\ignore-signing-information\pom.xml ... SUCCESS 
(9.0 s)
[INFO] Building: cli-options\no-header-files\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\no-header-files\pom.xml .............. SUCCESS 
(10.4 s)
[INFO] Building: cli-options\no-man-pages\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\no-man-pages\pom.xml ................. SUCCESS 
(8.6 s)
[INFO] Building: cli-options\strip-debug\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\strip-debug\pom.xml .................. SUCCESS 
(10.5 s)
[INFO] Building: MJLINK-26\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MJLINK-26\pom.xml ................................ SUCCESS 
(7.5 s)
[INFO] Building: MJLINK-3_improveVerboseOutput\pom.xml
[INFO]           MJLINK-3_improveVerboseOutput\pom.xml ............ SUCCESS 
(6.9 s)
[INFO] Building: MJLINK-4_dependencyResolution\pom.xml
[INFO]           MJLINK-4_dependencyResolution\pom.xml ............ SUCCESS 
(8.1 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.1.0:stop (default) @ maven-jlink-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:57442
[INFO] Stopped SocketConnector@0.0.0.0:57442
[INFO] Mock Repository Manager http://localhost:57442 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-jlink-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-jlink-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 17, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:01 min
[INFO] Finished at: 2019-01-20T10:40:32Z
[INFO] Final Memory: 47M/164M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\box_maven-jlink-plugin_MJLINK-29@2@tmp\withMaven423a8805\maven-spy-20190120-103730-6812718787630369184513.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar 
under 
org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-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-jlink-plugin:maven-plugin:3.0.0-alpha-2-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-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
in source directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\box_maven-jlink-plugin_MJLINK-29@2' for 
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 2 files to scan for tasks
[TASKS] Found 6 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 534 ms, Junit Publisher: 
420 ms, Open Task Scanner Publisher: 371 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] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to