Started by user David Matějček Running as David Matějček Agent basic-4n192 is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-4n192" namespace: "glassfish" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.glassfish.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-4n192" - 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-4n192" - 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-3131.vf2b_b_798b_ce99" 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-4n192 (basic) in workspace /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp [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-WMII0UjhIjgi/agent.49 SSH_AGENT_PID=51 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp@tmp/private_key_4265692242579845470.key (/home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp@tmp/private_key_4265692242579845470.key) [ssh-agent] Using credentials glassfish-bot (GitHub bot SSH) The recommended git tool is: git using credential github-bot-SSH Cloning the remote Git repository Using shallow clone with depth 100 Cloning repository git@github.com:eclipse-ee4j/glassfish.git > git init /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/glassfish.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_glassfish-build-and-stage_docs_tmp@tmp/jenkins-gitclient-ssh1629560059990354770.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress --depth=100 -- git@github.com:eclipse-ee4j/glassfish.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/glassfish.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 56e557cf96a41fdba6db31a4cd082004f5f651d6 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 56e557cf96a41fdba6db31a4cd082004f5f651d6 # timeout=10 Commit message: "Merge pull request #24670 from arjantijms/fail_build" > git rev-list --no-walk 56e557cf96a41fdba6db31a4cd082004f5f651d6 # timeout=10 [1_glassfish-build-and-stage_docs_tmp] $ /bin/bash -e /tmp/jenkins7962788332208166361.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: 2028-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 usage: S [ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2028-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 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: 2028-10-02 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 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 2028-10-02 pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2028-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> pub rsa4096/FD8776B8DA948C3D created: 2018-10-02 expires: 2028-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 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: 2028-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/AFC18A2271EDDFE1 created: 2018-10-02 expires: 2028-10-02 usage: S [ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org> [1_glassfish-build-and-stage_docs_tmp] $ /bin/bash -e /tmp/jenkins12128552445357534731.sh [1_glassfish-build-and-stage_docs_tmp] $ /bin/bash -e /tmp/jenkins4010242433220138030.sh [1_glassfish-build-and-stage_docs_tmp] $ /bin/bash -ex /tmp/jenkins7983391447427401328.sh + ls -altrh total 124K drwxr-sr-x. 4 jenkins 1003280000 98 Nov 4 11:02 .. -rw-r--r--. 1 jenkins 1003280000 131 Nov 4 11:03 .lgtm.yml -rw-r--r--. 1 jenkins 1003280000 6.5K Nov 4 11:03 Jenkinsfile -rw-r--r--. 1 jenkins 1003280000 2.7K Nov 4 11:03 .gitignore drwxr-sr-x. 3 jenkins 1003280000 80 Nov 4 11:03 .github -rw-r--r--. 1 jenkins 1003280000 2.2K Nov 4 11:03 CONTRIBUTING.md -rw-r--r--. 1 jenkins 1003280000 4.4K Nov 4 11:03 RELEASE.md -rw-r--r--. 1 jenkins 1003280000 5.9K Nov 4 11:03 README.md -rw-r--r--. 1 jenkins 1003280000 5.1K Nov 4 11:03 NOTICE.md -rw-r--r--. 1 jenkins 1003280000 35K Nov 4 11:03 LICENSE.md drwxr-sr-x. 35 jenkins 1003280000 4.0K Nov 4 11:03 appserver drwxr-sr-x. 22 jenkins 1003280000 4.0K Nov 4 11:03 docs -rwxr-xr-x. 1 jenkins 1003280000 2.4K Nov 4 11:03 gftest.sh -rwxr-xr-x. 1 jenkins 1003280000 3.6K Nov 4 11:03 gfbuild.sh drwxr-sr-x. 2 jenkins 1003280000 65 Nov 4 11:03 etc -rwxr-xr-x. 1 jenkins 1003280000 1.3K Nov 4 11:03 validateJars.sh -rwxr-xr-x. 1 jenkins 1003280000 901 Nov 4 11:03 updateVersion.sh -rwxr-xr-x. 1 jenkins 1003280000 3.6K Nov 4 11:03 runtests.sh drwxr-sr-x. 3 jenkins 1003280000 32 Nov 4 11:03 qa -rw-r--r--. 1 jenkins 1003280000 7.7K Nov 4 11:03 pom.xml drwxr-sr-x. 21 jenkins 1003280000 4.0K Nov 4 11:03 nucleus drwxr-sr-x. 9 jenkins 1003280000 4.0K Nov 4 11:03 . drwxr-sr-x. 8 jenkins 1003280000 177 Nov 4 11:03 .git + ls -altrh /opt/tools/apache-maven/ total 0 drwxr-xr-x. 6 root root 131 Aug 21 2018 3.5.4 drwxr-xr-x. 6 root root 131 Aug 21 2018 3.3.9 drwxr-xr-x. 6 root root 131 Sep 4 2018 3.2.5 drwxr-xr-x. 5 root root 64 Mar 29 2019 .. drwxr-xr-x. 6 root root 131 Oct 1 2019 3.6.0 drwxr-xr-x. 6 root root 131 Jan 16 2020 3.6.3 drwxr-xr-x. 6 root root 131 May 21 2021 3.8.1 drwxr-xr-x. 6 root root 131 Aug 20 2021 3.8.2 drwxr-xr-x. 6 root root 131 Oct 6 2021 3.8.3 drwxr-xr-x. 6 root root 131 Dec 10 2021 3.8.4 drwxr-xr-x. 6 root root 131 Mar 15 2022 3.8.5 drwxr-xr-x. 6 root root 131 Jul 19 2022 3.8.6 drwxr-xr-x. 6 root root 131 Feb 7 2023 3.9.0 drwxr-xr-x. 6 root root 131 Apr 11 2023 3.9.1 drwxr-xr-x. 6 root root 131 Jun 26 16:51 3.9.2 drwxr-xr-x. 6 root root 131 Sep 22 16:33 3.9.3 drwxr-xr-x. 6 root root 131 Oct 25 18:25 3.9.5 lrwxrwxrwx. 1 root root 5 Oct 26 18:36 latest -> 3.9.3 drwxr-xr-x. 18 root root 300 Oct 26 18:36 . + ls /opt/tools/apache-maven/latest bin boot conf lib LICENSE NOTICE README.txt + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/temurin + MVN_HOME=/opt/tools/apache-maven/3.9.3 + JAVA_HOME=/opt/tools/java/temurin/jdk-17/latest + PATH=/opt/tools/apache-maven/3.9.3/bin:/opt/tools/java/temurin/jdk-17/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + RELEASE_VERSION=7.0.10 + STAGING_NAME=orgglassfish + STAGING_DESC=org.glassfish.main:glassfish-main-aggregator:7.0.10 + STAGING_PROFILE_ID=1c0c18a0fc339 + export 'MAVEN_OPTS=--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED' + MAVEN_OPTS='--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED' + chmod -R u-s ./ + git checkout 7.0.10 Previous HEAD position was 56e557cf9 Merge pull request #24670 from arjantijms/fail_build HEAD is now at b57abb800 Prepare release 7.0.10 + mvn -B -U -Poss-release,release-phase2 -DskipTests -Ddoclint=none -Dmaven.javadoc.failOnError=false -DstagingProfileId=1c0c18a0fc339 clean deploy -f docs -pl :docs -Dmaven.deploy.skip=false [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.glassfish.docs:docs >----------------------- [INFO] Building Eclipse GlassFish Documentation 7.0.10 [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ docs --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven) @ docs --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-versions) @ docs --- [INFO] [INFO] --- source:3.2.1:jar-no-fork (attach-sources) @ docs --- [INFO] [INFO] --- javadoc:3.4.1:jar (attach-javadocs) @ docs --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- gpg:3.0.1:sign (sign-artifacts) @ docs --- [INFO] [INFO] --- install:3.1.1:install (default-install) @ docs --- [INFO] Installing /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/pom.xml to /home/jenkins/.m2/repository/org/glassfish/docs/docs/7.0.10/docs-7.0.10.pom [INFO] Installing /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/target/docs-7.0.10.pom.asc to /home/jenkins/.m2/repository/org/glassfish/docs/docs/7.0.10/docs-7.0.10.pom.asc [INFO] [INFO] --- nexus-staging:1.6.13:deploy (injected-nexus-deploy) @ docs --- [INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/target/nexus-staging/staging")... [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.15.1-02 and edition "Professional" [INFO] * Using staging profile ID "1c0c18a0fc339" (configured by user). [INFO] Installing /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/pom.xml to /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/docs/docs/7.0.10/docs-7.0.10.pom [INFO] Installing /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/target/docs-7.0.10.pom.asc to /home/jenkins/agent/workspace/1_glassfish-build-and-stage_docs_tmp/docs/target/nexus-staging/staging/1c0c18a0fc339/org/glassfish/docs/docs/7.0.10/docs-7.0.10.pom.asc [INFO] Performing remote staging... [INFO] [INFO] * Remote staging into staging profile ID "1c0c18a0fc339" [INFO] * Created staging repository with ID "orgglassfish-1291". [INFO] * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgglassfish-1291 [INFO] * Uploading locally staged artifacts to profile org.glassfish [INFO] * Upload of locally staged artifacts finished. [INFO] * Closing staging repository with ID "orgglassfish-1291". Waiting for operation to complete... .. [INFO] Remote staged 1 repositories, finished with success. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.166 s [INFO] Finished at: 2023-11-04T11:03:48Z [INFO] ------------------------------------------------------------------------ + echo 'List of open Eclipse Glassfish staging repositories....' List of open Eclipse Glassfish staging repositories.... + mvn -B -Pstaging nexus-staging:rc-list + awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+OPEN[ ]+org.glassfish.main:glassfish-main-aggregator:7.0.10/ {print}' $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 51 killed; [ssh-agent] Stopped. Finished: SUCCESS