Skip to content
Failed

Console Output

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
Agent my-pod-hmtrg-cn716 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_pod_template_custom_container_ssh/1/"
  labels:
    jenkins: "slave"
    jenkins/my-pod: "true"
  name: "my-pod-hmtrg-cn716"
spec:
  containers:
  - command:
    - "cat"
    image: "maven:alpine"
    name: "maven"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "2f78018931b51165f87c08e06c5f11d99756114a86de97fee92e72efa3672b13"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.cbi.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "my-pod-hmtrg-cn716"
    - name: "JENKINS_NAME"
      value: "my-pod-hmtrg-cn716"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:bec98792361aa1f3569bd59c3ceb5c42ded1939b24ff3f68dacb8e692af619ca"
    name: "jnlp"
    volumeMounts:
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "workspace-volume"

Running on my-pod-hmtrg-cn716 in /home/jenkins/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-957.21.3.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 shell script inside container [jnlp] of pod [my-pod-hmtrg-cn716]
Executing command: "ssh-agent" 
exit
SSH_AUTH_SOCK=/tmp/ssh-tea6ZIyDdYeb/agent.80; export SSH_AUTH_SOCK;
SSH_AGENT_PID=82; export SSH_AGENT_PID;
echo Agent pid 82;
SSH_AUTH_SOCK=/tmp/ssh-tea6ZIyDdYeb/agent.80
SSH_AGENT_PID=82
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_1018271646342576933.key (/home/jenkins/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_1018271646342576933.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh genie.cbi@projects-storage.eclipse.org ls -al /home/data/httpd/download.eclipse.org/cbi
Host key verification failed.
[Pipeline] }
Executing shell script inside container [jnlp] of pod [my-pod-hmtrg-cn716]
Executing command: "ssh-agent" "-k" 
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 82 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 255
Finished: FAILURE