[2023-07-11T12:58:02.089Z] Started by user Jonah Graham [2023-07-11T12:58:02.089Z] Running as Jonah Graham [2023-07-11T12:58:19.303Z] Obtained releng/promote-a-build.Jenkinsfile from git https://github.com/eclipse-cdt/cdt.git [2023-07-11T12:58:19.710Z] [Pipeline] Start of Pipeline [2023-07-11T12:58:21.554Z] [Pipeline] node [2023-07-11T12:58:36.555Z] Still waiting to schedule task [2023-07-11T12:58:36.555Z] Waiting for next available executor [2023-07-11T12:58:44.096Z] Agent basic-64993 is provisioned from template basic [2023-07-11T12:58:44.098Z] --- [2023-07-11T12:58:44.098Z] apiVersion: "v1" [2023-07-11T12:58:44.098Z] kind: "Pod" [2023-07-11T12:58:44.098Z] metadata: [2023-07-11T12:58:44.098Z] labels: [2023-07-11T12:58:44.098Z] jenkins: "slave" [2023-07-11T12:58:44.098Z] jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" [2023-07-11T12:58:44.098Z] jenkins/label: "basic" [2023-07-11T12:58:44.098Z] name: "basic-64993" [2023-07-11T12:58:44.098Z] namespace: "cdt" [2023-07-11T12:58:44.098Z] spec: [2023-07-11T12:58:44.098Z] containers: [2023-07-11T12:58:44.098Z] - env: [2023-07-11T12:58:44.098Z] - name: "JENKINS_SECRET" [2023-07-11T12:58:44.098Z] value: "********" [2023-07-11T12:58:44.098Z] - name: "JENKINS_TUNNEL" [2023-07-11T12:58:44.098Z] value: "jenkins-discovery.cdt.svc.cluster.local:50000" [2023-07-11T12:58:44.098Z] - name: "JENKINS_AGENT_NAME" [2023-07-11T12:58:44.098Z] value: "basic-64993" [2023-07-11T12:58:44.098Z] - name: "JENKINS_REMOTING_JAVA_OPTS" [2023-07-11T12:58:44.098Z] value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ [2023-07-11T12:58:44.098Z] \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" [2023-07-11T12:58:44.098Z] - name: "JAVA_TOOL_OPTIONS" [2023-07-11T12:58:44.098Z] value: "" [2023-07-11T12:58:44.098Z] - name: "_JAVA_OPTIONS" [2023-07-11T12:58:44.098Z] value: "" [2023-07-11T12:58:44.098Z] - name: "OPENJ9_JAVA_OPTIONS" [2023-07-11T12:58:44.098Z] value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" [2023-07-11T12:58:44.098Z] - name: "JENKINS_NAME" [2023-07-11T12:58:44.098Z] value: "basic-64993" [2023-07-11T12:58:44.098Z] - name: "JENKINS_AGENT_WORKDIR" [2023-07-11T12:58:44.098Z] value: "/home/jenkins/agent" [2023-07-11T12:58:44.098Z] - name: "JENKINS_URL" [2023-07-11T12:58:44.098Z] value: "http://jenkins-ui.cdt.svc.cluster.local/cdt/" [2023-07-11T12:58:44.098Z] image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092" [2023-07-11T12:58:44.098Z] imagePullPolicy: "Always" [2023-07-11T12:58:44.098Z] name: "jnlp" [2023-07-11T12:58:44.098Z] resources: [2023-07-11T12:58:44.098Z] limits: [2023-07-11T12:58:44.098Z] cpu: "2000m" [2023-07-11T12:58:44.098Z] memory: "4096Mi" [2023-07-11T12:58:44.098Z] requests: [2023-07-11T12:58:44.098Z] cpu: "1000m" [2023-07-11T12:58:44.098Z] memory: "4096Mi" [2023-07-11T12:58:44.098Z] tty: true [2023-07-11T12:58:44.098Z] volumeMounts: [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.m2/toolchains.xml" [2023-07-11T12:58:44.098Z] name: "m2-dir" [2023-07-11T12:58:44.098Z] readOnly: true [2023-07-11T12:58:44.098Z] subPath: "toolchains.xml" [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.mavenrc" [2023-07-11T12:58:44.098Z] name: "m2-dir" [2023-07-11T12:58:44.098Z] readOnly: true [2023-07-11T12:58:44.098Z] subPath: ".mavenrc" [2023-07-11T12:58:44.098Z] - mountPath: "/opt/tools" [2023-07-11T12:58:44.098Z] name: "volume-0" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins" [2023-07-11T12:58:44.098Z] name: "volume-2" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.m2/repository" [2023-07-11T12:58:44.098Z] name: "volume-3" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.m2/settings-security.xml" [2023-07-11T12:58:44.098Z] name: "m2-secret-dir" [2023-07-11T12:58:44.098Z] readOnly: true [2023-07-11T12:58:44.098Z] subPath: "settings-security.xml" [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.m2/wrapper" [2023-07-11T12:58:44.098Z] name: "volume-4" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.m2/settings.xml" [2023-07-11T12:58:44.098Z] name: "m2-secret-dir" [2023-07-11T12:58:44.098Z] readOnly: true [2023-07-11T12:58:44.098Z] subPath: "settings.xml" [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/.ssh" [2023-07-11T12:58:44.098Z] name: "volume-1" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] subPath: "" [2023-07-11T12:58:44.098Z] - mountPath: "/home/jenkins/agent" [2023-07-11T12:58:44.098Z] name: "workspace-volume" [2023-07-11T12:58:44.098Z] readOnly: false [2023-07-11T12:58:44.098Z] workingDir: "/home/jenkins/agent" [2023-07-11T12:58:44.098Z] nodeSelector: [2023-07-11T12:58:44.098Z] kubernetes.io/os: "linux" [2023-07-11T12:58:44.098Z] restartPolicy: "Never" [2023-07-11T12:58:44.098Z] volumes: [2023-07-11T12:58:44.098Z] - name: "volume-0" [2023-07-11T12:58:44.098Z] persistentVolumeClaim: [2023-07-11T12:58:44.098Z] claimName: "tools-claim-jiro-cdt" [2023-07-11T12:58:44.098Z] readOnly: true [2023-07-11T12:58:44.098Z] - name: "m2-secret-dir" [2023-07-11T12:58:44.098Z] secret: [2023-07-11T12:58:44.098Z] secretName: "m2-secret-dir" [2023-07-11T12:58:44.098Z] - emptyDir: [2023-07-11T12:58:44.098Z] medium: "" [2023-07-11T12:58:44.098Z] name: "volume-2" [2023-07-11T12:58:44.098Z] - configMap: [2023-07-11T12:58:44.098Z] name: "m2-dir" [2023-07-11T12:58:44.098Z] name: "m2-dir" [2023-07-11T12:58:44.098Z] - configMap: [2023-07-11T12:58:44.098Z] name: "known-hosts" [2023-07-11T12:58:44.098Z] name: "volume-1" [2023-07-11T12:58:44.098Z] - emptyDir: [2023-07-11T12:58:44.098Z] medium: "" [2023-07-11T12:58:44.098Z] name: "workspace-volume" [2023-07-11T12:58:44.098Z] - emptyDir: [2023-07-11T12:58:44.099Z] medium: "" [2023-07-11T12:58:44.099Z] name: "volume-4" [2023-07-11T12:58:44.099Z] - emptyDir: [2023-07-11T12:58:44.099Z] medium: "" [2023-07-11T12:58:44.099Z] name: "volume-3" [2023-07-11T12:58:44.099Z] [2023-07-11T12:58:44.139Z] Running on basic-64993 in /home/jenkins/agent/workspace/promote-a-build [2023-07-11T12:58:44.387Z] [Pipeline] { [2023-07-11T12:58:45.409Z] [Pipeline] stage [2023-07-11T12:58:45.409Z] [Pipeline] { (Declarative: Checkout SCM) [2023-07-11T12:58:46.037Z] [Pipeline] checkout [2023-07-11T12:58:46.101Z] The recommended git tool is: git [2023-07-11T12:58:47.859Z] No credentials specified [2023-07-11T12:58:47.861Z] Cloning the remote Git repository [2023-07-11T12:58:47.869Z] Cloning repository https://github.com/eclipse-cdt/cdt.git [2023-07-11T12:58:47.898Z] > git init /home/jenkins/agent/workspace/promote-a-build # timeout=10 [2023-07-11T12:58:47.926Z] Fetching upstream changes from https://github.com/eclipse-cdt/cdt.git [2023-07-11T12:58:47.927Z] > git --version # timeout=10 [2023-07-11T12:58:47.932Z] > git --version # 'git version 2.20.1' [2023-07-11T12:58:47.933Z] > git fetch --tags --force --progress -- https://github.com/eclipse-cdt/cdt.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T12:59:32.384Z] Avoid second fetch [2023-07-11T12:59:32.393Z] Checking out Revision ac84c4ec86769b41ebbb4a1541c48ca72a0069de (refs/remotes/origin/main) [2023-07-11T12:59:31.813Z] > git config remote.origin.url https://github.com/eclipse-cdt/cdt.git # timeout=10 [2023-07-11T12:59:31.819Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T12:59:32.383Z] > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 [2023-07-11T12:59:32.396Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T12:59:32.402Z] > git checkout -f ac84c4ec86769b41ebbb4a1541c48ca72a0069de # timeout=10 [2023-07-11T12:59:34.209Z] Commit message: "Prepare repo for CDT 11.3.0 development" [2023-07-11T12:59:34.210Z] > git rev-list --no-walk 9e10c79017cf8041117446853fe364128071a6d0 # timeout=10 [2023-07-11T12:59:34.515Z] [Pipeline] } [2023-07-11T12:59:34.769Z] [Pipeline] // stage [2023-07-11T12:59:35.786Z] [Pipeline] withEnv [2023-07-11T12:59:35.786Z] [Pipeline] { [2023-07-11T12:59:37.921Z] [Pipeline] timestamps [2023-07-11T12:59:37.921Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds. [2023-07-11T12:59:37.922Z] [Pipeline] { [2023-07-11T12:59:39.939Z] [Pipeline] stage [2023-07-11T12:59:39.940Z] [Pipeline] { (Upload) [2023-07-11T12:59:45.779Z] [Pipeline] sshagent [2023-07-11T12:59:45.785Z] [ssh-agent] Using credentials genie.cdt (ssh://genie.cdt@projects-storage.eclipse.org) [2023-07-11T12:59:45.786Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T12:59:45.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T12:59:45.828Z] $ ssh-agent [2023-07-11T12:59:45.842Z] SSH_AUTH_SOCK=/tmp/ssh-2Q8rbp6l67Pu/agent.141 [2023-07-11T12:59:45.842Z] SSH_AGENT_PID=143 [2023-07-11T12:59:45.856Z] Running ssh-add (command line suppressed) [2023-07-11T12:59:45.864Z] Identity added: /home/jenkins/agent/workspace/promote-a-build@tmp/private_key_2012837636984983109.key (/home/jenkins/agent/workspace/promote-a-build@tmp/private_key_2012837636984983109.key) [2023-07-11T12:59:45.875Z] [ssh-agent] Started. [2023-07-11T12:59:45.876Z] [Pipeline] { [2023-07-11T12:59:46.507Z] [Pipeline] sh [2023-07-11T12:59:46.826Z] + ./releng/scripts/promote-a-build.sh [2023-07-11T12:59:46.827Z] + SSHUSER=genie.cdt@projects-storage.eclipse.org [2023-07-11T12:59:46.827Z] + SSH='ssh genie.cdt@projects-storage.eclipse.org' [2023-07-11T12:59:46.827Z] + SCP=scp [2023-07-11T12:59:46.827Z] + DOWNLOAD=/home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1 [2023-07-11T12:59:46.827Z] + ARTIFACTS=https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact [2023-07-11T12:59:46.827Z] + INDEX_PHP_FOR_RCP=scripts/cdt-standalone-php-template.txt [2023-07-11T12:59:46.827Z] + ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact/releng/org.eclipse.cdt.repo/target [2023-07-11T12:59:46.827Z] + echo Using download location root of /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1 [2023-07-11T12:59:46.827Z] Using download location root of /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1 [2023-07-11T12:59:46.827Z] + echo Using artifacts location root of https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact [2023-07-11T12:59:46.827Z] Using artifacts location root of https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact [2023-07-11T12:59:46.827Z] + echo Testing to make sure artifacts location is sane [2023-07-11T12:59:46.827Z] Testing to make sure artifacts location is sane [2023-07-11T12:59:46.827Z] + wget -q --output-document=/dev/null https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact [2023-07-11T12:59:46.827Z] + ECHO=echo [2023-07-11T12:59:46.827Z] + '[' false == false ']' [2023-07-11T12:59:46.827Z] + ECHO= [2023-07-11T12:59:46.827Z] + '[' false == false ']' [2023-07-11T12:59:46.827Z] + echo Testing to make sure we are publishing to a new directory [2023-07-11T12:59:46.827Z] Testing to make sure we are publishing to a new directory [2023-07-11T12:59:46.827Z] + ssh genie.cdt@projects-storage.eclipse.org 'test ! -e /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1' [2023-07-11T12:59:48.718Z] + ssh genie.cdt@projects-storage.eclipse.org 'mkdir -p /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1' [2023-07-11T12:59:48.976Z] + ssh genie.cdt@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1 && wget -q https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact/releng/org.eclipse.cdt.repo/target/repository/*zip*/repository.zip && unzip -q repository.zip && mv repository/* . && rm -r repository repository.zip' [2023-07-11T13:00:10.867Z] + ssh genie.cdt@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/cdt/builds/11.3/cdt-11.3.0-m1 && wget -q https://ci.eclipse.org/cdt/job/cdt/job/main/236/artifact/releng/org.eclipse.cdt.repo/target/org.eclipse.cdt.repo.zip && mv org.eclipse.cdt.repo.zip cdt-11.3.0-m1.zip' [2023-07-11T13:00:12.233Z] + '[' false == true ']' [2023-07-11T13:00:12.584Z] [Pipeline] } [2023-07-11T13:00:12.584Z] $ ssh-agent -k [2023-07-11T13:00:12.589Z] unset SSH_AUTH_SOCK; [2023-07-11T13:00:12.590Z] unset SSH_AGENT_PID; [2023-07-11T13:00:12.590Z] echo Agent pid 143 killed; [2023-07-11T13:00:12.598Z] [ssh-agent] Stopped. [2023-07-11T13:00:12.853Z] [Pipeline] // sshagent [2023-07-11T13:00:13.229Z] [Pipeline] } [2023-07-11T13:00:14.339Z] [Pipeline] // stage [2023-07-11T13:00:14.845Z] [Pipeline] } [2023-07-11T13:00:15.173Z] [Pipeline] // timestamps [2023-07-11T13:00:20.712Z] [Pipeline] } [2023-07-11T13:00:23.421Z] [Pipeline] // withEnv [2023-07-11T13:00:23.800Z] [Pipeline] } [2023-07-11T13:00:24.054Z] [Pipeline] // node [2023-07-11T13:00:24.445Z] [Pipeline] End of Pipeline [2023-07-11T13:00:25.128Z] Finished: SUCCESS