Started by remote host 172.30.50.1
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes orbit/orbit-recipes-pod-289-v3q3t-4s4ld
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Scheduled] Successfully assigned orbit/orbit-recipes-pod-289-v3q3t-4s4ld to okdnode-23
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][AddedInterface] Add eth0 [10.40.44.179/23] from openshift-sdn
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Pulled] Container image "rgrunber/orbit-recipes-build@sha256:87f58eb859d1438137bc522bd39c1557b333d1bdd7a4d4395f485cb3bf144565" already present on machine
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Created] Created container container
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Started] Started container container
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Pulling] Pulling image "eclipsecbi/jenkins-jnlp-agent"
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Pulled] Successfully pulled image "eclipsecbi/jenkins-jnlp-agent" in 755.654787ms
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Created] Created container jnlp
[Normal][orbit/orbit-recipes-pod-289-v3q3t-4s4ld][Started] Started container jnlp
Still waiting to schedule task
‘orbit-recipes-pod-289-v3q3t-4s4ld’ is offline
Agent orbit-recipes-pod-289-v3q3t-4s4ld is provisioned from template orbit-recipes-pod-289-v3q3t
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.orbit.svc.cluster.local/orbit/job/promote-to-downloads/289/"
runUrl: "job/promote-to-downloads/289/"
labels:
jenkins: "slave"
jenkins/label-digest: "128ef058e1f4993cacd1ed90f69837a28c9e2371"
jenkins/label: "orbit-recipes-pod-289"
name: "orbit-recipes-pod-289-v3q3t-4s4ld"
spec:
containers:
- command:
- "uid_entrypoint"
- "cat"
image: "rgrunber/orbit-recipes-build@sha256:87f58eb859d1438137bc522bd39c1557b333d1bdd7a4d4395f485cb3bf144565"
name: "container"
resources:
limits:
memory: "2Gi"
cpu: "1"
requests:
memory: "2Gi"
cpu: "1"
tty: true
volumeMounts:
- mountPath: "/home/vnc/.ssh"
name: "volume-known-hosts"
- mountPath: "/home/jenkins"
name: "jenkins-home"
readOnly: false
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.orbit.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "orbit-recipes-pod-289-v3q3t-4s4ld"
- name: "JENKINS_NAME"
value: "orbit-recipes-pod-289-v3q3t-4s4ld"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.orbit.svc.cluster.local/orbit/"
image: "eclipsecbi/jenkins-jnlp-agent"
name: "jnlp"
resources:
limits: {}
requests:
memory: "256Mi"
cpu: "100m"
volumeMounts:
- mountPath: "/home/jenkins/.ssh"
name: "volume-known-hosts"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- emptyDir: {}
name: "jenkins-home"
- emptyDir:
medium: ""
name: "workspace-volume"
- configMap:
name: "known-hosts"
name: "volume-known-hosts"
Running on orbit-recipes-pod-289-v3q3t-4s4ld in /home/jenkins/agent/workspace/promote-to-downloads
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 2 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Promote)
[Pipeline] container
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials genie.orbit (ssh://genie.orbit@projects-storage.eclipse.org)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
Executing sh script inside container container of pod orbit-recipes-pod-289-v3q3t-4s4ld
Executing command: "ssh-agent"
exit
SSH_AUTH_SOCK=/tmp/ssh-xNrl9mpxmPvV/agent.23; export SSH_AUTH_SOCK;
SSH_AGENT_PID=24; export SSH_AGENT_PID;
echo Agent pid 24;
SSH_AUTH_SOCK=/tmp/ssh-xNrl9mpxmPvV/agent.23
SSH_AGENT_PID=24
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/promote-to-downloads@tmp/private_key_1973408310464413415.key (/home/jenkins/agent/workspace/promote-to-downloads@tmp/private_key_1973408310464413415.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ umask 0002
+ mkdir -p /home/jenkins/scripts
+ pushd /home/jenkins/scripts
/home/jenkins/scripts /home/jenkins/agent/workspace/promote-to-downloads
+ curl -L -O https://download.eclipse.org/tools/orbit/commonFiles/cpp2c-jiro.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2966 100 2966 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k
+ chmod u+x cpp2c-jiro.sh
+ popd
/home/jenkins/agent/workspace/promote-to-downloads
+ . /home/jenkins/scripts/cpp2c-jiro.sh
+ ORBIT_ROOT=/home/data/httpd/download.eclipse.org/tools/orbit
+ mkdir -p I-builds/I20220329215527/ downloads/drops
+ pushd I-builds/I20220329215527/
/home/jenkins/agent/workspace/promote-to-downloads/I-builds/I20220329215527 /home/jenkins/agent/workspace/promote-to-downloads
+ scp -r 'genie.orbit@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/tools/orbit/I-builds/I20220329215527//*' .
+ popd
/home/jenkins/agent/workspace/promote-to-downloads
+ cpp2c I-builds/I20220329215527/ downloads/drops
+ src=I-builds/I20220329215527/
+ target=downloads/drops
+ newname=
+ suffix=repository
+ '[' '!' -e I-builds/I20220329215527/ ']'
+ '[' '!' -e downloads/drops ']'
+ build=downloads/drops
+ '[' -z '' ']'
++ basename I-builds/I20220329215527/
+ build=downloads/drops/I20220329215527
+ srcisrepo=0
+ '[' -e downloads/drops/I20220329215527 ']'
+ mkdir -p downloads/drops/I20220329215527
+ cp -rp I-builds/I20220329215527//checksum I-builds/I20220329215527//index.html I-builds/I20220329215527//orbit-buildrepo-I20220329215527.zip I-builds/I20220329215527//reporeports I-builds/I20220329215527//repository downloads/drops/I20220329215527
+ for repo in compositeContent.xml compositeArtifacts.xml
+++ find I-builds/I20220329215527/ -name compositeContent.xml
++ xmllint -xpath /repository/children/child/@location I-builds/I20220329215527/repository/compositeContent.xml
+ children=' location="../../../downloads/drops/R20201118194144/repository" location="../../../downloads/drops2/I20220329215527/repository"'
+ for child in ${children}
++ echo 'location="../../../downloads/drops/R20201118194144/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops/R20201118194144/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops/R20201118194144/repository
+ newChildLoc=../../R20201118194144/repository
++ find downloads/drops/I20220329215527 -name compositeContent.xml
+ sed -i 's|../../../downloads/drops/R20201118194144/repository|../../R20201118194144/repository|g' downloads/drops/I20220329215527/repository/compositeContent.xml
+ for child in ${children}
++ echo 'location="../../../downloads/drops2/I20220329215527/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops2/I20220329215527/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops2/I20220329215527/repository
+ newChildLoc=../../../drops2/I20220329215527/repository
++ find downloads/drops/I20220329215527 -name compositeContent.xml
+ sed -i 's|../../../downloads/drops2/I20220329215527/repository|../../../drops2/I20220329215527/repository|g' downloads/drops/I20220329215527/repository/compositeContent.xml
+ for repo in compositeContent.xml compositeArtifacts.xml
+++ find I-builds/I20220329215527/ -name compositeArtifacts.xml
++ xmllint -xpath /repository/children/child/@location I-builds/I20220329215527/repository/compositeArtifacts.xml
+ children=' location="../../../downloads/drops/R20201118194144/repository" location="../../../downloads/drops2/I20220329215527/repository"'
+ for child in ${children}
++ echo 'location="../../../downloads/drops/R20201118194144/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops/R20201118194144/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops/R20201118194144/repository
+ newChildLoc=../../R20201118194144/repository
++ find downloads/drops/I20220329215527 -name compositeArtifacts.xml
+ sed -i 's|../../../downloads/drops/R20201118194144/repository|../../R20201118194144/repository|g' downloads/drops/I20220329215527/repository/compositeArtifacts.xml
+ for child in ${children}
++ echo 'location="../../../downloads/drops2/I20220329215527/repository"'
++ cut '-d"' -f2
+ childLoc=../../../downloads/drops2/I20220329215527/repository
+ '[' 0 -eq 1 ']'
+++ find downloads/drops/I20220329215527 -type d -name repository
+++ find I-builds/I20220329215527/ -type d -name repository
++ realpath -m --relative-to=downloads/drops/I20220329215527/repository I-builds/I20220329215527/repository/../../../downloads/drops2/I20220329215527/repository
+ newChildLoc=../../../drops2/I20220329215527/repository
++ find downloads/drops/I20220329215527 -name compositeArtifacts.xml
+ sed -i 's|../../../downloads/drops2/I20220329215527/repository|../../../drops2/I20220329215527/repository|g' downloads/drops/I20220329215527/repository/compositeArtifacts.xml
+ '[' -z '' ']'
+ echo 1
+ '[' -e downloads/drops/I20220329215527/index.html ']'
+ sed -i '/For HTTP access/ s|[NISR]-builds|downloads/drops|g' downloads/drops/I20220329215527/index.html
+ sed -i 's|\.\./\.\./commonFiles|\.\./\.\./\.\./commonFiles|g' downloads/drops/I20220329215527/index.html
+ scp -r downloads/drops/I20220329215527 genie.orbit@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/tools/orbit/downloads/drops
[Pipeline] }
Executing sh script inside container container of pod orbit-recipes-pod-289-v3q3t-4s4ld
Executing command: "ssh-agent" "-k"
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 24 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS