Skip to content

Console Output

Started by user Thomas Jaeckle
Running as Thomas Jaeckle
Obtained jenkins/Jenkinsfile_jiro from git https://github.com/eclipse-ditto/ditto-testing
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes ditto/ditto-testing-pipeline-20-6kpf7-rw06q-glpsf
Still waiting to schedule task
‘ditto-testing-pipeline-20-6kpf7-rw06q-glpsf’ is offline
Agent ditto-testing-pipeline-20-6kpf7-rw06q-glpsf is provisioned from template ditto-testing-pipeline_20-6kpf7-rw06q
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.ditto.svc.cluster.local/ditto/job/ditto-testing-pipeline/20/"
    runUrl: "job/ditto-testing-pipeline/20/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "548123db93e4538a297ee14533ec736260810848"
    jenkins/label: "ditto-testing-pipeline_20-6kpf7"
  name: "ditto-testing-pipeline-20-6kpf7-rw06q-glpsf"
  namespace: "ditto"
spec:
  containers:
  - command:
    - "cat"
    image: "docker/compose:latest"
    name: "docker-compose"
    resources:
      limits:
        memory: "8Gi"
        cpu: "2"
      requests:
        memory: "8Gi"
        cpu: "2"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ditto.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "ditto-testing-pipeline-20-6kpf7-rw06q-glpsf"
    - name: "JENKINS_NAME"
      value: "ditto-testing-pipeline-20-6kpf7-rw06q-glpsf"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ditto.svc.cluster.local/ditto/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3"
    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 ditto-testing-pipeline-20-6kpf7-rw06q-glpsf in /home/jenkins/agent/workspace/ditto-testing-pipeline
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clean workspace and create local maven repo)
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] sh
+ echo Create local maven repo
Create local maven repo
+ mkdir -p /home/jenkins/agent/workspace/.m2
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout scm)
[Pipeline] checkout
The recommended git tool is: git
No credentials specified
Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@89b78a13; decorates RemoteLauncher[hudson.remoting.Channel@f313c6dd:JNLP4-connect connection from 10.40.63.211/10.40.63.211:59862] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ditto/ditto-testing
 > git init /home/jenkins/agent/workspace/ditto-testing-pipeline # timeout=10
Fetching upstream changes from https://github.com/eclipse-ditto/ditto-testing
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse-ditto/ditto-testing +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 40cfca074b1e9536ccfd6019998e98a9e5382485 (refs/remotes/origin/main)
 > git config remote.origin.url https://github.com/eclipse-ditto/ditto-testing # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 40cfca074b1e9536ccfd6019998e98a9e5382485 # timeout=10
Commit message: "Update Jenkinsfile_jiro"
 > git rev-list --no-walk dc448a47a6be9db0c357ed494a34edf6358da34e # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Preparation)
[Pipeline] sh
+ echo environments 'for' docker-compose
environments for docker-compose
+ echo 'COMPOSE_PROJECT_NAME=ditto-testing-pipeline-20'
COMPOSE_PROJECT_NAME=ditto-testing-pipeline-20
+ echo 'DOCKER_REGISTRY=docker.io'
DOCKER_REGISTRY=docker.io
+ echo 'DITTO_VERSION=nightly'
DITTO_VERSION=nightly
+ echo 'DOCKER_NETWORK=ditto-testing-pipeline-20'
DOCKER_NETWORK=ditto-testing-pipeline-20
[Pipeline] sh
+ echo delete compose override to avoid port binding
delete compose override to avoid port binding
+ rm docker/docker-compose.override.yml
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run module: system)
[Pipeline] stage
[Pipeline] { (Start docker environment)
[Pipeline] sh
+ cd docker
+ TAG=system ./start.sh
env: can't execute 'bash': No such file or directory
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run tests)
Stage "Run tests" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
Post stage
[Pipeline] sh
+ docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Error when executing always post condition:
hudson.AbortException: script returned exit code 1
	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:664)
	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:610)
	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:554)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:840)

[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Set displayName and keep forever)
Stage "Set displayName and keep forever" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 127
Finished: FAILURE