Started by user arjan tijms Rebuilds build #3 Running as arjan tijms Agent basic-p6ftk is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-p6ftk" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.grizzly.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-p6ftk" - 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-p6ftk" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.grizzly.svc.cluster.local/grizzly/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.11.2" 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-grizzly" 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" [EnvInject] - Loading node environment variables. Building remotely on basic-p6ftk (basic) in workspace /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage [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-Naw9I30Wf4V8/agent.80 SSH_AGENT_PID=82 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage@tmp/private_key_3248716562917488585.key (/home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage@tmp/private_key_3248716562917488585.key) [ssh-agent] Using credentials eclipse-grizzly-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/grizzly-thrift.git > git init /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/grizzly-thrift.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/1_grizzly_thrift-build-and-stage@tmp/jenkins-gitclient-ssh14186555143752570189.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/grizzly-thrift.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/grizzly-thrift.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/arjantijms-patch-1^{commit} # timeout=10 Checking out Revision 4c24fbea065962fa5cf21b20c20d0287714f7d43 (refs/remotes/origin/arjantijms-patch-1) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c24fbea065962fa5cf21b20c20d0287714f7d43 # timeout=10 Commit message: "Update pom.xml" > git rev-list --no-walk 4c24fbea065962fa5cf21b20c20d0287714f7d43 # timeout=10 [1_grizzly_thrift-build-and-stage] $ /bin/bash -ex /tmp/jenkins16317616300841578025.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 C0DF20AC84F198AE: public key "Eclipse Grizzly Project <grizzly-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key C0DF20AC84F198AE: 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) + gpg --batch --command-fd 0 --expert --edit-key 3AC8633E97ACA1E8F2A7ED239052174975143979 trust + echo -e '5\ny\n' Secret subkeys are available. pub rsa4096/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: unknown validity: unknown ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ unknown] (1). Eclipse Grizzly Project <grizzly-dev@eclipse.org> pub rsa4096/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: unknown validity: unknown ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ unknown] (1). Eclipse Grizzly Project <grizzly-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/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ unknown] (1). Eclipse Grizzly Project <grizzly-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 5C6C110AC6ED91594D92B795C0DF20AC84F198AE 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-04 pub rsa4096/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ultimate] (1). Eclipse Grizzly Project <grizzly-dev@eclipse.org> pub rsa4096/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ultimate] (1). Eclipse Grizzly Project <grizzly-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/C0DF20AC84F198AE created: 2018-04-05 expires: 2023-04-04 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9052174975143979 created: 2018-04-05 expires: 2023-04-04 usage: S [ultimate] (1). Eclipse Grizzly Project <grizzly-dev@eclipse.org> [1_grizzly_thrift-build-and-stage] $ /bin/bash -ex /tmp/jenkins5482645165232837858.sh + git config --global user.email eclipse-grizzly-bot@eclipse.org + git config --global user.name 'Eclipse Grizzly Bot' [1_grizzly_thrift-build-and-stage] $ /bin/bash -e /tmp/jenkins11733953490719069183.sh [1_grizzly_thrift-build-and-stage] $ /bin/bash -ex /tmp/jenkins14263969865031977962.sh + '[' false = true ']' + '[' false = true ']' + TOOLS_PREFIX=/opt/tools + '[' JDK8 = JDK11 ']' + JAVA_PREFIX=/opt/tools/java/oracle + JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest + MVN_HOME=/opt/tools/apache-maven/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 + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + MVN_EXTRA='--batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pstaging' + BUILD_DIR=/home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + IMPL_DIR=/home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + grep '<version>' pom.xml + grep SNAPSHOT <version>1.3.16-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.3.16-SNAPSHOT + '[' -z 1.3.16 ']' + '[' -z '' ']' ++ echo 1.3.16 ++ sed -e 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/' + NEXT_VERSION=1.3 + set -f + NEXT_COMPONENTS=(${RELEASE_VERSION//\./ }) + LAST_INDEX=2 + NEXT_COMPONENTS[${LAST_INDEX}]=17 ++ echo 1 3 17 ++ tr ' ' . + NEXT_VERSION=1.3.17-SNAPSHOT + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + RELEASE_TAG=1.3.16-RELEASE + RELEASE_BRANCH=1.3.16 + echo 'Release version: 1.3.16' Release version: 1.3.16 + echo 'Next version: 1.3.17-SNAPSHOT' Next version: 1.3.17-SNAPSHOT + echo 'Current version: 1.3.16-SNAPSHOT' Current version: 1.3.16-SNAPSHOT + echo 'Release branch: 1.3.16' Release branch: 1.3.16 + echo 'Release tag: 1.3.16-RELEASE' Release tag: 1.3.16-RELEASE + '[' -z 1.3.16-SNAPSHOT -o -z 1.3.16 -o -z 1.3.17-SNAPSHOT ']' + '[' true = true ']' + echo '-[ Dry run turned on ]----------------------------------------------------------' -[ Dry run turned on ]---------------------------------------------------------- + MVN_DEPLOY_ARGS=install + echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------' -[ Skipping GitHub branch and tag checks ]-------------------------------------- + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + git branch --delete 1.3.16 error: branch '1.3.16' not found. + git checkout -b 1.3.16 Switched to a new branch '1.3.16' + git tag --delete 1.3.16-RELEASE error: tag '1.3.16-RELEASE' not found. + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId ++ grep -Ev '(^\[)' + ARTIFACT_ID=grizzly-thrift ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId ++ grep -Ev '(^\[)' + GROUP_ID=org.glassfish.grizzly + STAGING_DESC=org.glassfish.grizzly:grizzly-thrift:1.3.16 ++ echo org.glassfish.grizzly:grizzly-thrift:1.3.16 ++ sed -e 's/\./\\\./g' + STAGING_KEY='org\.glassfish\.grizzly:grizzly-thrift:1\.3\.16' + echo '-[ Set release version ]--------------------------------------------------------' -[ Set release version ]-------------------------------------------------------- + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + mvn -U -C -DnewVersion=1.3.16 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pstaging [INFO] Scanning for projects... [INFO] [INFO] ----------------< org.glassfish.grizzly:grizzly-thrift >---------------- [INFO] Building grizzly-thrift 1.3.16-SNAPSHOT [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ grizzly-thrift --- [INFO] [INFO] ----------------< org.glassfish.grizzly:grizzly-thrift >---------------- [INFO] Building grizzly-thrift 1.3.16-SNAPSHOT [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ grizzly-thrift --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage [INFO] Processing change of org.glassfish.grizzly:grizzly-thrift:1.3.16-SNAPSHOT -> 1.3.16 [INFO] Processing org.glassfish.grizzly:grizzly-thrift [INFO] Updating project org.glassfish.grizzly:grizzly-thrift [INFO] from version 1.3.16-SNAPSHOT to 1.3.16 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.749 s [INFO] Finished at: 2022-02-23T14:49:08Z [INFO] ------------------------------------------------------------------------ + echo '-[ Commit modified pom.xml files ]----------------------------------------------' -[ Commit modified pom.xml files ]---------------------------------------------- + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage ++ 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.glassfish.grizzly:grizzly-thrift:1.3.16' [1.3.16 08d3084] Prepare release org.glassfish.grizzly:grizzly-thrift:1.3.16 1 file changed, 1 insertion(+), 1 deletion(-) + echo '-[ Drop old staging repository deployments ]------------------------------------' -[ Drop old staging repository deployments ]------------------------------------ + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage ++ mvn -B nexus-staging:rc-list ++ egrep '^\[INFO\] [A-Z,a-z,-]+-[0-9]+\s+[A-Z]+\s+org\.glassfish\.grizzly:grizzly-thrift:1\.3\.16' ++ awk '{print $2}' + echo '-[ Deploy artifacts to staging repository ]-------------------------------------' -[ Deploy artifacts to staging repository ]------------------------------------- + cd /home/jenkins/agent/workspace/1_grizzly_thrift-build-and-stage + mvn -U -C -DstagingDescription=org.glassfish.grizzly:grizzly-thrift:1.3.16 -DskipTests -Ddoclint=none clean package gpg:sign install:install org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:javadoc install -pl impl -am -Poss-release --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pstaging [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.glassfish.grizzly:grizzly-thrift:bundle:1.3.16 [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] 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] [ERROR] [ERROR] Could not find the selected project in the reactor: impl @ [ERROR] Could not find the selected project in the reactor: impl -> [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/MavenExecutionException Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 82 killed; [ssh-agent] Stopped. Finished: FAILURE