Started by user Steve Millidge Running as Steve Millidge Agent default-agent-7j3h8 is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "default-agent-7j3h8" 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.cu.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-7j3h8" - name: "MAVEN_CONFIG" value: "-B -e" - name: "JENKINS_NAME" value: "default-agent-7j3h8" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.cu.svc.cluster.local/cu/" - name: "HOME" value: "/home/jenkins" image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:dff125e05404688a78bd67d5b47d107d98ec7583282e8ed9ca6646a2a76874e2" imagePullPolicy: "IfNotPresent" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - 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 workingDir: "/home/jenkins/agent" hostNetwork: false nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} 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-cu" 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-7j3h8 in workspace /home/jenkins/agent/workspace/Release API to Maven Central [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-rIQrXNF4Qfm0/agent.55 SSH_AGENT_PID=57 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/Release API to Maven Central@tmp/private_key_5766551285222799288.key (/home/jenkins/agent/workspace/Release API to Maven Central@tmp/private_key_5766551285222799288.key) [ssh-agent] Using credentials cu-bot (GitHub bot SSH) using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/concurrency-api.git > git init /home/jenkins/agent/workspace/Release API to Maven Central # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/concurrency-api.git > git --version # timeout=10 using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/concurrency-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/concurrency-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/concurrency-api.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/concurrency-api.git using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/concurrency-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/2.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/2.0^{commit} # timeout=10 Checking out Revision a76aa6795a9472be81c8f5fbf0dc91d157b6ede5 (refs/remotes/origin/2.0) > git config core.sparsecheckout # timeout=10 > git checkout -f a76aa6795a9472be81c8f5fbf0dc91d157b6ede5 # timeout=10 Commit message: "Merge pull request #112 from smillidge/comment-out-spec-plugin" First time build. Skipping changelog. [Release API to Maven Central] $ /bin/sh -xe /tmp/jenkins8818486874133194188.sh + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/oracle + MVN_HOME=/opt/tools/apache-maven/latest + JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest + PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + NEXUS_PLUGIN=org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7 + NEXUS_PLUGIN_PARAMS='-DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh' + '[[' true '=' true ]] + echo '-[ List turned on ]----------------------------------------------------------' -[ List turned on ]---------------------------------------------------------- + mvnq '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh' org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list + mvn -B '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh' org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list + grep -v '^\[INFO\] Download' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.apache.maven:standalone-pom >------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.7:rc-list (default-cli) @ standalone-pom --- [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.15-01 and edition "Professional" [INFO] Getting list of available staging repositories... [INFO] [INFO] ID State Description [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.109 s [INFO] Finished at: 2020-01-30T22:06:34Z [INFO] ------------------------------------------------------------------------ + '[[' false '!=' true ]] + echo 'Releasing repositoryID=jakartaenterpriseconcurrent-1000' Releasing repositoryID=jakartaenterpriseconcurrent-1000 + mvnq '-DstagingRepositoryId=jakartaenterpriseconcurrent-1000' '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh' org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release + mvn -B '-DstagingRepositoryId=jakartaenterpriseconcurrent-1000' '-DnexusUrl=https://oss.sonatype.org/' '-DserverId=ossrh'+ org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release grep -v '^\[INFO\] Download' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 [INFO] Scanning for projects... [INFO] [INFO] ------------------< org.apache.maven:standalone-pom >------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) @ standalone-pom --- [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.15-01 and edition "Professional" [INFO] RC-Releasing staging repository with IDs=[jakartaenterpriseconcurrent-1000] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.149 s [INFO] Finished at: 2020-01-30T22:06:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release (default-cli) on project standalone-pom: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release failed: Internal Server Error : entity body dump follows: <nexus-error> [ERROR] <errors> [ERROR] <error> [ERROR] <id>*</id> [ERROR] <msg>Unhandled: Missing staging repository: jakartaenterpriseconcurrent-1000</msg> [ERROR] </error> [ERROR] </errors> [ERROR] </nexus-error> [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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/PluginExecutionException $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 57 killed; [ssh-agent] Stopped. Finished: SUCCESS