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] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
There are no nodes with the label ‘my-agent-podCreated Pod: kubernetes cbi/my-agent-pod-vtd2g-0tj1v
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Scheduled] Successfully assigned cbi/my-agent-pod-vtd2g-0tj1v to okdnode-24
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][AddedInterface] Add eth0 [10.40.64.41/23]
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Pulling] Pulling image "maven:alpine"
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Pulled] Successfully pulled image "maven:alpine" in 5.524592038s
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Created] Created container maven
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Started] Started container maven
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Pulled] Container image "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.7" already present on machine
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Created] Created container jnlp
[Normal][cbi/my-agent-pod-vtd2g-0tj1v][Started] Started container jnlp
Agent my-agent-pod-vtd2g-0tj1v is provisioned from template my-agent-pod-vtd2g
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_containerLog_test/9/"
    runUrl: "job/jiro_containerLog_test/9/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "138f65105f5cdc059253961c36a46c19eb0d2751"
    jenkins/label: "my-agent-pod"
  name: "my-agent-pod-vtd2g-0tj1v"
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-vtd2g-0tj1v"
    - name: "JENKINS_NAME"
      value: "my-agent-pod-vtd2g-0tj1v"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.7"
    name: "jnlp"
    resources:
      limits: {}
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on my-agent-pod-vtd2g-0tj1v 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: "5.10.19-200.fc33.x86_64", arch: "amd64", family: "unix"
[Pipeline] containerLog
> start log of container 'jnlp' in pod 'my-agent-pod-vtd2g-0tj1v'
Jun 08, 2021 6:24:23 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: my-agent-pod-vtd2g-0tj1v
Jun 08, 2021 6:24:23 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Jun 08, 2021 6:24:23 PM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 4.7
Jun 08, 2021 6:24:23 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /home/jenkins/agent/remoting as a remoting work directory
Jun 08, 2021 6:24:23 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to /home/jenkins/agent/remoting
Jun 08, 2021 6:24:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins-ui.cbi.svc.cluster.local/cbi/]
Jun 08, 2021 6:24:24 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
Jun 08, 2021 6:24:24 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting TCP connection tunneling is enabled. Skipping the TCP Agent Listener Port availability check
Jun 08, 2021 6:24:24 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
Jun 08, 2021 6:24:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jun 08, 2021 6:24:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jenkins-discovery.cbi.svc.cluster.local:50000
Jun 08, 2021 6:24:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP4-connect
Jun 08, 2021 6:24:25 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
Jun 08, 2021 6:24:25 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
> end log of container 'jnlp' in pod 'my-agent-pod-vtd2g-0tj1v'
[Pipeline] containerLog
> start log of container 'maven' in pod 'my-agent-pod-vtd2g-0tj1v'
> end log of container 'maven' in pod 'my-agent-pod-vtd2g-0tj1v'
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS