Skip to content
Success

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-agent-pod’ are offline
Created Pod: cbi/my-agent-pod-cvw71-ghzcd
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Scheduled] Successfully assigned my-agent-pod-cvw71-ghzcd to osnode-25.eclipse.org
[Normal][cbi/my-agent-pod-cvw71-ghzcd][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "workspace-volume" 
[Normal][cbi/my-agent-pod-cvw71-ghzcd][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "default-token-979jd" 
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Pulled] Container image "maven:alpine" already present on machine
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Created] Created container
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Started] Started container
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Pulled] Container image "eclipsecbijenkins/basic-agent:4.2" already present on machine
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Created] Created container
[Normal][cbi/my-agent-pod-cvw71-ghzcd][Started] Started container
Agent my-agent-pod-cvw71-ghzcd is provisioned from template my-agent-pod-cvw71
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_containerLog_test/8/"
    runUrl: "job/jiro_containerLog_test/8/"
  labels:
    jenkins: "slave"
    jenkins/label: "my-agent-pod"
  name: "my-agent-pod-cvw71-ghzcd"
spec:
  containers:
  - command:
    - "cat"
    image: "maven:alpine"
    name: "maven"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.cbi.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "my-agent-pod-cvw71-ghzcd"
    - name: "JENKINS_NAME"
      value: "my-agent-pod-cvw71-ghzcd"
    - 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/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on my-agent-pod-cvw71-ghzcd in /home/jenkins/agent/workspace/jiro_containerLog_test
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Run maven)
[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] containerLog
> start log of container 'jnlp' in pod 'my-agent-pod-cvw71-ghzcd'
May 08, 2020 12:32:11 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: my-agent-pod-cvw71-ghzcd
May 08, 2020 12:32:11 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
May 08, 2020 12:32:12 PM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 4.2
May 08, 2020 12:32:12 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /home/jenkins/agent/remoting as a remoting work directory
May 08, 2020 12:32:12 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to /home/jenkins/agent/remoting
May 08, 2020 12:32:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins-ui.cbi.svc.cluster.local/cbi/]
May 08, 2020 12:32:13 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
May 08, 2020 12:32:13 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting TCP connection tunneling is enabled. Skipping the TCP Agent Listener Port availability check
May 08, 2020 12:32:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Agent discovery successful
  Agent address: jenkins-discovery.cbi.svc.cluster.local
  Agent port:    50000
  Identity:      ff:27:d5:22:a3:69:5c:83:db:b2:47:4b:67:7b:72:17
May 08, 2020 12:32:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
May 08, 2020 12:32:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jenkins-discovery.cbi.svc.cluster.local:50000
May 08, 2020 12:32:13 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP4-connect
May 08, 2020 12:32:15 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Remote identity confirmed: ff:27:d5:22:a3:69:5c:83:db:b2:47:4b:67:7b:72:17
May 08, 2020 12:32:26 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
> end log of container 'jnlp' in pod 'my-agent-pod-cvw71-ghzcd'
[Pipeline] containerLog
> start log of container 'maven' in pod 'my-agent-pod-cvw71-ghzcd'
> end log of container 'maven' in pod 'my-agent-pod-cvw71-ghzcd'
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS