See https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/CLEANUP/10/
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 2457 lines...] [TASKS] Found 2 files to scan for tasks [TASKS] Found 5 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [withMaven] Publishers: Generated Artifacts Publisher: 118 ms, Junit Publisher: 119 ms, Open Task Scanner Publisher: 101 ms, Pipeline Graph Publisher: 1 ms [Pipeline] // withMaven [Pipeline] cleanWs [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-jlink-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-jlink-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\test-classes [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] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-jlink-plugin --- [INFO] Surefire report directory: f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.maven.plugins.jlink.AbstractJLinkMojoTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.637 s - in org.apache.maven.plugins.jlink.AbstractJLinkMojoTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-jlink-plugin --- [INFO] Building jar: f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar [INFO] [INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ maven-jlink-plugin --- [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ maven-jlink-plugin --- [INFO] Skipping because packaging 'maven-plugin' is not pom. [INFO] [INFO] --- mrm-maven-plugin:1.1.0:start (default) @ maven-jlink-plugin --- [INFO] Configuring Mock Repository Manager... [INFO] Mock content (source: f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\src\it\mrm\repository) [INFO] Proxy (source: this Maven session) [INFO] Starting Mock Repository Manager [INFO] Logging to org.slf4j.impl.MavenSimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog [INFO] jetty-6.1.26 [INFO] Started [email protected]:57496 [INFO] Mock Repository Manager http://localhost:57496 is started. [INFO] Setting property 'mrm.repository.url' to 'http://localhost:57496'. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ maven-jlink-plugin --- [INFO] Installing f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\pom.xml to f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.pom [INFO] Installing f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar to f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar [INFO] [INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ maven-jlink-plugin --- [INFO] Running 2 setup jobs: [INFO] Building: setup-jar\pom.xml [INFO] setup-jar\pom.xml ................................ SUCCESS (17.1 s) [INFO] Building: setup-jar-module-info\pom.xml [INFO] setup-jar-module-info\pom.xml .................... FAILED (3.6 s) [INFO] The build exited with code 1. See f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\it\setup-jar-module-info\build.log for details. [INFO] Setup done. [INFO] Building: cli-options\bind-services\pom.xml [INFO] artifact localhost.first-jar-module-info:99.0: checking for updates from central [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 ................ FAILED (7.6 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\compress-0\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\compress-0\pom.xml ................... FAILED (3.4 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\compress-1\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\compress-1\pom.xml ................... FAILED (3.0 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\compress-2\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\compress-2\pom.xml ................... FAILED (4.1 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\disable-plugin\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\disable-plugin\pom.xml ............... FAILED (3.2 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\endian\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\endian\pom.xml ....................... FAILED (3.7 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\endian-big\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\endian-big\pom.xml ................... FAILED (3.8 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\ignore-signing-information\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\ignore-signing-information\pom.xml ... FAILED (3.0 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\no-header-files\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\no-header-files\pom.xml .............. FAILED (3.9 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\no-man-pages\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\no-man-pages\pom.xml ................. FAILED (3.3 s) [INFO] The post-build script returned false. [INFO] Building: cli-options\strip-debug\pom.xml [INFO] run post-build script verify.groovy [INFO] cli-options\strip-debug\pom.xml .................. FAILED (3.1 s) [INFO] The post-build script returned false. [INFO] Building: MJLINK-3_improveVerboseOutput\pom.xml [INFO] MJLINK-3_improveVerboseOutput\pom.xml ............ SUCCESS (15.1 s) [INFO] Building: MJLINK-4_dependencyResolution\pom.xml [INFO] MJLINK-4_dependencyResolution\pom.xml ............ SUCCESS (11.8 s) [INFO] [INFO] --- mrm-maven-plugin:1.1.0:stop (default) @ maven-jlink-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:57496 [INFO] Stopped [email protected]:57496 [INFO] Mock Repository Manager http://localhost:57496 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: 3, Failed: 12, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * cli-options\bind-services\pom.xml [ERROR] * cli-options\compress-0\pom.xml [ERROR] * cli-options\compress-1\pom.xml [ERROR] * cli-options\compress-2\pom.xml [ERROR] * cli-options\disable-plugin\pom.xml [ERROR] * cli-options\endian-big\pom.xml [ERROR] * cli-options\endian\pom.xml [ERROR] * cli-options\ignore-signing-information\pom.xml [ERROR] * cli-options\no-header-files\pom.xml [ERROR] * cli-options\no-man-pages\pom.xml [ERROR] * cli-options\strip-debug\pom.xml [ERROR] * setup-jar-module-info\pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:45 min [INFO] Finished at: 2019-01-20T10:40:09Z [INFO] Final Memory: 47M/164M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2@tmp\withMaven7369ca9b\maven-spy-20190120-103823-8319951248479380972985.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-jlink-plugin: 12 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.1.0:verify (integration-test) on project maven-jlink-plugin: 12 builds 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: 12 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: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] } [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\n-box_maven-jlink-plugin_CLEANUP@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 5 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [withMaven] Publishers: Generated Artifacts Publisher: 89 ms, Junit Publisher: 396 ms, Open Task Scanner Publisher: 394 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
