See https://builds.apache.org/job/maven-box/job/maven-gpg-plugin/job/master/28/
Changes: * use a special local repo to have a bit of caching * add mavenLinkerPublisher No tests ran. Build log: [...truncated 2116 lines...] Commit message: "Switch to asfMavenTlpPlgnBuild" Cleaning workspace > git config remote.origin.url > https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url > https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git > git fetch --no-tags --progress > https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git > +refs/heads/*:refs/remotes/origin/* > git config core.sparsecheckout # timeout=10 > git checkout -f a3196f290f1858e3d5519d9a33b26b0518850e0c [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build windows-jdk11-m3.5.x_build) [Pipeline] withMaven [withMaven] Options: [org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=false], JunitTestsPublisher[disabled=false,healthScaleFactor=,keepLongStdio=false,ignoreAttachments=false], org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled='false', healthy='', unHealthy='', thresholdLimit='low'], org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled='false', healthy='', unHealthy='', thresholdLimit='low'], org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=false, scopes=[compile, provided, runtime], versions={snapshot:true, release:false}], org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=false], org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=false, scopes=[compile, provided, runtime], versions={snapshot:true, release:false}, skipDownstreamTriggers=false, lifecycleThreshold=deploy, ignoreUpstreamTriggers=false], org.jenkinsci.plugins.pipeline.maven.publishers.MavenLinkerPublisher2[disabled=false]] [withMaven] Available options: [withMaven] using JDK installation JDK 11 (latest) [withMaven] using Maven installation 'Maven 3.5.2 (Windows)' > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 [Pipeline] { [Pipeline] dir Running in f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build [Pipeline] { [Pipeline] isUnix [Pipeline] bat f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build>mvn -P+run-its -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -e clean verify ----- withMaven Wrapper script ----- Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2@tmp\withMaven5e118a06\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2@tmp\withMaven5e118a06" Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) Maven home: F:\jenkins\tools\maven\apache-maven-3.5.2\bin\.. Java version: 11, vendor: Oracle Corporation Java home: f:\jenkins\tools\java\latest11 Default locale: en_US, platform encoding: Cp1252 OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows" [INFO] [jenkins-event-spy] Generate F:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2@tmp\withMaven5e118a06\maven-spy-20190102-090532-8125793207469111569037.log.tmp ... [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Maven GPG Plugin 1.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ maven-gpg-plugin --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ maven-gpg-plugin --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\.gitignore [INFO] Finished adding exclusions from SCM ignore files. [INFO] 72 implicit excludes (use -debug for more details). [INFO] Exclude: src/test/resources/gnupg/* [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] 67 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 55 licenses. [INFO] [INFO] --- maven-plugin-plugin:3.5.2:helpmojo (generate-helpmojo) @ maven-gpg-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 0 mojo descriptor. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-gpg-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-gpg-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\classes [INFO] /f:/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/windows-jdk11-m3.5.x_build/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java: Some input files use unchecked or unsafe operations. [INFO] /f:/jenkins/jenkins-slave/workspace/aven-box_maven-gpg-plugin_master@2/windows-jdk11-m3.5.x_build/src/main/java/org/apache/maven/plugin/gpg/GpgSignAttachedMojo.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-plugin-plugin:3.5.2:descriptor (default-descriptor) @ maven-gpg-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 3 mojo descriptors. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-gpg-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-gpg-plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-gpg-plugin --- [INFO] Building jar: f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\maven-gpg-plugin-1.7-SNAPSHOT.jar [INFO] [INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ maven-gpg-plugin --- [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ maven-gpg-plugin --- [INFO] Skipping because packaging 'maven-plugin' is not pom. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ maven-gpg-plugin --- [INFO] Installing f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\pom.xml to f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-SNAPSHOT.pom [INFO] Installing f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\maven-gpg-plugin-1.7-SNAPSHOT.jar to f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-SNAPSHOT.jar [INFO] [INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ maven-gpg-plugin --- [INFO] Building: alternative-secret-keyring\pom.xml [INFO] run post-build script verify.bsh [INFO] alternative-secret-keyring\pom.xml ............... FAILED (6.8 s) [INFO] The post-build script did not succeed. Missing file f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\its\gpg\ask\test\1.0\test-1.0.pom [INFO] Building: no-main-artifact\pom.xml [INFO] run post-build script verify.bsh [INFO] no-main-artifact\pom.xml ......................... FAILED (3.5 s) [INFO] The post-build script did not succeed. Missing file f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\its\gpg\nma\test\1.0\test-1.0.pom [INFO] Building: sign-release\pom.xml [INFO] run post-build script verify.bsh [INFO] sign-release\pom.xml ............................. FAILED (3.8 s) [INFO] The post-build script did not succeed. Missing file f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\its\gpg\sr\test\1.0\test-1.0.pom [INFO] Building: sign-with-passphase-from-maven-settings\pom.xml [INFO] run post-build script verify.bsh [INFO] sign-with-passphase-from-maven-settings\pom.xml .. FAILED (2.9 s) [INFO] The post-build script did not succeed. Missing file f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\its\gpg\nma\test\1.0\test-1.0.pom [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-gpg-plugin --- [INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 1 error, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-gpg-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 0, Failed: 4, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * alternative-secret-keyring\pom.xml [ERROR] * no-main-artifact\pom.xml [ERROR] * sign-release\pom.xml [ERROR] * sign-with-passphase-from-maven-settings\pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26.995 s [INFO] Finished at: 2019-01-02T09:06:00Z [INFO] Final Memory: 37M/134M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2@tmp\withMaven5e118a06\maven-spy-20190102-090532-8125793207469111569037.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-gpg-plugin: 4 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-gpg-plugin: 4 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: 4 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] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-gpg-plugin:maven-plugin:1.7-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml Recording test results None of the test reports contained any result [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-gpg-plugin:maven-plugin:1.7-SNAPSHOT in source directory windows-jdk11-m3.5.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2' for files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 8 files to scan for tasks [TASKS] Found 1 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #23 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-gpg-plugin:maven-plugin:1.7-SNAPSHOT(version: 1.7-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test integration-test}: windows-jdk11-m3.5.x_build\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 203 ms, Junit Publisher: 108 ms, Open Task Scanner Publisher: 333 ms, Invoker Publisher: 3776 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-alternative-secret-keyring.xml [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\aven-box_maven-gpg-plugin_master@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-alternative-secret-keyring.xml [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
