Started by user Nikhil Nanivadekar Running as Nikhil Nanivadekar Agent default-agent-zsb9h is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" name: "default-agent-zsb9h" spec: containers: - env: - name: "MAVEN_OPTS" value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.collections.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-zsb9h" - name: "MAVEN_CONFIG" value: "-B -e" - name: "JENKINS_NAME" value: "default-agent-zsb9h" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.collections.svc.cluster.local/collections/" - name: "HOME" value: "/home/jenkins" image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:5d06ebec6e9dffc44fb41009a51d085a83944a23f651416531b960143d186340" imagePullPolicy: "IfNotPresent" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "toolchains-xml" readOnly: true subPath: "toolchains.xml" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "settings-security-xml" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/settings.xml" name: "settings-xml" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: {} restartPolicy: "Never" volumes: - name: "settings-security-xml" secret: items: - key: "settings-security.xml" path: "settings-security.xml" secretName: "m2-secret-dir" - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-collections" readOnly: true - configMap: items: - key: "toolchains.xml" path: "toolchains.xml" name: "m2-dir" name: "toolchains-xml" - emptyDir: medium: "" name: "volume-2" - configMap: name: "known-hosts" name: "volume-1" - name: "settings-xml" secret: items: - key: "settings.xml" path: "settings.xml" secretName: "m2-secret-dir" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-3" Building remotely on default-agent-zsb9h in workspace /home/jenkins/agent/workspace/deploy No credentials specified Cloning the remote Git repository Cloning repository https://github.com/eclipse/eclipse-collections.git > git init /home/jenkins/agent/workspace/deploy # timeout=10 Fetching upstream changes from https://github.com/eclipse/eclipse-collections.git > git --version # timeout=10 > git fetch --tags --force --progress -- https://github.com/eclipse/eclipse-collections.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://github.com/eclipse/eclipse-collections.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse/eclipse-collections.git # timeout=10 Fetching upstream changes from https://github.com/eclipse/eclipse-collections.git > git fetch --tags --force --progress -- https://github.com/eclipse/eclipse-collections.git +refs/tags/*:refs/remotes/origin/tags/* > git rev-parse tags/10.1.0.M1^{commit} # timeout=10 > git rev-parse refs/remotes/origin/tags/10.1.0.M1^{commit} # timeout=10 Checking out Revision e1640391d903044e09840f8c0ed7d9671c70e0d2 (tags/10.1.0.M1) > git config core.sparsecheckout # timeout=10 > git checkout -f e1640391d903044e09840f8c0ed7d9671c70e0d2 Commit message: "Release version 10.1.0.M1." > git rev-list --no-walk e1640391d903044e09840f8c0ed7d9671c70e0d2 # timeout=10 [deploy] $ /bin/sh -xe /tmp/jenkins143917686927153468.sh + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 5799E6C482208310: public key "Eclipse Collections Project " imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 5799E6C482208310: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 + gpg --list-keys --with-colons + awk -F: '/fpr:/ {print $10}' + sort -u + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key 15C53CCAE46F2C7AF5F89FCF5799E6C482208310 trust Secret subkeys are available. pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: unknown validity: unknown ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ unknown] (1). Eclipse Collections Project pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: unknown validity: unknown ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ unknown] (1). Eclipse Collections Project Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: ultimate validity: unknown ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ unknown] (1). Eclipse Collections Project Please note that the shown key validity is not necessarily correct unless you restart the program. + + echogpg -e '5\ny\n' --batch --command-fd 0 --expert --edit-key D9905D77178BAC979B03C462E46D9A6A3624B8E3 trust Secret subkeys are available. gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: next trustdb check due at 2020-12-08 pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: ultimate validity: ultimate ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ultimate] (1). Eclipse Collections Project pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: ultimate validity: ultimate ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ultimate] (1). Eclipse Collections Project Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/5799E6C482208310 created: 2015-12-10 expires: 2020-12-08 usage: SC trust: ultimate validity: ultimate ssb rsa4096/E46D9A6A3624B8E3 created: 2015-12-10 expires: 2020-12-08 usage: S [ultimate] (1). Eclipse Collections Project [deploy] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -DRELEASE_TAG=10.1.0.M1 -Dmaven.repo.local=/home/jenkins/agent/workspace/deploy/.repository -pl !jmh-scala-tests,!jmh-tests,!junit-trait-runner,!scala-unit-tests,!serialization-tests,!test-coverage,!unit-tests-java8,!unit-tests,!p2-repository,!p2-repository/org.eclipse.collections -DperformRelease=true -Dsurefire.useFile=false clean javadoc:jar install eclipse-jarsigner:sign deploy -B Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) Maven home: /opt/tools/apache-maven/latest Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: /opt/tools/java/oracle/jdk-8/1.8.0_202/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-957.10.1.el7.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Eclipse Collections Parent Project [pom] [INFO] Eclipse Collections Code Generator [jar] [INFO] Eclipse Collections Code Generator Maven Plugin [maven-plugin] [INFO] Eclipse Collections API [jar] [INFO] Eclipse Collections Main Library [jar] [INFO] Eclipse Collections Test Utilities [jar] [INFO] Eclipse Collections Fork Join Utilities [jar] [INFO] Eclipse Collections JCStress Test Suite [jar] [INFO] [INFO] ---------< org.eclipse.collections:eclipse-collections-parent >--------- [INFO] Building Eclipse Collections Parent Project 10.1.0.M1 [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ eclipse-collections-parent --- [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ eclipse-collections-parent --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce) @ eclipse-collections-parent --- [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ eclipse-collections-parent --- [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ eclipse-collections-parent --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (default) @ eclipse-collections-parent --- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:analyze-only (analyze) @ eclipse-collections-parent --- [INFO] Skipping pom project [INFO] [INFO] --- eclipse-jarsigner-plugin:1.1.7:sign (jarsign) @ eclipse-collections-parent --- [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ eclipse-collections-parent --- gpg: signing failed: Not a tty gpg: signing failed: Not a tty [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Eclipse Collections Parent Project 10.1.0.M1: [INFO] [INFO] Eclipse Collections Parent Project ................. FAILURE [ 8.858 s] [INFO] Eclipse Collections Code Generator ................. SKIPPED [INFO] Eclipse Collections Code Generator Maven Plugin .... SKIPPED [INFO] Eclipse Collections API ............................ SKIPPED [INFO] Eclipse Collections Main Library ................... SKIPPED [INFO] Eclipse Collections Test Utilities ................. SKIPPED [INFO] Eclipse Collections Fork Join Utilities ............ SKIPPED [INFO] Eclipse Collections JCStress Test Suite ............ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 49.240 s [INFO] Finished at: 2019-11-22T15:23:20Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project eclipse-collections-parent: Exit code: 2 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project eclipse-collections-parent: Exit code: 2 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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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.MojoExecutionException: Exit code: 2 at org.apache.maven.plugin.gpg.GpgSigner.generateSignatureForFile (GpgSigner.java:167) at org.apache.maven.plugin.gpg.AbstractGpgSigner.generateSignatureForArtifact (AbstractGpgSigner.java:205) at org.apache.maven.plugin.gpg.GpgSignAttachedMojo.execute (GpgSignAttachedMojo.java:176) 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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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/MojoExecutionException Build step 'Invoke top-level Maven targets' marked build as failure Build was aborted Aborted by Nikhil Nanivadekar No mail will be sent out, as 'deploy #116' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts. Finished: ABORTED