Started by user Dmitry Kornilov Rebuilds build #36 Running as Dmitry Kornilov Agent basic-vqhkf is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-vqhkf" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.yasson.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-vqhkf" - 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-vqhkf" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.yasson.svc.cluster.local/yasson/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10.1" 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-yasson" 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-vqhkf (basic) in workspace /home/jenkins/agent/workspace/yasson-master-release [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-lJ7SfhhJCD65/agent.72 SSH_AGENT_PID=74 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/yasson-master-release@tmp/private_key_15180808843295220266.key (/home/jenkins/agent/workspace/yasson-master-release@tmp/private_key_15180808843295220266.key) [ssh-agent] Using credentials yasson-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/yasson.git > git init /home/jenkins/agent/workspace/yasson-master-release # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/yasson.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/yasson-master-release@tmp/jenkins-gitclient-ssh5355175383587948594.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/yasson.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/yasson.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/yasson.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/yasson.git 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/yasson-master-release@tmp/jenkins-gitclient-ssh8548576796829346058.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/yasson.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision dd42d0a3ace1a167e3d3ecbea4510d85f1bc9f34 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f dd42d0a3ace1a167e3d3ecbea4510d85f1bc9f34 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master dd42d0a3ace1a167e3d3ecbea4510d85f1bc9f34 # timeout=10 Commit message: "Issue #500: Serialization of a Map fails if the key uses a custom Serializer (#501)" > git rev-list --no-walk dd42d0a3ace1a167e3d3ecbea4510d85f1bc9f34 # timeout=10 [yasson-master-release] $ /bin/bash -ex /tmp/jenkins10225220664693694506.sh + TOOLS_PREFIX=/opt/tools + MVN_HOME=/opt/tools/apache-maven/latest + PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-16/latest:/bin:/opt/tools/java/openjdk/jdk-16/latest/bin:/opt/tools/java/openjdk/jdk-16/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.5 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + export 'MAVEN_OPTS=--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED' + MAVEN_OPTS='--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED' + git config --global user.email yasson-bot@eclipse.org + git config --global user.name 'Eclipse Yasson Bot' + 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 B11A29C468F7EA64: public key "Eclipse Yasson Project <yasson-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key B11A29C468F7EA64: 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 5FCBD56B27BC981F218DBC24FDE958769183CDB3 trust Secret subkeys are available. pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-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/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-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 AB70E95978F7F235EE94C920B11A29C468F7EA64 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 2022-05-29 pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-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/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> + grep '<version>' pom.xml + grep SNAPSHOT <version>2.0.3-SNAPSHOT</version> ++ mvn -B -s /home/jenkins/.m2/settings.xml org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=2.0.3-SNAPSHOT + '[' -z 2.0.3 ']' + '[' -z 2.0.4-SNAPSHOT ']' + RELEASE_TAG=2.0.3 + RELEASE_BRANCH=2.0.3-BRANCH + echo 'Current version: 2.0.3-SNAPSHOT' Current version: 2.0.3-SNAPSHOT + echo 'Release version: 2.0.3' Release version: 2.0.3 + echo 'Next version: 2.0.4-SNAPSHOT' Next version: 2.0.4-SNAPSHOT + echo 'Release tag: 2.0.3' Release tag: 2.0.3 + '[' -z 2.0.3-SNAPSHOT -o -z 2.0.3 -o -z 2.0.4-SNAPSHOT ']' + '[' false = true ']' + MVN_DEPLOY_ARGS=deploy ++ git remote + GIT_ORIGIN=origin + echo '-[ Prepare branch ]-------------------------------------------------------------' -[ Prepare branch ]------------------------------------------------------------- ++ git branch -r ++ grep origin/2.0.3-BRANCH + [[ -n '' ]] + echo '-[ Release tag cleanup ]--------------------------------------------------------' -[ Release tag cleanup ]-------------------------------------------------------- ++ git tag ++ grep 2.0.3 + [[ -n '' ]] + git branch -D 2.0.3-BRANCH error: branch '2.0.3-BRANCH' not found. + git checkout -b 2.0.3-BRANCH Switched to a new branch '2.0.3-BRANCH' + git tag --delete 2.0.3 error: tag '2.0.3' not found. ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId ++ grep -Ev '(^\[)' + ARTIFACT_ID=yasson ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId ++ grep -Ev '(^\[)' + GROUP_ID=org.eclipse + echo '-[ Set release version ]--------------------------------------------------------' -[ Set release version ]-------------------------------------------------------- + mvn -q -U -C -Pstaging -DnewVersion=2.0.3 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.5:set + 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 release org.eclipse:yasson:2.0.3' [2.0.3-BRANCH 0acf919] Prepare release org.eclipse:yasson:2.0.3 1 file changed, 1 insertion(+), 1 deletion(-) + echo '-[ Deploy artifacts to staging repository ]-----------------------------' -[ Deploy artifacts to staging repository ]----------------------------- + mvn -q -U -C -DskipTests -Poss-release,staging clean deploy [ERROR] Error fetching link: /home/jenkins/agent/workspace/yasson-master-release/target/javadoc-bundle-options. Ignored it. Waiting for operation to complete... .. + echo '-[ Tag release ]----------------------------------------------------------------' -[ Tag release ]---------------------------------------------------------------- + git tag 2.0.3 -m 'Release org.eclipse:yasson:2.0.3' + echo '-[ Set next snapshot version ]--------------------------------------------------' -[ Set next snapshot version ]-------------------------------------------------- + mvn -q -U -C -Pstaging -DnewVersion=2.0.4-SNAPSHOT -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.5:set + 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 2.0.4-SNAPSHOT' [2.0.3-BRANCH b1be71c] Prepare next development cycle for 2.0.4-SNAPSHOT 1 file changed, 1 insertion(+), 1 deletion(-) + '[' false = true ']' + echo '-[ Push branch and tag to GitHub ]----------------------------------------------' -[ Push branch and tag to GitHub ]---------------------------------------------- + git push origin 2.0.3-BRANCH remote: remote: Create a pull request for '2.0.3-BRANCH' on GitHub by visiting: remote: https://github.com/eclipse-ee4j/yasson/pull/new/2.0.3-BRANCH remote: To github.com:eclipse-ee4j/yasson.git * [new branch] 2.0.3-BRANCH -> 2.0.3-BRANCH + git push origin 2.0.3 To github.com:eclipse-ee4j/yasson.git * [new tag] 2.0.3 -> 2.0.3 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 74 killed; [ssh-agent] Stopped. Finished: SUCCESS