Skip to content
Success

Console Output

Started by timer
Querying the current revision of branch main...
Current revision of branch main is f5e503ecf3c0bd1cb4e4b27c7c4e540855d5b8f0
Obtained test/containerBuild/Jenkinsfile.containerBuildStageTestSuite from f5e503ecf3c0bd1cb4e4b27c7c4e540855d5b8f0
Loading library releng-pipeline@main
Attempting to resolve main from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.43.2'
 > git ls-remote -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git # timeout=10
Found match: refs/heads/main revision 990d2255b2210260fb746d557366e6a7e025dd42
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins/workspace/jpl-containerBuildTestSuite_main@libs/4355fc0889d6bce1359578d0eed196c62b68f858e457d99b09b4a866d782b91d/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.2'
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git +refs/heads/main:refs/remotes/origin/main # timeout=10
Checking out Revision 990d2255b2210260fb746d557366e6a7e025dd42 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 990d2255b2210260fb746d557366e6a7e025dd42 # timeout=10
Commit message: "feat: login with name optionnal"
 > git rev-list --no-walk 990d2255b2210260fb746d557366e6a7e025dd42 # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildTestSuite/main #47: Build started...
[GitLab Pipeline Status] Notified
[Pipeline] Start of Pipeline
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: apiVersion: v1
kind: Pod
spec:
  containers:
  - name: containertools
    image: eclipsefdn/containertools:alpine-latest
    imagePullPolicy: Always
    command: [ "sleep" ]
    args: [ "infinity" ]
    resources:
      limits:
        cpu: 500m
        memory: 256Mi

[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes cbi/jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj
Still waiting to schedule task
‘jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj’ is offline
Agent jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj is provisioned from template jpl-containerBuildTestSuite_main_47-9vfn3-bzd67
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    kubernetes.jenkins.io/last-refresh: "1716330189658"
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jpl-containerBuildTestSuite/job/main/47/"
    runUrl: "job/jpl-containerBuildTestSuite/job/main/47/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "a25a7875b49f5fac40504cb94523daea51037b15"
    jenkins/label: "jpl-containerBuildTestSuite_main_47-9vfn3"
    kubernetes.jenkins.io/controller: "http___jenkins-ui_cbi_svc_cluster_local_cbix"
  name: "jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj"
  namespace: "cbi"
spec:
  containers:
  - args:
    - "infinity"
    command:
    - "sleep"
    image: "eclipsefdn/containertools:alpine-latest"
    imagePullPolicy: "Always"
    name: "containertools"
    resources:
      limits:
        cpu: "500m"
        memory: "256Mi"
    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: "jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj"
    - name: "JENKINS_NAME"
      value: "jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj"
    - 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-ubuntu:remoting-3206.vb_15dcf73f6a_9"
    name: "jnlp"
    resources:
      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 jpl-containerbuildtestsuite-main-47-9vfn3-bzd67-9fntj in /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git
 > git init /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
Avoid second fetch
Checking out Revision f5e503ecf3c0bd1cb4e4b27c7c4e540855d5b8f0 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f5e503ecf3c0bd1cb4e4b27c7c4e540855d5b8f0 # timeout=10
Commit message: "feat: add pipeline option and default trigger"
 > git rev-list --no-walk f5e503ecf3c0bd1cb4e4b27c7c4e540855d5b8f0 # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildTestSuite/main #47: Build started...
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 30 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Container Build classic with debug)
[Pipeline] echo
##################### Container Build classic with debug #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:07 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ true == \t\r\u\e ]]
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILD_DATE=2024-05-21T22:24:08Z
+ IMAGE_ANNOTATIONS+=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.created=2024-05-21T22:24:08Z,
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:latest,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.revision=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.version=latest
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:latest
+ [[ -n '' ]]
+ ALIASES=
+ [[ -n '' ]]
+ [[ latest != \l\a\t\e\s\t ]]
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:08Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:latest,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=latest'
Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:08Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:latest,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=latest
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: false'
latest: false
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:latest",push=false,annotation.org.opencontainers.image.created=2024-05-21T22:24:08Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:latest,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=latest' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B 0.0s done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 ...

#3 [auth] library/ubuntu:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.9s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#5 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 0.0s done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 exporting manifest sha256:c16b3937de3157e74531ade1ddfd3d9c40f6e82d49881cb34a60c2650fcbcdf4 0.0s done
#7 exporting config sha256:e1f89689a7d4071b30e698255d9f12cfd9ec67796a36ec1c7f20d55fdce3e440 done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific version)
[Pipeline] echo
##################### Container Build with a specific version #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:10 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ true == \t\r\u\e ]]
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILD_DATE=2024-05-21T22:24:10Z
+ IMAGE_ANNOTATIONS+=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.created=2024-05-21T22:24:10Z,
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.revision=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.version=v1.0.0
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n '' ]]
+ ALIASES=
+ [[ -n '' ]]
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ false == \t\r\u\e ]]
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ echo 'Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:10Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0'
Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:10Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: false'
latest: false
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0",push=false,annotation.org.opencontainers.image.created=2024-05-21T22:24:10Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 ...

#3 [auth] library/ubuntu:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.6s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#5 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 exporting manifest sha256:7c9d58b2abe6971a4a27edfed121971cedc1556ef2e539975e7a2d4c5aa831f7 done
#7 exporting config sha256:1e4c24686b57e62d8da5bd23b7e884f4c88de33aad5d3c84b7499494265dfb6b done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific version and extras versions)
[Pipeline] echo
##################### Container Build with a specific version and extras versions #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:30 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ true == \t\r\u\e ]]
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILD_DATE=2024-05-21T22:24:30Z
+ IMAGE_ANNOTATIONS+=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.created=2024-05-21T22:24:30Z,
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.revision=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.version=v1.0.0
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=
+ [[ -n '' ]]
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ false == \t\r\u\e ]]
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ echo 'Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:30Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0'
Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:30Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: false'
latest: false
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1",push=false,annotation.org.opencontainers.image.created=2024-05-21T22:24:30Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.5s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#4 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 done
#4 DONE 0.0s

#5 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#5 CACHED

#6 exporting to image
#6 exporting layers done
#6 exporting manifest sha256:2b938474d8723fe8e9605c5aaf60bc2e252c339266d414c9e6cc90842e8b5327 done
#6 exporting config sha256:1e4c24686b57e62d8da5bd23b7e884f4c88de33aad5d3c84b7499494265dfb6b done
#6 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific version and a latest)
[Pipeline] echo
##################### Container Build with a specific version and a latest #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:32 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ true == \t\r\u\e ]]
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILD_DATE=2024-05-21T22:24:32Z
+ IMAGE_ANNOTATIONS+=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.created=2024-05-21T22:24:32Z,
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.revision=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.version=v1.0.0
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=
+ [[ -n '' ]]
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:32Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0'
Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:32Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false,annotation.org.opencontainers.image.created=2024-05-21T22:24:32Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 ...

#3 [auth] library/ubuntu:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.5s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#5 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 exporting manifest sha256:13adb0c4fb229661e48f6a08d1a7ab5c85a6caddeb4f2d9eceb87654b7023412 done
#7 exporting config sha256:3bb9118de08f359b5286101bdb8d7c9e3a308d60773fd9cd1840def9803e9d5d done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific version and aliases)
[Pipeline] echo
##################### Container Build with a specific version and a latest #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:33 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ true == \t\r\u\e ]]
++ date -u +%Y-%m-%dT%H:%M:%SZ
+ BUILD_DATE=2024-05-21T22:24:34Z
+ IMAGE_ANNOTATIONS+=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.created=2024-05-21T22:24:34Z,
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.revision=,
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,
+ [[ -n '' ]]
+ IMAGE_ANNOTATIONS+=annotation.org.opencontainers.image.version=v1.0.0
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 ]]
+ [[ docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 != \n\u\l\l ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:34Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0'
Annotation: ,annotation.org.opencontainers.image.created=2024-05-21T22:24:34Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false,annotation.org.opencontainers.image.created=2024-05-21T22:24:34Z,annotation.org.opencontainers.image.ref.name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,annotation.org.opencontainers.image.revision=,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git,annotation.org.opencontainers.image.version=v1.0.0' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 ...

#3 [auth] library/ubuntu:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.6s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#5 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 exporting manifest sha256:dd186e258203f07003b6ff625a662e9b2b2e7812f0af78505dfb8f8b23f2ab33 done
#7 exporting config sha256:3bf75be20812a2acf1850258ff0ee860b82d4ca771709225e046fb897a4dbd40 done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build without annotations)
[Pipeline] echo
##################### Container Build without annotations #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:35 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ false == \t\r\u\e ]]
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 ]]
+ [[ docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 != \n\u\l\l ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: '
Annotation: 
+ echo 'Context: .'
Context: .
+ echo 'Dockerfile: Dockerfile'
Dockerfile: Dockerfile
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main
++ basename Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f Dockerfile ]]
+++ readlink -f Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/Dockerfile
++ basename Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.3s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#4 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 done
#4 DONE 0.0s

#5 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#5 CACHED

#6 exporting to image
#6 exporting layers done
#6 exporting manifest sha256:ae20a176484e2851bfdccc54afc71f5447bc008da1d6b3a7e5bdccaaeab9a764 done
#6 exporting config sha256:3bb9118de08f359b5286101bdb8d7c9e3a308d60773fd9cd1840def9803e9d5d done
#6 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific dockerfile and context directory)
[Pipeline] echo
##################### Container Build with a specific dockerfile and context directory #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:37 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ false == \t\r\u\e ]]
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 ]]
+ [[ docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 != \n\u\l\l ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: '
Annotation: 
+ echo 'Context: ./test/containerBuild/docker'
Context: ./test/containerBuild/docker
+ echo 'Dockerfile: ./test/containerBuild/docker/Dockerfile'
Dockerfile: ./test/containerBuild/docker/Dockerfile
+++ readlink -f ./test/containerBuild/docker/Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker
++ basename ./test/containerBuild/docker/Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f ./test/containerBuild/docker/Dockerfile ]]
+++ readlink -f ./test/containerBuild/docker/Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/Dockerfile
++ basename ./test/containerBuild/docker/Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=./test/containerBuild/docker --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false' --opt filename=Dockerfile
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:latest
#2 DONE 0.4s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/2] FROM docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15
#4 resolve docker.io/library/ubuntu:latest@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 0.0s done
#4 DONE 0.0s

#5 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#5 CACHED

#6 exporting to image
#6 exporting layers done
#6 exporting manifest sha256:9b84bd4c5aefab7f02dda39c48d1cee749fb012d5b0458db43831a308d5a1265 0.0s done
#6 exporting config sha256:e1f89689a7d4071b30e698255d9f12cfd9ec67796a36ec1c7f20d55fdce3e440 done
#6 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with a specific dockerfile name and context directory)
[Pipeline] echo
##################### Container Build with a specific dockerfile name and context directory #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:24:39 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ false == \t\r\u\e ]]
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 ]]
+ [[ docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 != \n\u\l\l ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: '
Annotation: 
+ echo 'Context: ./test/containerBuild/docker'
Context: ./test/containerBuild/docker
+ echo 'Dockerfile: ./test/containerBuild/docker/debian.Dockerfile'
Dockerfile: ./test/containerBuild/docker/debian.Dockerfile
+++ readlink -f ./test/containerBuild/docker/debian.Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/debian.Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker
++ basename ./test/containerBuild/docker/debian.Dockerfile
+ echo 'filename: debian.Dockerfile'
filename: debian.Dockerfile
+ echo 'buildArgs: null'
buildArgs: null
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS=null
+ [[ null == \n\u\l\l ]]
+ BUILD_ARGS=
+ [[ ! -f ./test/containerBuild/docker/debian.Dockerfile ]]
+++ readlink -f ./test/containerBuild/docker/debian.Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/debian.Dockerfile
++ basename ./test/containerBuild/docker/debian.Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=./test/containerBuild/docker --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false' --opt filename=debian.Dockerfile
#1 [internal] load build definition from debian.Dockerfile
#1 transferring dockerfile: 572B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/debian:latest
#2 ...

#3 [auth] library/debian:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/debian:latest
#2 DONE 1.4s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/debian:latest@sha256:fac2c0fd33e88dfd3bc88a872cfb78dcb167e74af6162d31724df69e482f886c
#5 resolve docker.io/library/debian:latest@sha256:fac2c0fd33e88dfd3bc88a872cfb78dcb167e74af6162d31724df69e482f886c 0.0s done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 0.276 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#6 0.360 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#6 0.390 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#6 0.484 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
#6 0.683 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
#6 0.684 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [156 kB]
#6 2.117 Fetched 9210 kB in 2s (4793 kB/s)
#6 2.117 Reading package lists...
#6 2.943 Reading package lists...
#6 3.735 Building dependency tree...
#6 3.876 Reading state information...
#6 4.049 The following additional packages will be installed:
#6 4.050   libeatmydata1
#6 4.106 The following NEW packages will be installed:
#6 4.108   eatmydata libeatmydata1
#6 4.186 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
#6 4.186 Need to get 21.9 kB of archives.
#6 4.186 After this operation, 65.5 kB of additional disk space will be used.
#6 4.186 Get:1 http://deb.debian.org/debian bookworm/main amd64 libeatmydata1 amd64 130-2+b1 [10.7 kB]
#6 4.214 Get:2 http://deb.debian.org/debian bookworm/main amd64 eatmydata all 130-2 [11.2 kB]
#6 4.406 debconf: delaying package configuration, since apt-utils is not installed
#6 4.436 Fetched 21.9 kB in 0s (221 kB/s)
#6 4.521 Selecting previously unselected package libeatmydata1:amd64.
#6 4.521 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6090 files and directories currently installed.)
#6 4.540 Preparing to unpack .../libeatmydata1_130-2+b1_amd64.deb ...
#6 4.547 Unpacking libeatmydata1:amd64 (130-2+b1) ...
#6 4.577 Selecting previously unselected package eatmydata.
#6 4.578 Preparing to unpack .../eatmydata_130-2_all.deb ...
#6 4.581 Unpacking eatmydata (130-2) ...
#6 4.616 Setting up libeatmydata1:amd64 (130-2+b1) ...
#6 4.625 Setting up eatmydata (130-2) ...
#6 4.635 Processing triggers for libc-bin (2.36-9+deb12u7) ...
#6 4.712 Reading package lists...
#6 5.531 Building dependency tree...
#6 5.670 Reading state information...
#6 5.841 The following additional packages will be installed:
#6 5.841   git-man libbrotli1 libcurl3-gnutls liberror-perl libexpat1 libgdbm-compat4
#6 5.841   libgdbm6 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
#6 5.842   libkrb5support0 libldap-2.5-0 libnghttp2-14 libperl5.36 libpsl5 librtmp1
#6 5.842   libsasl2-2 libsasl2-modules-db libssh2-1 libssl3 perl perl-modules-5.36
#6 5.843 Suggested packages:
#6 5.843   gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
#6 5.843   gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n krb5-doc krb5-user
#6 5.843   sensible-utils perl-doc libterm-readline-gnu-perl
#6 5.843   | libterm-readline-perl-perl make libtap-harness-archive-perl
#6 5.843 Recommended packages:
#6 5.843   ca-certificates patch less ssh-client krb5-locales libldap-common
#6 5.843   publicsuffix libsasl2-modules netbase
#6 6.121 The following NEW packages will be installed:
#6 6.121   git git-man libbrotli1 libcurl3-gnutls liberror-perl libexpat1
#6 6.121   libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3 libkeyutils1
#6 6.122   libkrb5-3 libkrb5support0 libldap-2.5-0 libnghttp2-14 libperl5.36 libpsl5
#6 6.123   librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl3 perl
#6 6.123   perl-modules-5.36
#6 6.228 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
#6 6.228 Need to get 20.6 MB of archives.
#6 6.228 After this operation, 108 MB of additional disk space will be used.
#6 6.228 Get:1 http://deb.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2815 kB]
#6 6.416 Get:2 http://deb.debian.org/debian bookworm/main amd64 libgdbm6 amd64 1.23-3 [72.2 kB]
#6 6.417 Get:3 http://deb.debian.org/debian bookworm/main amd64 libgdbm-compat4 amd64 1.23-3 [48.2 kB]
#6 6.418 Get:4 http://deb.debian.org/debian bookworm/main amd64 libperl5.36 amd64 5.36.0-7+deb12u1 [4218 kB]
#6 6.489 Get:5 http://deb.debian.org/debian bookworm/main amd64 perl amd64 5.36.0-7+deb12u1 [239 kB]
#6 6.491 Get:6 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB]
#6 6.494 Get:7 http://deb.debian.org/debian bookworm/main amd64 libkrb5support0 amd64 1.20.1-2+deb12u1 [32.4 kB]
#6 6.495 Get:8 http://deb.debian.org/debian bookworm/main amd64 libk5crypto3 amd64 1.20.1-2+deb12u1 [78.9 kB]
#6 6.496 Get:9 http://deb.debian.org/debian bookworm/main amd64 libkeyutils1 amd64 1.6.3-2 [8808 B]
#6 6.496 Get:10 http://deb.debian.org/debian bookworm/main amd64 libssl3 amd64 3.0.11-1~deb12u2 [2019 kB]
#6 6.518 Get:11 http://deb.debian.org/debian bookworm/main amd64 libkrb5-3 amd64 1.20.1-2+deb12u1 [332 kB]
#6 6.521 Get:12 http://deb.debian.org/debian bookworm/main amd64 libgssapi-krb5-2 amd64 1.20.1-2+deb12u1 [134 kB]
#6 6.523 Get:13 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB]
#6 6.523 Get:14 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB]
#6 6.549 Get:15 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB]
#6 6.551 Get:16 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u1 [72.4 kB]
#6 6.552 Get:17 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB]
#6 6.553 Get:18 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
#6 6.554 Get:19 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB]
#6 6.555 Get:20 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u5 [385 kB]
#6 6.572 Get:21 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1 [99.3 kB]
#6 6.574 Get:22 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB]
#6 6.574 Get:23 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.2-1.1 [2049 kB]
#6 6.593 Get:24 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.2-1.1 [7171 kB]
#6 6.846 debconf: delaying package configuration, since apt-utils is not installed
#6 6.883 Fetched 20.6 MB in 1s (40.4 MB/s)
#6 6.913 Selecting previously unselected package perl-modules-5.36.
#6 6.913 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6103 files and directories currently installed.)
#6 6.920 Preparing to unpack .../00-perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
#6 6.927 Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) ...
#6 7.396 Selecting previously unselected package libgdbm6:amd64.
#6 7.398 Preparing to unpack .../01-libgdbm6_1.23-3_amd64.deb ...
#6 7.399 Unpacking libgdbm6:amd64 (1.23-3) ...
#6 7.423 Selecting previously unselected package libgdbm-compat4:amd64.
#6 7.424 Preparing to unpack .../02-libgdbm-compat4_1.23-3_amd64.deb ...
#6 7.425 Unpacking libgdbm-compat4:amd64 (1.23-3) ...
#6 7.446 Selecting previously unselected package libperl5.36:amd64.
#6 7.447 Preparing to unpack .../03-libperl5.36_5.36.0-7+deb12u1_amd64.deb ...
#6 7.448 Unpacking libperl5.36:amd64 (5.36.0-7+deb12u1) ...
#6 7.918 Selecting previously unselected package perl.
#6 7.920 Preparing to unpack .../04-perl_5.36.0-7+deb12u1_amd64.deb ...
#6 7.931 Unpacking perl (5.36.0-7+deb12u1) ...
#6 7.972 Selecting previously unselected package libbrotli1:amd64.
#6 7.974 Preparing to unpack .../05-libbrotli1_1.0.9-2+b6_amd64.deb ...
#6 7.975 Unpacking libbrotli1:amd64 (1.0.9-2+b6) ...
#6 8.022 Selecting previously unselected package libkrb5support0:amd64.
#6 8.024 Preparing to unpack .../06-libkrb5support0_1.20.1-2+deb12u1_amd64.deb ...
#6 8.025 Unpacking libkrb5support0:amd64 (1.20.1-2+deb12u1) ...
#6 8.046 Selecting previously unselected package libk5crypto3:amd64.
#6 8.047 Preparing to unpack .../07-libk5crypto3_1.20.1-2+deb12u1_amd64.deb ...
#6 8.048 Unpacking libk5crypto3:amd64 (1.20.1-2+deb12u1) ...
#6 8.074 Selecting previously unselected package libkeyutils1:amd64.
#6 8.076 Preparing to unpack .../08-libkeyutils1_1.6.3-2_amd64.deb ...
#6 8.076 Unpacking libkeyutils1:amd64 (1.6.3-2) ...
#6 8.095 Selecting previously unselected package libssl3:amd64.
#6 8.096 Preparing to unpack .../09-libssl3_3.0.11-1~deb12u2_amd64.deb ...
#6 8.097 Unpacking libssl3:amd64 (3.0.11-1~deb12u2) ...
#6 8.292 Selecting previously unselected package libkrb5-3:amd64.
#6 8.294 Preparing to unpack .../10-libkrb5-3_1.20.1-2+deb12u1_amd64.deb ...
#6 8.294 Unpacking libkrb5-3:amd64 (1.20.1-2+deb12u1) ...
#6 8.349 Selecting previously unselected package libgssapi-krb5-2:amd64.
#6 8.351 Preparing to unpack .../11-libgssapi-krb5-2_1.20.1-2+deb12u1_amd64.deb ...
#6 8.351 Unpacking libgssapi-krb5-2:amd64 (1.20.1-2+deb12u1) ...
#6 8.382 Selecting previously unselected package libsasl2-modules-db:amd64.
#6 8.383 Preparing to unpack .../12-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ...
#6 8.384 Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
#6 8.404 Selecting previously unselected package libsasl2-2:amd64.
#6 8.405 Preparing to unpack .../13-libsasl2-2_2.1.28+dfsg-10_amd64.deb ...
#6 8.406 Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ...
#6 8.430 Selecting previously unselected package libldap-2.5-0:amd64.
#6 8.432 Preparing to unpack .../14-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ...
#6 8.432 Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
#6 8.470 Selecting previously unselected package libnghttp2-14:amd64.
#6 8.472 Preparing to unpack .../15-libnghttp2-14_1.52.0-1+deb12u1_amd64.deb ...
#6 8.473 Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...
#6 8.498 Selecting previously unselected package libpsl5:amd64.
#6 8.499 Preparing to unpack .../16-libpsl5_0.21.2-1_amd64.deb ...
#6 8.500 Unpacking libpsl5:amd64 (0.21.2-1) ...
#6 8.523 Selecting previously unselected package librtmp1:amd64.
#6 8.525 Preparing to unpack .../17-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
#6 8.525 Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
#6 8.548 Selecting previously unselected package libssh2-1:amd64.
#6 8.550 Preparing to unpack .../18-libssh2-1_1.10.0-3+b1_amd64.deb ...
#6 8.551 Unpacking libssh2-1:amd64 (1.10.0-3+b1) ...
#6 8.585 Selecting previously unselected package libcurl3-gnutls:amd64.
#6 8.586 Preparing to unpack .../19-libcurl3-gnutls_7.88.1-10+deb12u5_amd64.deb ...
#6 8.587 Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u5) ...
#6 8.636 Selecting previously unselected package libexpat1:amd64.
#6 8.638 Preparing to unpack .../20-libexpat1_2.5.0-1_amd64.deb ...
#6 8.638 Unpacking libexpat1:amd64 (2.5.0-1) ...
#6 8.665 Selecting previously unselected package liberror-perl.
#6 8.666 Preparing to unpack .../21-liberror-perl_0.17029-2_all.deb ...
#6 8.667 Unpacking liberror-perl (0.17029-2) ...
#6 8.690 Selecting previously unselected package git-man.
#6 8.692 Preparing to unpack .../22-git-man_1%3a2.39.2-1.1_all.deb ...
#6 8.693 Unpacking git-man (1:2.39.2-1.1) ...
#6 8.822 Selecting previously unselected package git.
#6 8.824 Preparing to unpack .../23-git_1%3a2.39.2-1.1_amd64.deb ...
#6 8.833 Unpacking git (1:2.39.2-1.1) ...
#6 9.469 Setting up libexpat1:amd64 (2.5.0-1) ...
#6 9.498 Setting up libkeyutils1:amd64 (1.6.3-2) ...
#6 9.500 Setting up libpsl5:amd64 (0.21.2-1) ...
#6 9.501 Setting up libbrotli1:amd64 (1.0.9-2+b6) ...
#6 9.502 Setting up libssl3:amd64 (3.0.11-1~deb12u2) ...
#6 9.503 Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...
#6 9.505 Setting up libkrb5support0:amd64 (1.20.1-2+deb12u1) ...
#6 9.506 Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
#6 9.507 Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
#6 9.508 Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
#6 9.509 Setting up libk5crypto3:amd64 (1.20.1-2+deb12u1) ...
#6 9.511 Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ...
#6 9.512 Setting up git-man (1:2.39.2-1.1) ...
#6 9.513 Setting up libssh2-1:amd64 (1.10.0-3+b1) ...
#6 9.515 Setting up libkrb5-3:amd64 (1.20.1-2+deb12u1) ...
#6 9.516 Setting up libgdbm6:amd64 (1.23-3) ...
#6 9.517 Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
#6 9.518 Setting up libgssapi-krb5-2:amd64 (1.20.1-2+deb12u1) ...
#6 9.522 Setting up libgdbm-compat4:amd64 (1.23-3) ...
#6 9.523 Setting up libperl5.36:amd64 (5.36.0-7+deb12u1) ...
#6 9.525 Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u5) ...
#6 9.526 Setting up perl (5.36.0-7+deb12u1) ...
#6 9.538 Setting up liberror-perl (0.17029-2) ...
#6 9.539 Setting up git (1:2.39.2-1.1) ...
#6 9.548 Processing triggers for libc-bin (2.36-9+deb12u7) ...
#6 DONE 9.9s

#7 exporting to image
#7 exporting layers
#7 exporting layers 7.6s done
#7 exporting manifest sha256:75be69c33cc136be11cdc2a13cb8a6fe6a9062fcaab832250833e25833648f5c 0.0s done
#7 exporting config sha256:e57196a8b829e9401e82892fca2abc7e35633e4d45dadada47eebd52a19439fd 0.0s done
#7 DONE 7.6s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Container Build with specific build args)
[Pipeline] echo
##################### Container Build with specific build args #####################
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
+ echo 'Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****'
Access registry docker.io for docker.io/heurtemattes/jenkins-build-docker with user: ****
+ crane auth login docker.io --password-stdin --username ****
2024/05/21 22:25:02 logged in via /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ IMAGE_ANNOTATIONS=
+ [[ false == \t\r\u\e ]]
+ BUILD_IMAGE_NAME=docker.io/heurtemattes/jenkins-build-docker:v1.0.0
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1 ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1
+ ALIASES=docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ -n docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 ]]
+ [[ docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1 != \n\u\l\l ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1
+ [[ v1.0.0 != \l\a\t\e\s\t ]]
+ [[ true == \t\r\u\e ]]
+ BUILD_IMAGE_NAME+=,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest'
Building and shipping image to docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest
+ echo 'Annotation: '
Annotation: 
+ echo 'Context: ./test/containerBuild/docker'
Context: ./test/containerBuild/docker
+ echo 'Dockerfile: ./test/containerBuild/docker/Dockerfile'
Dockerfile: ./test/containerBuild/docker/Dockerfile
+++ readlink -f ./test/containerBuild/docker/Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/Dockerfile
+ echo 'Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker'
Dockerfile path: /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker
++ basename ./test/containerBuild/docker/Dockerfile
+ echo 'filename: Dockerfile'
filename: Dockerfile
+ echo 'buildArgs: --opt build-arg:BASE_IMAGE=debian --opt build-arg:BASE_IMAGE_VERSION=latest'
buildArgs: --opt build-arg:BASE_IMAGE=debian --opt build-arg:BASE_IMAGE_VERSION=latest
+ echo 'push: false'
push: false
+ echo 'latest: true'
latest: true
+ BUILD_ARGS='--opt build-arg:BASE_IMAGE=debian --opt build-arg:BASE_IMAGE_VERSION=latest'
+ [[ --opt build-arg:BASE_IMAGE=debian --opt build-arg:BASE_IMAGE_VERSION=latest == \n\u\l\l ]]
+ [[ ! -f ./test/containerBuild/docker/Dockerfile ]]
+++ readlink -f ./test/containerBuild/docker/Dockerfile
++ dirname /home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker/Dockerfile
++ basename ./test/containerBuild/docker/Dockerfile
+ buildctl --addr=tcp://buildkitd.foundation-internal-infra-buildkitd:1234 build --progress=plain --frontend=dockerfile.v0 --local context=./test/containerBuild/docker --local dockerfile=/home/jenkins/agent/workspace/jpl-containerBuildTestSuite_main/test/containerBuild/docker --output 'type=image,"name=docker.io/heurtemattes/jenkins-build-docker:v1.0.0,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-latest,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-rc1,docker.io/heurtemattes/jenkins-build-docker:v1.0.0-1,docker.io/heurtemattes/jenkins-build-docker:latest",push=false' --opt filename=Dockerfile --opt build-arg:BASE_IMAGE=debian --opt build-arg:BASE_IMAGE_VERSION=latest
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 565B 0.0s done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/debian:latest
#2 ...

#3 [auth] library/debian:pull token for registry-1.docker.io
#3 DONE 0.0s

#2 [internal] load metadata for docker.io/library/debian:latest
#2 DONE 0.7s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/2] FROM docker.io/library/debian:latest@sha256:fac2c0fd33e88dfd3bc88a872cfb78dcb167e74af6162d31724df69e482f886c
#5 resolve docker.io/library/debian:latest@sha256:fac2c0fd33e88dfd3bc88a872cfb78dcb167e74af6162d31724df69e482f886c done
#5 DONE 0.0s

#6 [2/2] RUN apt-get update &&     apt-get install -y --no-install-recommends eatmydata &&     eatmydata apt-get install -y --no-install-recommends       git     && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 exporting manifest sha256:e7c76106943f07174c1cac5684b738b8a318598f9cc2acfb8c85fda46ed36741 done
#7 exporting config sha256:c4c3d5c7e9fc1c2da2c7088520d0ab187487c0aecbc9adc562596dbf27bc2584 done
#7 DONE 0.0s
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
[GitLab Pipeline Status] Notifying branch build status: SUCCESS jpl-containerBuildTestSuite/main #47: This commit looks good.
[GitLab Pipeline Status] Notified
Finished: SUCCESS