Started by user Dmitry Kornilov Running as Dmitry Kornilov Agent default-agent-xlt9n is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "slave-default" name: "default-agent-xlt9n" 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.ca.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-xlt9n" - name: "MAVEN_CONFIG" value: "-B -e" - name: "JENKINS_NAME" value: "default-agent-xlt9n" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.ca.svc.cluster.local/ca/" - 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/.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: 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-ca" 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-xlt9n in workspace /home/jenkins/agent/workspace/CA_parent_staging [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-UfJGeU1FSH6b/agent.90 SSH_AGENT_PID=92 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/CA_parent_staging@tmp/private_key_5712122558306918540.key (/home/jenkins/agent/workspace/CA_parent_staging@tmp/private_key_5712122558306918540.key) [ssh-agent] Using credentials ca-bot (GitHub bot SSH) No credentials specified Cloning the remote Git repository Cloning repository https://github.com/eclipse-ee4j/common-annotations-api.git > git init /home/jenkins/agent/workspace/CA_parent_staging # timeout=10 Fetching upstream changes from https://github.com/eclipse-ee4j/common-annotations-api.git > git --version # timeout=10 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/common-annotations-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse-ee4j/common-annotations-api.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-ee4j/common-annotations-api.git # timeout=10 Fetching upstream changes from https://github.com/eclipse-ee4j/common-annotations-api.git > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/common-annotations-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/2.0.0-RC1-BRANCH^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/2.0.0-RC1-BRANCH^{commit} # timeout=10 Checking out Revision 10cdbea15098bbc95203fabdf6fe70f588cda2ff (refs/remotes/origin/2.0.0-RC1-BRANCH) > git config core.sparsecheckout # timeout=10 > git checkout -f 10cdbea15098bbc95203fabdf6fe70f588cda2ff # timeout=10 Commit message: "Prepare next development cycle for 2.0.0-SNAPSHOT" > git rev-list --no-walk 10cdbea15098bbc95203fabdf6fe70f588cda2ff # timeout=10 [CA_parent_staging] $ /bin/bash -ex /tmp/jenkins4904971234889580332.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 + export REPO_URL=https://jakarta.oss.sonatype.org/service/local/staging/deploy/maven2/ + REPO_URL=https://jakarta.oss.sonatype.org/service/local/staging/deploy/maven2/ + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key 37ECFC571637667C: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 37ECFC571637667C: public key "Eclipse Project for Common Annotations " imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 37ECFC571637667C: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: no ultimately trusted keys found ++ gpg --list-keys --with-colons ++ awk -F: '/fpr:/ {print $10}' ++ sort -u + for fpr in $(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 59A8E169739301FD48139CA00E325BECB6962A24 trust Secret subkeys are available. pub rsa4096/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for Common Annotations pub rsa4096/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for Common Annotations 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/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for Common Annotations Please note that the shown key validity is not necessarily correct unless you restart the program. + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + gpg --batch --command-fd 0 --expert --edit-key F6CE460FDBE1AABD1A96456737ECFC571637667C trust + echo -e '5\ny\n' 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 2023-10-02 pub rsa4096/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for Common Annotations pub rsa4096/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for Common Annotations 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/37ECFC571637667C created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/0E325BECB6962A24 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for Common Annotations + git reset --hard HEAD~1 HEAD is now at c0c3601 Prepare release jakarta.annotation:ca-parent:2.0.0-RC1 + mvn -V -B -Poss-release,staging -DskipTests --projects ./pom.xml clean deploy 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.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) 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-1062.12.1.el7.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for jakarta.annotation:annotations-spec:pom:2.0.0-RC1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 185, column 29 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 197, column 29 [WARNING] [WARNING] Some problems were encountered while building the effective model for jakarta.annotation:ca-parent:pom:2.0.0-RC1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 185, column 29 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 197, column 29 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ org.eclipse.ee4j:project:1.0.6, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.6/project-1.0.6.pom, line 164, column 29 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] --------------------< jakarta.annotation:ca-parent >-------------------- [INFO] Building Jakarta Annotations Parent POM 2.0.0-RC1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ca-parent --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ ca-parent --- [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ ca-parent --- [INFO] [INFO] --- maven-javadoc-plugin:3.1.1:jar (attach-javadocs) @ ca-parent --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ ca-parent --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ca-parent --- [INFO] Installing /home/jenkins/agent/workspace/CA_parent_staging/pom.xml to /home/jenkins/.m2/repository/jakarta/annotation/ca-parent/2.0.0-RC1/ca-parent-2.0.0-RC1.pom [INFO] Installing /home/jenkins/agent/workspace/CA_parent_staging/target/ca-parent-2.0.0-RC1.pom.asc to /home/jenkins/.m2/repository/jakarta/annotation/ca-parent/2.0.0-RC1/ca-parent-2.0.0-RC1.pom.asc [INFO] [INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ ca-parent --- [INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/CA_parent_staging/target/nexus-staging/staging")... [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.15-01 and edition "Professional" [INFO] * Using staging profile ID "3cb835eb436f" (matched by Nexus). [INFO] Installing /home/jenkins/agent/workspace/CA_parent_staging/pom.xml to /home/jenkins/agent/workspace/CA_parent_staging/target/nexus-staging/staging/3cb835eb436f/jakarta/annotation/ca-parent/2.0.0-RC1/ca-parent-2.0.0-RC1.pom [INFO] Installing /home/jenkins/agent/workspace/CA_parent_staging/target/ca-parent-2.0.0-RC1.pom.asc to /home/jenkins/agent/workspace/CA_parent_staging/target/nexus-staging/staging/3cb835eb436f/jakarta/annotation/ca-parent/2.0.0-RC1/ca-parent-2.0.0-RC1.pom.asc [INFO] Performing remote staging... [INFO] [INFO] * Remote staging into staging profile ID "3cb835eb436f" [INFO] * Created staging repository with ID "jakartaannotation-1004". [INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/jakartaannotation-1004 [INFO] * Uploading locally staged artifacts to profile jakarta.annotation [INFO] * Upload of locally staged artifacts finished. [INFO] * Closing staging repository with ID "jakartaannotation-1004". Waiting for operation to complete... .. [INFO] Remote staged 1 repositories, finished with success. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:31 min [INFO] Finished at: 2020-02-14T13:12:01Z [INFO] ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 92 killed; [ssh-agent] Stopped. Finished: SUCCESS