Started by user Frederic Gurr Running as Frederic Gurr Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task All nodes of label ‘my-pod’ are offline Created Pod: my-pod-2lxvn-1dm38 in namespace cbi Agent my-pod-2lxvn-1dm38 is provisioned from template my-pod-2lxvn --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_pod_template_custom_container_ssh/3/" runUrl: "job/jiro_pod_template_custom_container_ssh/3/" labels: jenkins: "slave" jenkins/label: "my-pod" name: "my-pod-2lxvn-1dm38" 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-2lxvn-1dm38" - name: "JENKINS_NAME" value: "my-pod-2lxvn-1dm38" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/" - name: "HOME" value: "/home/jenkins" image: "eclipsecbijenkins/basic-agent:3.36" name: "jnlp" 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" Running on my-pod-2lxvn-1dm38 in /home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [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.12.1.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-2lxvn-1dm38 Executing command: "ssh-agent" exit SSH_AUTH_SOCK=/tmp/ssh-hDESNT05e3zY/agent.77; export SSH_AUTH_SOCK; SSH_AGENT_PID=78; export SSH_AGENT_PID; echo Agent pid 78; SSH_AUTH_SOCK=/tmp/ssh-hDESNT05e3zY/agent.77 SSH_AGENT_PID=78 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_6902213099246485364.key (/home/jenkins/agent/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_6902213099246485364.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 324 root root 8192 Mar 4 16:09 .. 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 Feb 11 2019 tpd drwxrwsr-x 6 tha technology.cbi 98 Sep 2 2019 updates [Pipeline] } Executing sh script inside container jnlp of pod my-pod-2lxvn-1dm38 Executing command: "ssh-agent" "-k" exit unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 78 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS