Started by user Ivar Grimstad Running as Ivar Grimstad Agent basic-jp0pn is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-jp0pn" namespace: "ee4j" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.ee4j.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-jp0pn" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-jp0pn" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.ee4j.svc.cluster.local/ee4j/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - 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: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-ee4j" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-jp0pn (basic) in workspace /home/jenkins/agent/workspace/ee4j-parent-master [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-AKSEprmA7XdN/agent.49 SSH_AGENT_PID=51 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/ee4j-parent-master@tmp/private_key_13675059865107480933.key (/home/jenkins/agent/workspace/ee4j-parent-master@tmp/private_key_13675059865107480933.key) [ssh-agent] Using credentials ee4j-bot (GitHub bot SSH) The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/ee4j.git > git init /home/jenkins/agent/workspace/ee4j-parent-master # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/ee4j.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_SSH to set credentials GitHub bot SSH [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/ee4j-parent-master@tmp/jenkins-gitclient-ssh8559137261769107408.key Verifying host key using known hosts file > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/ee4j.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/ee4j.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision deda5d7f3beef80abd2c2e0506904a7c3532b393 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f deda5d7f3beef80abd2c2e0506904a7c3532b393 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master deda5d7f3beef80abd2c2e0506904a7c3532b393 # timeout=10 Commit message: "Merge pull request #81 from arjantijms/update_versions" > git rev-list --no-walk 800ec6ec9f2aa3c9ce246371eea46887d66ea87b # timeout=10 [ee4j-parent-master] $ /bin/sh -xe /tmp/jenkins10421803534920807467.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 5796E91EE6619C69: public key "Eclipse EE4J Project <ee4j-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 5796E91EE6619C69: 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 + 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 AA70C7C433D501636392EC02153E7A3C2B4E5118 trust Secret subkeys are available. pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: unknown validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: unknown validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> 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/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> 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) + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key C3F530A8FDE7926E0F6C71475796E91EE6619C69 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 2023-04-26 pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> 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/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> [ee4j-parent-master] $ /bin/bash -ex /tmp/jenkins13955404638731561094.sh + M2_HOME=/opt/tools/apache-maven/latest + PATH=/opt/tools/java/oracle/jdk-9/latest/bin:/opt/tools/apache-maven/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + BUILD_DIR=parent + cd parent + grep '<version>' pom.xml + grep SNAPSHOT <version>1.0.8-SNAPSHOT</version> ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=1.0.8-SNAPSHOT + '[' -z 1.0.8 ']' + '[' -z 1.0.9-SNAPSHOT ']' + RELEASE_BRANCH=1.0.8-RELEASE + RELEASE_TAG=1.0.8 + STAGING_NAME=orgeclipseee4j ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId ++ grep -Ev '(^\[)' + ARTIFACT_ID=project ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId ++ grep -Ev '(^\[)' + GROUP_ID=org.eclipse.ee4j + echo '-[ Generated variables ]----------------------------------------' -[ Generated variables ]---------------------------------------- + echo 'Group ID: org.eclipse.ee4j' Group ID: org.eclipse.ee4j + echo 'Artifact ID: project' Artifact ID: project + echo 'Current version: 1.0.8-SNAPSHOT' Current version: 1.0.8-SNAPSHOT + echo 'Release version: 1.0.8' Release version: 1.0.8 + echo 'Next version: 1.0.9-SNAPSHOT' Next version: 1.0.9-SNAPSHOT + echo 'Nexus ID prefix: orgeclipseee4j' Nexus ID prefix: orgeclipseee4j + '[' -z 1.0.8-SNAPSHOT -o -z 1.0.8 -o -z 1.0.9-SNAPSHOT ']' + '[' true = true ']' + echo '-[ Dry run turned on ]----------------------------------------------------------' -[ Dry run turned on ]---------------------------------------------------------- + MVN_DEPLOY_ARGS= + echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------' -[ Skipping GitHub branch and tag checks ]-------------------------------------- + git branch --delete 1.0.8-RELEASE error: branch '1.0.8-RELEASE' not found. + git checkout -b 1.0.8-RELEASE Switched to a new branch '1.0.8-RELEASE' + git tag --delete 1.0.8 error: tag '1.0.8' not found. + git config --global user.email ee4j-bot@eclipse.org + git config --global user.name 'Eclipse EE4J Bot' + echo '-[ Checking POM ]---------------------------------------------------------------' -[ Checking POM ]--------------------------------------------------------------- + mvn -B -U -C clean verify [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.8-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.151 s [INFO] Finished at: 2022-11-05T15:43:01Z [INFO] ------------------------------------------------------------------------ + echo '-[ Parent POM Staging Repository List ]-------------------------------------------' -[ Parent POM Staging Repository List ]------------------------------------------- + mvn -B nexus-staging:rc-list + egrep '^\[INFO\] orgeclipseee4j\-[0-9]+[ ]+[A-Z]+[ ]' [INFO] orgeclipseee4j-1002 CLOSED org.eclipse.ee4j:project:1.0.7 [INFO] orgeclipseee4j-1003 CLOSED org.eclipse.ee4j:project:1.0.7 [INFO] orgeclipseee4j-1004 CLOSED org.eclipse.ee4j:project:1.0.7 + '[' -z 1.0.8-SNAPSHOT -o -z 1.0.8 -o -z 1.0.9-SNAPSHOT ']' + mvn -B -U -C -DnewVersion=1.0.8 -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.8-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ project --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /home/jenkins/agent/workspace/ee4j-parent-master/parent [INFO] Processing change of org.eclipse.ee4j:project:1.0.8-SNAPSHOT -> 1.0.8 [INFO] Processing org.eclipse.ee4j:project [INFO] Updating project org.eclipse.ee4j:project [INFO] from version 1.0.8-SNAPSHOT to 1.0.8 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.104 s [INFO] Finished at: 2022-11-05T15:43:21Z [INFO] ------------------------------------------------------------------------ + cd /home/jenkins/agent/workspace/ee4j-parent-master + echo '-[ Commit modified pom.xml files ]----------------------------------------------' -[ Commit modified pom.xml files ]---------------------------------------------- ++ git status ++ grep -E 'modified:.*pom\.xml' ++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//' + POM_FILES=parent/pom.xml + git add parent/pom.xml + git commit -m 'Prepare release org.eclipse.ee4j:project:1.0.8' [1.0.8-RELEASE fd08d35] Prepare release org.eclipse.ee4j:project:1.0.8 1 file changed, 1 insertion(+), 1 deletion(-) + cd parent + '[' true '!=' true ']' + mvn -Poss-release -B -U -C clean verify [INFO] Scanning for projects... [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] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.8 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project --- [INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven) @ project --- [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ project --- [INFO] [INFO] --- maven-javadoc-plugin:3.4.1:jar (attach-javadocs) @ project --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-gpg-plugin:3.0.1:sign (sign-artifacts) @ project --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.072 s [INFO] Finished at: 2022-11-05T15:43:33Z [INFO] ------------------------------------------------------------------------ + cd /home/jenkins/agent/workspace/ee4j-parent-master + echo '-[ Tag release ]----------------------------------------------------------------' -[ Tag release ]---------------------------------------------------------------- + git tag 1.0.8 -m 'Release org.eclipse.ee4j:project:1.0.8' + cd parent + mvn -B -U -C -DnewVersion=1.0.9-SNAPSHOT -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.8 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ project --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /home/jenkins/agent/workspace/ee4j-parent-master/parent [INFO] Processing change of org.eclipse.ee4j:project:1.0.8 -> 1.0.9-SNAPSHOT [INFO] Processing org.eclipse.ee4j:project [INFO] Updating project org.eclipse.ee4j:project [INFO] from version 1.0.8 to 1.0.9-SNAPSHOT [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.758 s [INFO] Finished at: 2022-11-05T15:43:37Z [INFO] ------------------------------------------------------------------------ + echo '-[ Commit modified pom.xml files ]----------------------------------------------' -[ Commit modified pom.xml files ]---------------------------------------------- ++ git status ++ grep -E 'modified:.*pom\.xml' ++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//' + POM_FILES=pom.xml + git add pom.xml + git commit -m 'Prepare next development cycle for 1.0.9-SNAPSHOT' [1.0.8-RELEASE 8d53d52] Prepare next development cycle for 1.0.9-SNAPSHOT 1 file changed, 1 insertion(+), 1 deletion(-) + '[' true = true ']' + echo '-[ Skipping GitHub update ]-----------------------------------------------------' -[ Skipping GitHub update ]----------------------------------------------------- $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 51 killed; [ssh-agent] Stopped. Finished: SUCCESS