SuccessConsole 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-d2jqk is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-d2jqk"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "57ca7ca61c1ebb5d0deca094401448df2651bf854636605c868714a780a442ee"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ptp.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-d2jqk"
    - name: "JENKINS_NAME"
      value: "default-agent-d2jqk"
    - 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-d2jqk 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 9bf4c1d7f19fc109936c85dc739e46dd09fd5ac7 (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 9bf4c1d7f19fc109936c85dc739e46dd09fd5ac7
Commit message: "Bug 550938 - Add sync project wizards to empty workspace. Restore remote category."
 > /usr/bin/git rev-list --no-walk 7f5c3e942691900664a12d7e14882ed388621c42 # 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-R70gbe60AaFc/agent.221
SSH_AGENT_PID=223
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/promote-build@tmp/private_key_3073142441714125772.key (/home/jenkins/workspace/promote-build@tmp/private_key_3073142441714125772.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] git
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 9bf4c1d7f19fc109936c85dc739e46dd09fd5ac7 (refs/remotes/origin/master)
Commit message: "Bug 550938 - Add sync project wizards to empty workspace. Restore remote category."
[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 9bf4c1d7f19fc109936c85dc739e46dd09fd5ac7
 > /usr/bin/git branch -a -v --no-abbrev # timeout=10
 > /usr/bin/git checkout -b master 9bf4c1d7f19fc109936c85dc739e46dd09fd5ac7
+ ./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-RC2
+ DOWNLOAD_MOUNT=/home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC2
+ ARTIFACTS=https://ci.eclipse.org/ptp/job/ptp-build/381/artifact/
+ '[' ptp == ptp ']'
+ ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/ptp/job/ptp-build/381/artifact//releng/org.eclipse.ptp.repo/target
+ echo Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC2
Using download location root of https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC2
+ echo Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/381/artifact/
Using artifacts location root of https://ci.eclipse.org/ptp/job/ptp-build/381/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-RC2'
+ 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/381/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-RC2'
+ ssh genie.ptp@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC2 &&     wget -q https://ci.eclipse.org/ptp/job/ptp-build/381/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-RC2
Release uploaded to https://download.eclipse.org/tools/ptp/builds/photon/milestones/2019-09-RC2
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 223 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS