Console Output
Started by user Greg Watson
Running as Greg Watson
Obtained releng/org.eclipse.ptp.jenkins/promote-build.Jenkinsfile from git git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Agent default-agent-6xpdm is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
name: "default-agent-6xpdm"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "1bb3fda9c2f057dd83ff1cc354de87d5ee121892f34f2d559d7a2ce2dd0e1822"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.ptp.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "default-agent-6xpdm"
- name: "JENKINS_NAME"
value: "default-agent-6xpdm"
- name: "JENKINS_URL"
value: "http://jenkins-ui.ptp.svc.cluster.local/ptp/"
- name: "HOME"
value: "/home/jenkins"
image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:5e2449faafc9c1662697946057b511572fa666289255069526c1d5057be0c0f3"
imagePullPolicy: "IfNotPresent"
name: "jnlp"
resources:
limits:
memory: "4096Mi"
cpu: "2000m"
requests:
memory: "4096Mi"
cpu: "1000m"
securityContext:
privileged: false
tty: true
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/opt/tools"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins/.m2/repository"
name: "volume-2"
readOnly: false
- mountPath: "/home/jenkins"
name: "workspace-volume"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings-security.xml"
name: "settings-security-xml"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "settings-xml"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.ssh"
name: "volume-1"
readOnly: false
workingDir: "/home/jenkins"
nodeSelector: {}
restartPolicy: "Never"
volumes:
- name: "settings-security-xml"
secret:
items:
- key: "settings-security.xml"
path: "settings-security.xml"
secretName: "m2-secret-dir"
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-ptp"
readOnly: true
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
- emptyDir:
medium: ""
name: "volume-2"
- configMap:
name: "known-hosts"
name: "volume-1"
- name: "settings-xml"
secret:
items:
- key: "settings.xml"
path: "settings.xml"
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "workspace-volume"
Running on default-agent-6xpdm in /home/jenkins/workspace/promote-build
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning repository git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
> /usr/bin/git init /home/jenkins/workspace/promote-build # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
> /usr/bin/git --version # timeout=10
> /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
> /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
> /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
> /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 7f5c3e942691900664a12d7e14882ed388621c42 (refs/remotes/origin/master)
> /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 7f5c3e942691900664a12d7e14882ed388621c42
Commit message: "Update target for 2019-09"
> /usr/bin/git rev-list --no-walk 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Upload)
[Pipeline] sshagent
[ssh-agent] Using credentials genie.ptp (ssh://genie.ptp@projects-storage.eclipse.org)
[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-J9TdF70Gq9R7/agent.223
SSH_AGENT_PID=225
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/promote-build@tmp/private_key_8273894728936564171.key (/home/jenkins/workspace/promote-build@tmp/private_key_8273894728936564171.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] git
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 7f5c3e942691900664a12d7e14882ed388621c42 (refs/remotes/origin/master)
Commit message: "Update target for 2019-09"
[Pipeline] sh
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
> /usr/bin/git config remote.origin.url git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git
> /usr/bin/git --version # timeout=10
> /usr/bin/git fetch --tags --force --progress git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git +refs/heads/*:refs/remotes/origin/*
> /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 7f5c3e942691900664a12d7e14882ed388621c42
> /usr/bin/git branch -a -v --no-abbrev # timeout=10
> /usr/bin/git checkout -b master 7f5c3e942691900664a12d7e14882ed388621c42
+ ./releng/org.eclipse.ptp.jenkins/promote-build.sh
+ SSH='ssh genie.ptp@projects-storage.eclipse.org'
+ DOWNLOAD=download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
+ DOWNLOAD_MOUNT=/home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
+ ARTIFACTS=https://ci.eclipse.org/ptp/job/ptp-build/379/artifact/
+ '[' ptp == ptp ']'
+ ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/ptp/job/ptp-build/379/artifact//releng/org.eclipse.ptp.repo/target
+ echo Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
+ echo Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/379/artifact/
Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/379/artifact/
+ echo Testing to make sure we are publishing to a new directory
Testing to make sure we are publishing to a new directory
+ ssh genie.ptp@projects-storage.eclipse.org 'test ! -e /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1'
+ echo Testing to make sure artifacts location is sane
Testing to make sure artifacts location is sane
+ wget -q --output-document=/dev/null https://ci.eclipse.org/ptp/job/ptp-build/379/artifact//releng/org.eclipse.ptp.repo/target
+ ECHO=echo
+ '[' false == false ']'
+ ECHO=
+ ssh genie.ptp@projects-storage.eclipse.org 'mkdir -p /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1'
+ ssh genie.ptp@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1 && wget -q https://ci.eclipse.org/ptp/job/ptp-build/379/artifact//releng/org.eclipse.ptp.repo/target/repository/*zip*/repository.zip && unzip -q repository.zip && mv repository/* . && rm -r repository repository.zip'
+ '[' false == false ']'
+ echo Release uploaded to https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
Release uploaded to https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC1
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 225 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS