[2021-09-15T13:37:47.768Z] Started by user Jonah Graham [2021-09-15T13:37:47.768Z] Rebuilds build #190 [2021-09-15T13:37:47.768Z] Running as Jonah Graham [2021-09-15T13:37:53.344Z] Obtained jenkins/pipelines/releng/promote-a-build.Jenkinsfile from git https://github.com/eclipse-cdt/cdt-infra.git [2021-09-15T13:37:53.344Z] Running in Durability level: PERFORMANCE_OPTIMIZED [2021-09-15T13:37:53.500Z] [Pipeline] Start of Pipeline [2021-09-15T13:37:55.934Z] [Pipeline] node [2021-09-15T13:38:10.936Z] Still waiting to schedule task [2021-09-15T13:38:10.936Z] Waiting for next available executor [2021-09-15T13:38:25.031Z] Agent basic-k593n is provisioned from template basic [2021-09-15T13:38:25.034Z] --- [2021-09-15T13:38:25.034Z] apiVersion: "v1" [2021-09-15T13:38:25.034Z] kind: "Pod" [2021-09-15T13:38:25.034Z] metadata: [2021-09-15T13:38:25.034Z] annotations: {} [2021-09-15T13:38:25.034Z] labels: [2021-09-15T13:38:25.034Z] jenkins: "slave" [2021-09-15T13:38:25.034Z] jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" [2021-09-15T13:38:25.034Z] jenkins/label: "basic" [2021-09-15T13:38:25.034Z] name: "basic-k593n" [2021-09-15T13:38:25.034Z] spec: [2021-09-15T13:38:25.034Z] containers: [2021-09-15T13:38:25.034Z] - env: [2021-09-15T13:38:25.034Z] - name: "JENKINS_SECRET" [2021-09-15T13:38:25.034Z] value: "********" [2021-09-15T13:38:25.034Z] - name: "JENKINS_TUNNEL" [2021-09-15T13:38:25.034Z] value: "jenkins-discovery.cdt.svc.cluster.local:50000" [2021-09-15T13:38:25.034Z] - name: "JENKINS_AGENT_NAME" [2021-09-15T13:38:25.034Z] value: "basic-k593n" [2021-09-15T13:38:25.034Z] - name: "JENKINS_REMOTING_JAVA_OPTS" [2021-09-15T13:38:25.034Z] value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ [2021-09-15T13:38:25.034Z] \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" [2021-09-15T13:38:25.034Z] - name: "JAVA_TOOL_OPTIONS" [2021-09-15T13:38:25.034Z] value: "" [2021-09-15T13:38:25.034Z] - name: "_JAVA_OPTIONS" [2021-09-15T13:38:25.034Z] value: "" [2021-09-15T13:38:25.034Z] - name: "OPENJ9_JAVA_OPTIONS" [2021-09-15T13:38:25.034Z] value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" [2021-09-15T13:38:25.034Z] - name: "JENKINS_NAME" [2021-09-15T13:38:25.034Z] value: "basic-k593n" [2021-09-15T13:38:25.034Z] - name: "JENKINS_AGENT_WORKDIR" [2021-09-15T13:38:25.034Z] value: "/home/jenkins/agent" [2021-09-15T13:38:25.034Z] - name: "JENKINS_URL" [2021-09-15T13:38:25.034Z] value: "http://jenkins-ui.cdt.svc.cluster.local/cdt/" [2021-09-15T13:38:25.034Z] image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.7" [2021-09-15T13:38:25.034Z] imagePullPolicy: "Always" [2021-09-15T13:38:25.034Z] name: "jnlp" [2021-09-15T13:38:25.034Z] resources: [2021-09-15T13:38:25.034Z] limits: [2021-09-15T13:38:25.034Z] cpu: "2000m" [2021-09-15T13:38:25.034Z] memory: "4096Mi" [2021-09-15T13:38:25.034Z] requests: [2021-09-15T13:38:25.034Z] cpu: "1000m" [2021-09-15T13:38:25.034Z] memory: "4096Mi" [2021-09-15T13:38:25.034Z] tty: true [2021-09-15T13:38:25.034Z] volumeMounts: [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.m2/toolchains.xml" [2021-09-15T13:38:25.034Z] name: "m2-dir" [2021-09-15T13:38:25.034Z] readOnly: true [2021-09-15T13:38:25.034Z] subPath: "toolchains.xml" [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.mavenrc" [2021-09-15T13:38:25.034Z] name: "m2-dir" [2021-09-15T13:38:25.034Z] readOnly: true [2021-09-15T13:38:25.034Z] subPath: ".mavenrc" [2021-09-15T13:38:25.034Z] - mountPath: "/opt/tools" [2021-09-15T13:38:25.034Z] name: "volume-0" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins" [2021-09-15T13:38:25.034Z] name: "volume-2" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.m2/repository" [2021-09-15T13:38:25.034Z] name: "volume-3" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.m2/settings-security.xml" [2021-09-15T13:38:25.034Z] name: "m2-secret-dir" [2021-09-15T13:38:25.034Z] readOnly: true [2021-09-15T13:38:25.034Z] subPath: "settings-security.xml" [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.m2/wrapper" [2021-09-15T13:38:25.034Z] name: "volume-4" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.m2/settings.xml" [2021-09-15T13:38:25.034Z] name: "m2-secret-dir" [2021-09-15T13:38:25.034Z] readOnly: true [2021-09-15T13:38:25.034Z] subPath: "settings.xml" [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/.ssh" [2021-09-15T13:38:25.034Z] name: "volume-1" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] - mountPath: "/home/jenkins/agent" [2021-09-15T13:38:25.034Z] name: "workspace-volume" [2021-09-15T13:38:25.034Z] readOnly: false [2021-09-15T13:38:25.034Z] workingDir: "/home/jenkins/agent" [2021-09-15T13:38:25.034Z] nodeSelector: [2021-09-15T13:38:25.034Z] kubernetes.io/os: "linux" [2021-09-15T13:38:25.034Z] restartPolicy: "Never" [2021-09-15T13:38:25.034Z] volumes: [2021-09-15T13:38:25.034Z] - name: "volume-0" [2021-09-15T13:38:25.034Z] persistentVolumeClaim: [2021-09-15T13:38:25.034Z] claimName: "tools-claim-jiro-cdt" [2021-09-15T13:38:25.034Z] readOnly: true [2021-09-15T13:38:25.034Z] - name: "m2-secret-dir" [2021-09-15T13:38:25.034Z] secret: [2021-09-15T13:38:25.034Z] secretName: "m2-secret-dir" [2021-09-15T13:38:25.034Z] - emptyDir: [2021-09-15T13:38:25.034Z] medium: "" [2021-09-15T13:38:25.034Z] name: "volume-2" [2021-09-15T13:38:25.034Z] - configMap: [2021-09-15T13:38:25.034Z] name: "m2-dir" [2021-09-15T13:38:25.034Z] name: "m2-dir" [2021-09-15T13:38:25.034Z] - configMap: [2021-09-15T13:38:25.034Z] name: "known-hosts" [2021-09-15T13:38:25.034Z] name: "volume-1" [2021-09-15T13:38:25.034Z] - emptyDir: [2021-09-15T13:38:25.034Z] medium: "" [2021-09-15T13:38:25.034Z] name: "workspace-volume" [2021-09-15T13:38:25.034Z] - emptyDir: [2021-09-15T13:38:25.034Z] medium: "" [2021-09-15T13:38:25.034Z] name: "volume-4" [2021-09-15T13:38:25.035Z] - emptyDir: [2021-09-15T13:38:25.035Z] medium: "" [2021-09-15T13:38:25.035Z] name: "volume-3" [2021-09-15T13:38:25.035Z] [2021-09-15T13:38:25.062Z] Running on basic-k593n in /home/jenkins/agent/workspace/promote-a-build [2021-09-15T13:38:25.208Z] [Pipeline] { [2021-09-15T13:38:26.385Z] [Pipeline] stage [2021-09-15T13:38:26.386Z] [Pipeline] { (Declarative: Checkout SCM) [2021-09-15T13:38:27.164Z] [Pipeline] checkout [2021-09-15T13:38:27.224Z] Selected Git installation does not exist. Using Default [2021-09-15T13:38:27.224Z] The recommended git tool is: NONE [2021-09-15T13:38:28.590Z] No credentials specified [2021-09-15T13:38:28.593Z] Cloning the remote Git repository [2021-09-15T13:38:28.604Z] Cloning repository https://github.com/eclipse-cdt/cdt-infra.git [2021-09-15T13:38:29.378Z] > git init /home/jenkins/agent/workspace/promote-a-build # timeout=10 [2021-09-15T13:38:29.395Z] Fetching upstream changes from https://github.com/eclipse-cdt/cdt-infra.git [2021-09-15T13:38:29.395Z] > git --version # timeout=10 [2021-09-15T13:38:29.398Z] > git --version # 'git version 2.20.1' [2021-09-15T13:38:29.398Z] > git fetch --tags --force --progress -- https://github.com/eclipse-cdt/cdt-infra.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T13:38:29.945Z] Avoid second fetch [2021-09-15T13:38:29.952Z] Checking out Revision 73760bc4da6d85e4ea338a243a9d07d68bf4dd64 (refs/remotes/origin/master) [2021-09-15T13:38:29.939Z] > git config remote.origin.url https://github.com/eclipse-cdt/cdt-infra.git # timeout=10 [2021-09-15T13:38:29.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-15T13:38:29.948Z] > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 [2021-09-15T13:38:29.958Z] > git config core.sparsecheckout # timeout=10 [2021-09-15T13:38:29.960Z] > git checkout -f 73760bc4da6d85e4ea338a243a9d07d68bf4dd64 # timeout=10 [2021-09-15T13:38:33.471Z] Commit message: "Add a "latest" p2 URL for CDT mkdir before copy" [2021-09-15T13:38:33.476Z] > git rev-list --no-walk 73760bc4da6d85e4ea338a243a9d07d68bf4dd64 # timeout=10 [2021-09-15T13:38:33.788Z] [Pipeline] } [2021-09-15T13:38:34.075Z] [Pipeline] // stage [2021-09-15T13:38:35.250Z] [Pipeline] withEnv [2021-09-15T13:38:35.250Z] [Pipeline] { [2021-09-15T13:38:37.912Z] [Pipeline] timestamps [2021-09-15T13:38:37.912Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds. [2021-09-15T13:38:37.914Z] [Pipeline] { [2021-09-15T13:38:40.261Z] [Pipeline] stage [2021-09-15T13:38:40.262Z] [Pipeline] { (Upload) [2021-09-15T13:38:46.518Z] [Pipeline] sshagent [2021-09-15T13:38:46.545Z] [ssh-agent] Using credentials genie.cdt (ssh://genie.cdt@projects-storage.eclipse.org) [2021-09-15T13:38:46.546Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-15T13:38:46.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-15T13:38:46.593Z] $ ssh-agent [2021-09-15T13:38:46.614Z] SSH_AUTH_SOCK=/tmp/ssh-GzhFhv9i3GL2/agent.166 [2021-09-15T13:38:46.614Z] SSH_AGENT_PID=168 [2021-09-15T13:38:46.658Z] Running ssh-add (command line suppressed) [2021-09-15T13:38:46.668Z] Identity added: /home/jenkins/agent/workspace/promote-a-build@tmp/private_key_3994455657443979553.key (/home/jenkins/agent/workspace/promote-a-build@tmp/private_key_3994455657443979553.key) [2021-09-15T13:38:46.680Z] [ssh-agent] Started. [2021-09-15T13:38:46.681Z] [Pipeline] { [2021-09-15T13:38:47.409Z] [Pipeline] sh [2021-09-15T13:38:47.749Z] + ./scripts/promote-a-build.sh [2021-09-15T13:38:47.750Z] + SSHUSER=genie.cdt@projects-storage.eclipse.org [2021-09-15T13:38:47.750Z] + SSH='ssh genie.cdt@projects-storage.eclipse.org' [2021-09-15T13:38:47.750Z] + SCP=scp [2021-09-15T13:38:47.750Z] + DOWNLOAD=/home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1 [2021-09-15T13:38:47.750Z] + ARTIFACTS=https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact [2021-09-15T13:38:47.750Z] + INDEX_PHP_FOR_RCP=scripts/cdt-standalone-php-template [2021-09-15T13:38:47.750Z] + ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact/releng/org.eclipse.cdt.repo/target [2021-09-15T13:38:47.750Z] + echo Using download location root of /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1 [2021-09-15T13:38:47.750Z] Using download location root of /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1 [2021-09-15T13:38:47.750Z] + echo Using artifacts location root of https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact [2021-09-15T13:38:47.750Z] Using artifacts location root of https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact [2021-09-15T13:38:47.750Z] + echo Testing to make sure artifacts location is sane [2021-09-15T13:38:47.750Z] Testing to make sure artifacts location is sane [2021-09-15T13:38:47.750Z] + wget -q --output-document=/dev/null https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact [2021-09-15T13:38:47.750Z] + ECHO=echo [2021-09-15T13:38:47.750Z] + '[' false == false ']' [2021-09-15T13:38:47.750Z] + ECHO= [2021-09-15T13:38:47.750Z] + '[' false == false ']' [2021-09-15T13:38:47.750Z] + echo Testing to make sure we are publishing to a new directory [2021-09-15T13:38:47.750Z] Testing to make sure we are publishing to a new directory [2021-09-15T13:38:47.750Z] + ssh genie.cdt@projects-storage.eclipse.org 'test ! -e /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1' [2021-09-15T13:38:49.132Z] + ssh genie.cdt@projects-storage.eclipse.org 'mkdir -p /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1' [2021-09-15T13:38:50.072Z] + ssh genie.cdt@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1 && wget -q https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact/releng/org.eclipse.cdt.repo/target/repository/*zip*/repository.zip && unzip -q repository.zip && mv repository/* . && rm -r repository repository.zip' [2021-09-15T13:39:16.650Z] + ssh genie.cdt@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/cdt/releases/10.4/cdt-10.4.1 && wget -q https://ci.eclipse.org/cdt/job/cdt-10.4/8/artifact/releng/org.eclipse.cdt.repo/target/org.eclipse.cdt.repo.zip && mv org.eclipse.cdt.repo.zip cdt-10.4.1.zip' [2021-09-15T13:39:19.190Z] + '[' false == true ']' [2021-09-15T13:39:19.525Z] [Pipeline] } [2021-09-15T13:39:19.529Z] $ ssh-agent -k [2021-09-15T13:39:19.532Z] unset SSH_AUTH_SOCK; [2021-09-15T13:39:19.532Z] unset SSH_AGENT_PID; [2021-09-15T13:39:19.533Z] echo Agent pid 168 killed; [2021-09-15T13:39:19.544Z] [ssh-agent] Stopped. [2021-09-15T13:39:19.864Z] [Pipeline] // sshagent [2021-09-15T13:39:20.309Z] [Pipeline] } [2021-09-15T13:39:20.604Z] [Pipeline] // stage [2021-09-15T13:39:21.176Z] [Pipeline] } [2021-09-15T13:39:21.476Z] [Pipeline] // timestamps [2021-09-15T13:39:21.921Z] [Pipeline] } [2021-09-15T13:39:22.216Z] [Pipeline] // withEnv [2021-09-15T13:39:22.664Z] [Pipeline] } [2021-09-15T13:39:22.964Z] [Pipeline] // node [2021-09-15T13:39:23.419Z] [Pipeline] End of Pipeline [2021-09-15T13:39:23.597Z] [withMaven] WARNING abort infinite build trigger loop. Please consider opening a Jira issue: Infinite loop of job triggers [2021-09-15T13:39:23.597Z] Finished: SUCCESS