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
Agent default-agent-cfkwn is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-cfkwn"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "845037c150fd84a580100e31474baab41f379b74d75961eb7ea43915b232f482"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ptp.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-cfkwn"
    - name: "JENKINS_NAME"
      value: "default-agent-cfkwn"
    - 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-cfkwn 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/*
Checking out Revision 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f (refs/remotes/origin/master)
 > /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/*
 > /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 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f
Commit message: "Update version for 9.3.1. Removed old plugins."
 > /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-pEP14CxSsmEz/agent.230
SSH_AGENT_PID=232
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/promote-build@tmp/private_key_6865357371871935136.key (/home/jenkins/workspace/promote-build@tmp/private_key_6865357371871935136.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] git
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f (refs/remotes/origin/master)
 > /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 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f
Commit message: "Update version for 9.3.1. Removed old plugins."
[Pipeline] sh
+ ./releng/org.eclipse.ptp.jenkins/promote-build.sh
+ SSH='ssh genie.ptp@projects-storage.eclipse.org'
+ DOWNLOAD=download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
+ DOWNLOAD_MOUNT=/home/data/httpd/download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
+ ARTIFACTS=https://ci.eclipse.org/ptp/job/remote-build/159/artifact/
+ '[' remote == ptp ']'
+ '[' remote == remote ']'
+ ARTIFACTS_REPO_TARGET=https://ci.eclipse.org/ptp/job/remote-build/159/artifact//releng/org.eclipse.remote.repo/target
+ echo Using download location root of https://download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
Using download location root of https://download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
+ echo Using artifacts location root of https://ci.eclipse.org/ptp/job/remote-build/159/artifact/
Using artifacts location root of https://ci.eclipse.org/ptp/job/remote-build/159/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/remote/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/remote-build/159/artifact//releng/org.eclipse.remote.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/remote/photon/milestones/2019-09-RC1'
+ ssh genie.ptp@projects-storage.eclipse.org 'cd /home/data/httpd/download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1 &&     wget -q https://ci.eclipse.org/ptp/job/remote-build/159/artifact//releng/org.eclipse.remote.repo/target/repository/*zip*/repository.zip &&     unzip -q repository.zip &&     mv repository/* . &&     rm -r repository repository.zip'
 > /usr/bin/git branch -a -v --no-abbrev # timeout=10
 > /usr/bin/git checkout -b master 29a1eec4d1c1f56755afb8de8f20b3fe02332a8f
+ '[' false == false ']'
+ echo Release uploaded to https://download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
Release uploaded to https://download.eclipse.org/tools/ptp/builds/remote/photon/milestones/2019-09-RC1
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 232 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS