Started by user Dmitry Kornilov Rebuilds build #23 Running as Dmitry Kornilov Obtained etc/jenkins/release.groovy from git git@github.com:eclipse-ee4j/saaj-api.git Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor Agent basic-fgdp7 is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-fgdp7" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jaxws.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-fgdp7" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\ \ -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-fgdp7" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jaxws.svc.cluster.local/jaxws/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1" imagePullPolicy: "Always" 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: "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 - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-jaxws" 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" Running on basic-fgdp7 in /home/jenkins/agent/workspace/saaj-spec-api-release [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/saaj-api.git > git init /home/jenkins/agent/workspace/saaj-spec-api-release # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/saaj-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/saaj-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/saaj-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/saaj-api.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/saaj-api.git using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/saaj-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision f706a9a45afe3552ff46fb6aa53622fe5a36dbda (refs/remotes/origin/master) > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f706a9a45afe3552ff46fb6aa53622fe5a36dbda # timeout=10 Commit message: "integrate activation 2.0.0" > git rev-list --no-walk 11f66339bd0c5fda2bf0595e38941b50c3fd56ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Init) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] git using credential github-bot-ssh Fetching changes from the remote Git repository Checking out Revision f706a9a45afe3552ff46fb6aa53622fe5a36dbda (refs/remotes/origin/master) Commit message: "integrate activation 2.0.0" [Pipeline] withCredentials > git rev-parse --is-inside-work-tree # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/saaj-api.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/saaj-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/saaj-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f706a9a45afe3552ff46fb6aa53622fe5a36dbda # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master f706a9a45afe3552ff46fb6aa53622fe5a36dbda # timeout=10 Masking supported pattern matches of $KEYRING [Pipeline] { [Pipeline] sh + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key 2776BC4F5165A5EB: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 2776BC4F5165A5EB: public key "Eclipse Project for JAX-WS " imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 2776BC4F5165A5EB: 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 + + echo -egpg '5 y ' --batch --command-fd 0 --expert --edit-key 335DCD9D3C49BDDA35092B1FAC690B38780454CD trust Secret subkeys are available. pub rsa4096/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JAX-WS pub rsa4096/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JAX-WS 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/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Project for JAX-WS Please note that the shown key validity is not necessarily correct unless you restart the program. + echo -e '5 y ' + gpg --batch --command-fd 0 --expert --edit-key CB3B6379F3D113FA3D7CB45F2776BC4F5165A5EB 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-10-02 pub rsa4096/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JAX-WS pub rsa4096/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JAX-WS 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/2776BC4F5165A5EB created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AC690B38780454CD created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Project for JAX-WS [Pipeline] } [Pipeline] // withCredentials [Pipeline] sh + git config --global user.name 'Eclipse JAXWS Bot' + git config --global user.email jaxws-bot@eclipse.org [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Release) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials jaxws-bot (GitHub bot SSH) [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-cuuknD5FNBJr/agent.258 SSH_AGENT_PID=260 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/saaj-spec-api-release@tmp/private_key_3835134404702896620.key (/home/jenkins/agent/workspace/saaj-spec-api-release@tmp/private_key_3835134404702896620.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + etc/jenkins/release.sh 2.0.0 2.1.0-SNAPSHOT false true + API_VERSION=2.0.0 + NEXT_API_VERSION=2.1.0-SNAPSHOT + DRY_RUN=false + OVERWRITE=true + . etc/scripts/maven.incl.sh ++ VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7 ++ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.2.0 + . etc/scripts/nexus.incl.sh + read_version API /home/jenkins/agent/workspace/saaj-spec-api-release/api + local VERSION_VAR=API_VERSION ++ cd /home/jenkins/agent/workspace/saaj-spec-api-release/api ++ mvn ++ -B org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + local SNAPSHOT_VERSION=2.0.1-SNAPSHOT + '[' -z 2.0.0 ']' + local RELEASE_VERSION=2.0.0 + echo 'API Release Version: 2.0.0' API Release Version: 2.0.0 + eval API_RELEASE_VERSION=2.0.0 ++ API_RELEASE_VERSION=2.0.0 + next_version API 2.0.0 + set -f + NEXT_COMPONENTS=(${2//\./ }) + local NEXT_COMPONENTS + local LAST_INDEX=2 + local 'NEXT_COMPONENTS[2]=1' + local 'COMPONENTS_STR=2 0 1' + local NEXT_VERSION=2.0.1 + local NEXT_SNAPSHOT=2.0.1-SNAPSHOT + echo 'API Next Version: 2.0.1' API Next Version: 2.0.1 + echo 'API Next Snapshot: 2.0.1-SNAPSHOT' API Next Snapshot: 2.0.1-SNAPSHOT + eval API_NEXT_VERSION=2.0.1 ++ API_NEXT_VERSION=2.0.1 + eval API_NEXT_SNAPSHOT=2.0.1-SNAPSHOT ++ API_NEXT_SNAPSHOT=2.0.1-SNAPSHOT + '[' -z 2.0.0 ']' + RELEASE_TAG=2.0.0 + RELEASE_BRANCH=2.0.0-RELEASE + '[' false = true ']' + MVN_DEPLOY_ARGS=deploy ++ git remote + GIT_ORIGIN=origin + echo '-[ Prepare branch ]-------------------------------------------------------------' -[ Prepare branch ]------------------------------------------------------------- ++ git branch -r ++ grep origin/2.0.0-RELEASE + [[ -n '' ]] + echo '-[ Release tag cleanup ]--------------------------------------------------------' -[ Release tag cleanup ]-------------------------------------------------------- ++ git ls-remote --tags origin ++ grep 2.0.0 + [[ -n f72ee35fa94c5ab0db150a9e546f5bb01908f30f refs/tags/2.0.0-RC1 51bc0cf296743378d50e3ea21379421fbddb0567 refs/tags/2.0.0-RC1^{} 7d64df9297e11f9975efcf95360a3d8991306693 refs/tags/2.0.0-RC2 beddd4684c06b1eca50f9db585c290ed554cfa9f refs/tags/2.0.0-RC2^{} 1262d2e62eaec808d52f30870f6836a51bf5d9b1 refs/tags/2.0.0-RC3 86e21067f386439d019423d82c35f788bc552ea2 refs/tags/2.0.0-RC3^{} ]] + '[' true = true ']' + echo '2.0.0 tag already exists, deleting' 2.0.0 tag already exists, deleting + git push --delete origin 2.0.0 error: unable to delete '2.0.0': remote ref does not exist error: failed to push some refs to 'git@github.com:eclipse-ee4j/saaj-api.git' + git branch --delete 2.0.0-RELEASE error: branch '2.0.0-RELEASE' not found. + git checkout -b 2.0.0-RELEASE Switched to a new branch '2.0.0-RELEASE' + git tag --delete 2.0.0 error: tag '2.0.0' not found. + read_mvn_id API /home/jenkins/agent/workspace/saaj-spec-api-release/api ++ cd /home/jenkins/agent/workspace/saaj-spec-api-release/api ++ ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.groupId grep -Ev '(^\[)' + local 'GROUP_ID=Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap' ++ cd /home/jenkins/agent/workspace/saaj-spec-api-release/api ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.artifactId ++ grep -Ev '(^\[)' + local 'ARTIFACT_ID=Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap-api' + echo 'API Group ID: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap' API Group ID: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap + echo 'API Artifact ID: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap-api' API Artifact ID: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap-api + eval 'API_GROUP_ID=Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" jakarta.xml.soap' etc/scripts/maven.incl.sh: eval: line 70: syntax error near unexpected token `(' [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 260 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 2 Finished: FAILURE