Started by user arjan tijms Running as arjan tijms Agent basic-874d2 is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-874d2" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.glassfish.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-874d2" - 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-874d2" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.glassfish.svc.cluster.local/glassfish/" 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-glassfish" 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-874d2 (basic) in workspace /home/jenkins/agent/workspace/all-projects_1_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-WrbIdR6DJAkU/agent.73 SSH_AGENT_PID=75 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_8120787187354863506.key (/home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_8120787187354863506.key) [ssh-agent] Using credentials glassfish-bot (GitHub bot SSH) [all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins13279068416336393315.sh gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key FD8776B8DA948C3D: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key FD8776B8DA948C3D: public key "Eclipse GlassFish <glassfish-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key FD8776B8DA948C3D: 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 Secret subkeys are available. pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. 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-01 pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D created: 2018-10-02 expires: 2023-10-01 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2023-10-01 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> [all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins5600191167179065167.sh [all-projects_1_build-and-stage] $ /bin/bash -ex /tmp/jenkins3081472958672054860.sh + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/openjdk + MVN_HOME=/opt/tools/apache-maven/latest + JAVA_HOME=/opt/tools/java/openjdk/jdk-11/latest + PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + MVN_EXTRA='-DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' + MVN_DEPLOY_EXTRA= + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.5 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:2.1.1 + STAGING_NAME=orgglassfish + STAGING_PROFILE_ID=1c0c18a0fc339 + case "${PROJECT}" in + GIT_REPO=git@github.com:eclipse-ee4j/glassfish-shoal.git + STAGING_DESC=shoal:3.0.0-M1 + [[ shoal =~ ^fighterfish-* ]] + '[' shoal = osgi-resource-locator ']' + '[' shoal = repackaged ']' + BUILD_DIR=/home/jenkins/agent/workspace/all-projects_1_build-and-stage + git clone git@github.com:eclipse-ee4j/glassfish-shoal.git . Cloning into '.'... + git checkout master Already on 'master' Your branch is up to date with 'origin/master'. + cd /home/jenkins/agent/workspace/all-projects_1_build-and-stage + grep '<version>' pom.xml + grep SNAPSHOT <version>3.0.0-SNAPSHOT</version> ++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version ++ grep -v -e INFO -e WARNING -e Apache -e Maven -e Java -e Default -e OS + PROJECT_VERSION=3.0.0-SNAPSHOT ++ echo 3.0.0-SNAPSHOT ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=3.0.0-SNAPSHOT + echo 'Snapshot version is: 3.0.0-SNAPSHOT' Snapshot version is: 3.0.0-SNAPSHOT + [[ -z 3.0.0-M1 ]] + '[' -z 3.0.1-SNAPSHOT ']' + RELEASE_TAG=3.0.0-M1 + RELEASE_BRANCH=3.0.0-M1-BRANCH + echo 'Current version: 3.0.0-SNAPSHOT' Current version: 3.0.0-SNAPSHOT + echo 'Release version: 3.0.0-M1' Release version: 3.0.0-M1 + echo 'Next version: 3.0.1-SNAPSHOT' Next version: 3.0.1-SNAPSHOT + echo 'Release branch: 3.0.0-M1-BRANCH' Release branch: 3.0.0-M1-BRANCH + echo 'Release tag: 3.0.0-M1' Release tag: 3.0.0-M1 + [[ -z 3.0.0-SNAPSHOT ]] + [[ -z 3.0.0-M1 ]] + [[ -z 3.0.1-SNAPSHOT ]] + [[ true = \t\r\u\e ]] + echo '-[ Dry run turned on ]----------------------------------------------------------' -[ Dry run turned on ]---------------------------------------------------------- + echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------' -[ Skipping GitHub branch and tag checks ]-------------------------------------- + git branch --delete 3.0.0-M1-BRANCH error: branch '3.0.0-M1-BRANCH' not found. + git checkout -b 3.0.0-M1-BRANCH Switched to a new branch '3.0.0-M1-BRANCH' + git tag --delete 3.0.0-M1 error: tag '3.0.0-M1' not found. + echo '-[ Set release version ]--------------------------------------------------------' -[ Set release version ]-------------------------------------------------------- + find . -name pom.xml -exec sed -i 's|<version>3.0.0-SNAPSHOT</version>|<version>3.0.0-M1</version>|g' '{}' ';' + 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='backing-store/pom.xml cache/pom.xml gms/api/pom.xml gms/impl/pom.xml gms/pom.xml pom.xml' + git add backing-store/pom.xml cache/pom.xml gms/api/pom.xml gms/impl/pom.xml gms/pom.xml pom.xml + git commit -m 'Prepare release 3.0.0-M1' [3.0.0-M1-BRANCH f112a21] Prepare release 3.0.0-M1 6 files changed, 6 insertions(+), 6 deletions(-) + [[ true = \t\r\u\e ]] + echo '-[Its a dry run,skipping deployment to staging ]--------------------------------' -[Its a dry run,skipping deployment to staging ]-------------------------------- + echo '-[ Tag release ]----------------------------------------------------------------' -[ Tag release ]---------------------------------------------------------------- + git tag 3.0.0-M1 -m 'Release 3.0.0-M1' + echo '-[ Set next snapshot version ]--------------------------------------------------' -[ Set next snapshot version ]-------------------------------------------------- + find . -name pom.xml -exec sed -i 's|<version>3.0.0-M1</version>|<version>3.0.1-SNAPSHOT-SNAPSHOT</version>|g' '{}' ';' + 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='backing-store/pom.xml cache/pom.xml gms/api/pom.xml gms/impl/pom.xml gms/pom.xml pom.xml' + git add backing-store/pom.xml cache/pom.xml gms/api/pom.xml gms/impl/pom.xml gms/pom.xml pom.xml + git commit -m 'Prepare next development cycle for 3.0.1-SNAPSHOT' [3.0.0-M1-BRANCH 6374e48] Prepare next development cycle for 3.0.1-SNAPSHOT 6 files changed, 6 insertions(+), 6 deletions(-) + [[ true = \t\r\u\e ]] + echo '-[ Skipping GitHub update ]-----------------------------------------------------' -[ Skipping GitHub update ]----------------------------------------------------- $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 75 killed; [ssh-agent] Stopped. Finished: SUCCESS