Started by user Frederic Gurr Running as Frederic Gurr Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: cbi/my-pod-5p75b-p27dg [Normal][cbi/my-pod-5p75b-p27dg][Scheduled] Successfully assigned my-pod-5p75b-p27dg to osnode-vm2.eclipse.org [Normal][cbi/my-pod-5p75b-p27dg][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "workspace-volume" [Normal][cbi/my-pod-5p75b-p27dg][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "volume-known-hosts" [Normal][cbi/my-pod-5p75b-p27dg][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "default-token-979jd" Still waiting to schedule task ‘my-pod-5p75b-p27dg’ is offline [Normal][cbi/my-pod-5p75b-p27dg][Pulled] Container image "eclipsecbijenkins/basic-agent:4.2" already present on machine [Normal][cbi/my-pod-5p75b-p27dg][Created] Created container [Normal][cbi/my-pod-5p75b-p27dg][Started] Started container [Normal][cbi/my-pod-5p75b-p27dg][Pulled] Container image "maven:alpine" already present on machine [Normal][cbi/my-pod-5p75b-p27dg][Created] Created container [Normal][cbi/my-pod-5p75b-p27dg][Started] Started container Agent my-pod-5p75b-p27dg is provisioned from template my-pod-5p75b --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_pod_template_custom_container_ssh/4/" runUrl: "job/jiro_pod_template_custom_container_ssh/4/" labels: jenkins: "slave" jenkins/label: "my-pod" name: "my-pod-5p75b-p27dg" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.cbi.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "my-pod-5p75b-p27dg" - name: "JENKINS_NAME" value: "my-pod-5p75b-p27dg" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/" image: "eclipsecbijenkins/basic-agent:4.2" name: "jnlp" resources: requests: cpu: "100m" memory: "256Mi" volumeMounts: - mountPath: "/home/jenkins/.ssh" name: "volume-known-hosts" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - command: - "cat" image: "maven:alpine" name: "maven" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - emptyDir: medium: "" name: "workspace-volume" - configMap: name: "known-hosts" name: "volume-known-hosts" Created Pod: cbi/my-pod-5p75b-7rfn3 [Normal][cbi/my-pod-5p75b-7rfn3][Scheduled] Successfully assigned my-pod-5p75b-7rfn3 to osnode-5.eclipse.org Running on my-pod-5p75b-p27dg in /home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh [Pipeline] { [Normal][cbi/my-pod-5p75b-7rfn3][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "workspace-volume" [Normal][cbi/my-pod-5p75b-7rfn3][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "volume-known-hosts" [Normal][cbi/my-pod-5p75b-7rfn3][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "default-token-979jd" [Pipeline] stage [Pipeline] { (Build) [Normal][cbi/my-pod-5p75b-7rfn3][Pulled] Container image "eclipsecbijenkins/basic-agent:4.2" already present on machine [Normal][cbi/my-pod-5p75b-7rfn3][Created] Created container [Normal][cbi/my-pod-5p75b-7rfn3][Started] Started container [Normal][cbi/my-pod-5p75b-7rfn3][Pulled] Container image "maven:alpine" already present on machine [Normal][cbi/my-pod-5p75b-7rfn3][Created] Created container [Normal][cbi/my-pod-5p75b-7rfn3][Started] Started container [Pipeline] container [Pipeline] { [Pipeline] sh + mvn -version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /usr/share/maven Java version: 1.8.0_212, vendor: IcedTea, runtime: /usr/lib/jvm/java-1.8-openjdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) [Pipeline] container [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials genie.cbi (genie.cbi (ssh://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 jnlp of pod my-pod-5p75b-p27dg Executing command: "ssh-agent" exit SSH_AUTH_SOCK=/tmp/ssh-9WuDXfHaDVMr/agent.93; export SSH_AUTH_SOCK; SSH_AGENT_PID=94; export SSH_AGENT_PID; echo Agent pid 94; SSH_AUTH_SOCK=/tmp/ssh-9WuDXfHaDVMr/agent.93 SSH_AGENT_PID=94 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_7921806447585688062.key (/home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_7921806447585688062.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + ssh genie.cbi@projects-storage.eclipse.org ls -al /home/data/httpd/download.eclipse.org/cbi total 12 drwxrwsr-x 6 tha technology.cbi 83 Dec 21 2018 . drwxr-xr-x 327 root root 8192 May 7 09:59 .. drwxrwsr-x 3 tha technology.cbi 32 Aug 5 2014 examples drwxrwsr-x 6 tha technology.cbi 246 Apr 15 2014 staging drwxrwsr-x 3 genie.cbi technology.cbi 36 May 6 06:35 tpd drwxrwsr-x 6 tha technology.cbi 98 Sep 2 2019 updates [Pipeline] } Executing sh script inside container jnlp of pod my-pod-5p75b-p27dg Executing command: "ssh-agent" "-k" exit unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 94 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS