Page MenuHomePhabricator
Paste P58602

make systemtest hang with https://gerrit.wikimedia.org/r/c/integration/pipelinelib/+/1009347
ActivePublic

Authored by dancy on Mar 6 2024, 9:27 PM.
dancy@base:~/src/wmf/integration/pipelinelib$ make systemtest
docker build --label wmf.gc=pipelinelib-tests --tag pipelinelib-tests-20240306-212248 -f systemtests/jenkins/Dockerfile .
#1 [internal] load build definition from Dockerfile
#1 sha256:36f30956cc99a448390280efd508d76c9b93c785dddef094ad550a907c977918
#1 transferring dockerfile: 38B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 sha256:27c36b7cc7db805323993b519d543ff686d5313b24fa56e9d512fcb4bdcaa385
#2 transferring context: 34B done
#2 DONE 0.1s
#3 [internal] load metadata for docker.io/jenkins/jenkins:2.318-slim
#3 sha256:3aa9d9f936cf75e0776646ff9778c946f4bdb45ed0aff4296f0cb5a38336dabc
#3 DONE 0.0s
#4 [ 1/18] FROM docker.io/jenkins/jenkins:2.318-slim
#4 sha256:b0eb0bb9695ddff9166e23455999fe937cb31460ff1502ad78be89b305c3b61d
#4 DONE 0.0s
#9 [internal] load build context
#9 sha256:97a636f847cabe76f6cc5f73215a8cc628193393622c1ff9a3897356a9b35a7c
#9 transferring context: 79.19kB 0.0s done
#9 DONE 0.1s
#10 [ 6/18] COPY systemtests/jenkins/plugins.txt /usr/share/jenkins/ref/plugins.txt
#10 sha256:5212312d62131b1bb1f51135ffd053190957eaa7eca2188bf0a79ad0e2410ec3
#10 CACHED
#17 [13/18] COPY systemtests/jenkins/sudoers /etc/sudoers.d/jenkins
#17 sha256:972c2fb713e4511bdb44ebf13026e59943ef4976b2740259720df12a2fe66b98
#17 CACHED
#6 [ 3/18] RUN apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg2 postfix python3-ruamel.yaml socat software-properties-common sudo && ( curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - ) && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && apt-get update && apt-get install -y docker-ce-cli && rm -rf /var/lib/apt/lists/*
#6 sha256:3d4b15bf99256fb4c8536916a5c49465d22963024a38319311733e782c0cbd20
#6 CACHED
#8 [ 5/18] RUN echo 2.318 > /usr/share/jenkins/ref/jenkins.install.InstallUtil.lastExecVersion
#8 sha256:0c9c67028cf2c16f7e2d7c88cfb4c352f5838b7b3f71e30255f19887de61acc4
#8 CACHED
#12 [ 8/18] COPY systemtests/jenkins/ref/* /usr/share/jenkins/ref/
#12 sha256:888dc3ca5e5c44cfc3187ffa39e6690d6c2d65fe87111ae1dbde2e6f4b480e0c
#12 CACHED
#7 [ 4/18] RUN echo 2.318 > /usr/share/jenkins/ref/jenkins.install.UpgradeWizard.state
#7 sha256:a63adcb41be40b7e9cc44a8cfe0da263ec689631a1e7bed1b5352bf43d4cf6cd
#7 CACHED
#18 [14/18] RUN git config --global user.name docker && git config --global user.email docker@docker.invalid
#18 sha256:40a5b0e644b93aff83666a95c29f8d772deb270e6eca2bea5652fd81e872aeb8
#18 CACHED
#14 [10/18] COPY systemtests/jenkins/bin/start-docker-proxy /usr/local/bin/start-docker-proxy
#14 sha256:063f40eb1fa7b035e52d2add4e33ea078c38059c4afdaec2f16ea2f2ac1f8569
#14 CACHED
#5 [ 2/18] RUN groupadd -g 1001 docker && usermod -aG docker jenkins
#5 sha256:4c9888458c029054c8fb8d9eb6c165efcc43b502498b988c4493b31da764bc1b
#5 CACHED
#11 [ 7/18] RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
#11 sha256:dfabd39dfe433ef5bd248646aceb72a133cbcb393b4c5edd93582d70597f88f8
#11 CACHED
#19 [15/18] COPY systemtests/repo1 /var/lib/git/repo1
#19 sha256:9002770ed9972d1186ec534bab8fc8284ca69ab109fb0c089277b2e4b0fdb438
#19 CACHED
#13 [ 9/18] COPY systemtests/jenkins/init.groovy.d/*.groovy /usr/share/jenkins/ref/init.groovy.d/
#13 sha256:9e786b886f92e3e396693fbc1e6f78fb24aad8e1af97e98627abc5bc46a30e3c
#13 CACHED
#16 [12/18] COPY systemtests/jenkins/bin/stub-script /usr/local/bin/docker-pusher
#16 sha256:3f3288b0087da5a1258341e077843ddaf2ae03fc5df8d4ffc54f894b1feda370
#16 CACHED
#15 [11/18] COPY systemtests/jenkins/bin/entrypoint /usr/local/bin/entrypoint
#15 sha256:a360f0b927361734bc2b3910e6a6036903cfab2e35e46afa8243ff59465ffac0
#15 CACHED
#21 [17/18] COPY . /var/lib/git/pipelinelib
#21 sha256:1cf058d88cf1eef40a2e6ca9f5ddbc9fd03a62c971d7869a01da28f2222ab898
#21 CACHED
#20 [16/18] RUN cd /var/lib/git/repo1 && git init . && git add --all && git commit -m repo1
#20 sha256:885d1e5546e60a94c326824985a854005d6d946e8465006b0ad5c289c81781de
#20 CACHED
#22 [18/18] RUN cd /var/lib/git/pipelinelib && git checkout -b test-in-docker-2.318 && test -z "$(git status -s)" || ( git add --all && git commit -m wip ) && git checkout master && git merge -s octopus test-in-docker-2.318
#22 sha256:65cf7f280d267a8e575ba0831a1bdf67a66a5804c62f79ac470a2fd527398930
#22 CACHED
#23 exporting to image
#23 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#23 exporting layers done
#23 writing image sha256:a1b19beb26f07ec196431a705e1eb01d3d7b1d3e6e819067309a433fd60ca3b1
#23 writing image sha256:a1b19beb26f07ec196431a705e1eb01d3d7b1d3e6e819067309a433fd60ca3b1 0.0s done
#23 naming to docker.io/library/pipelinelib-tests-20240306-212248 0.0s done
#23 DONE 0.5s
docker run --rm --label wmf.gc=pipelinelib-tests --name pipelinelib-tests-20240306-212248 -d \
-p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.host.sock \
pipelinelib-tests-20240306-212248
adf7d2c5c6a0c3f8a18143e09063dc4319b711511b2a6eef4e6fedaa038f3457
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
waiting for jenkins...
curl -X POST \
-H "Jenkins-Crumb: $(curl -sc /tmp/pipelinelib-systemtest.0O8Nnj.cookies http://docker:docker@localhost:8080/crumbIssuer/api/json | jq -r .crumb)" \
-b /tmp/pipelinelib-systemtest.0O8Nnj.cookies \
http://docker:docker@localhost:8080/job/repo1/buildWithParameters?PLIB_PIPELINE=
Build http://docker:docker@localhost:8080/job/repo1/1 created
waiting for build to start...
waiting for build to start...
waiting for build to start...
waiting for build to start...
waiting for build to start...
waiting for build to start...
waiting for build to start...
Started by user docker
Checking out git /var/lib/git/repo1 into /var/jenkins_home/workspace/repo1@script to read Jenkinsfile
No credentials specified
Cloning the remote Git repository
Cloning repository /var/lib/git/repo1
> git init /var/jenkins_home/workspace/repo1@script # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
First time build. Skipping changelog.
Running in Durability level: MAX_SURVIVABILITY
Loading library pipelinelib@master
Attempting to resolve master from remote references...
> git --version # timeout=10
> git ls-remote -h /var/lib/git/pipelinelib # timeout=10
Found match: refs/heads/master revision 8aa530d016f947133d67a11fca6438d0ddb18230
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository /var/lib/git/pipelinelib
> git init /var/jenkins_home/workspace/repo1@libs/pipelinelib # timeout=10
Fetching upstream changes from /var/lib/git/pipelinelib
> git --version # timeout=10
> git fetch --no-tags --force --progress /var/lib/git/pipelinelib +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url /var/lib/git/pipelinelib # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url /var/lib/git/pipelinelib # timeout=10
Fetching without tags
Fetching upstream changes from /var/lib/git/pipelinelib
> git fetch --no-tags --force --progress /var/lib/git/pipelinelib +refs/heads/*:refs/remotes/origin/*
Checking out Revision 8aa530d016f947133d67a11fca6438d0ddb18230 (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8aa530d016f947133d67a11fca6438d0ddb18230
Commit message: "systemtests: Update base images used in example repos"
First time build. Skipping changelog.
First time build. Skipping changelog.
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (configure)
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning repository /var/lib/git/repo1
> git init /var/jenkins_home/workspace/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] sh
+ mktemp -d
[Pipeline] timeout
Timeout set to expire in 10 min
[Pipeline] {
[Pipeline] sh
+ docker container create --rm --attach STDOUT --attach STDERR --name plib-validate-8wzvu959 docker-registry.wikimedia.org/releng/ajv:latest --spec=draft2020 --errors=text -s schema.yaml -d config.yaml
14110b10084d11b8c3b8e0fa7da27d520c119a08edb1cd1af1e5fa08709f0583
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] sh
+ docker cp /tmp/tmp.uZI5sOKI04/schema.yaml plib-validate-8wzvu959:/workspace/schema.yaml
[Pipeline] sh
+ docker cp .pipeline/config.yaml plib-validate-8wzvu959:/workspace/config.yaml
[Pipeline] sh
+ docker container start --attach plib-validate-8wzvu959
[Pipeline] }
[Pipeline] // timeout
[Pipeline] dir
Running in /tmp/tmp.uZI5sOKI04
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (service1: setup)
[Pipeline] checkout
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] echo
stage setup completed. exported: ['stage':'setup', 'pipeline':'service1', 'logURL':http://localhost:8080/job/repo1/1/console, 'params.ZUUL_CHANGE':'716519', 'params.PLIB_PIPELINE':'', 'project':'var/lib/git/repo1', 'projectShortName':'repo1', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':null, 'remote':'/var/lib/git/repo1', 'tag':'', 'GIT_BRANCH':'origin/master', 'GIT_COMMIT':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'GIT_URL':'/var/lib/git/repo1', 'timestamp':'2024-03-06-212318', 'imageLabels':['jenkins.job':'repo1', 'jenkins.build':'1', 'ci.project':'var/lib/git/repo1', 'ci.pipeline':'service1']]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (service1: [parallel])
[Pipeline] parallel
[Pipeline] { (Branch: unit)
[Pipeline] { (Branch: lint)
[Pipeline] echo
running steps in src/service1 with config: ['name':'unit', 'build':['variant':'test', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service1
[Pipeline] {
[Pipeline] echo
running steps in src/service1 with config: ['name':'lint', 'build':['variant':'${.stage}', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service1
[Pipeline] {
[Pipeline] echo
step: build, config: ['name':'unit', 'build':['variant':'test', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] echo
step: build, config: ['name':'lint', 'build':['variant':'${.stage}', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] fileExists
[Pipeline] writeFile
[Pipeline] readFile
[Pipeline] pwd
[Pipeline] writeFile
[Pipeline] pwd
[Pipeline] sh
[Pipeline] sh
+ mktemp -d
[Pipeline] writeJSON
+ mktemp -d
[Pipeline] sh
[Pipeline] writeJSON
[Pipeline] sh
+ DOCKER_BUILDKIT=1 docker --config /tmp/tmp.rHtRq8RFi8 build --pull --force-rm=true --label jenkins.job=repo1 --label jenkins.build=1 --label ci.project=var/lib/git/repo1 --label ci.pipeline=service1 --iidfile ../../.pipeline/docker.iid.lc2lzv2i --file ../../.pipeline/blubber.yaml.6nmi1ya2 --target test .
+ DOCKER_BUILDKIT=1 docker --config /tmp/tmp.7OYTUwJyd3 build --pull --force-rm=true --label jenkins.job=repo1 --label jenkins.build=1 --label ci.project=var/lib/git/repo1 --label ci.pipeline=service1 --iidfile ../../.pipeline/docker.iid.nloza8eb --file ../../.pipeline/blubber.yaml.xjb0hw2x --target lint .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from blubber.yaml.6nmi1ya2
#1 transferring dockerfile: 449B done
#1 DONE 0.2s
#2 [internal] load .dockerignore
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.3s
#1 transferring context: 34B done
#1 DONE 0.3s
#2 [internal] load build definition from blubber.yaml.xjb0hw2x
#2 transferring dockerfile: 449B done
#2 DONE 0.4s
#3 resolve image config for docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1
#3 DONE 0.3s
#3 resolve image config for docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1
#3 DONE 0.1s
#4 docker-image://docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0
#4 resolve docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0 0.0s done
#4 sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0 738B / 738B done
#4 sha256:1c10d01ed4d6a8772219f403f414e3f66dd6827284cface17c7dc0f2ccc0c300 1.17kB / 1.17kB done
#4 DONE 0.1s
#4 docker-image://docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0
#4 resolve docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0 0.0s done
#4 sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0 738B / 738B done
#4 sha256:1c10d01ed4d6a8772219f403f414e3f66dd6827284cface17c7dc0f2ccc0c300 1.17kB / 1.17kB done
#4 DONE 0.1s
#5 local://dockerfile
#5 transferring dockerfile: 449B done
#5 DONE 0.1s
#6 local://context
#6 DONE 0.0s
#5 local://dockerfile
#5 transferring dockerfile: 449B done
#5 DONE 0.2s
#6 local://context
#6 DONE 0.0s
#7 [internal] helper image for file operations
#7 CACHED
#8 [1/5] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#8 resolve docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#7 [internal] helper image for file operations
#7 CACHED
#8 [internal] load build context
#8 transferring context: 392B done
#8 DONE 0.2s
#9 [1/5] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#9 resolve docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#9 resolve docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3 0.3s done
#9 DONE 0.3s
#8 ...
#9 [internal] load build context
#9 transferring context: 392B done
#9 DONE 0.3s
#8 [1/5] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#8 resolve docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3 0.3s done
#8 sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3 529B / 529B done
#8 sha256:a4be5ccb0c83f2c856c707359de345e06860be28687aaf064deb8bdb5cbeb401 1.63kB / 1.63kB done
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0B / 40.65MB 0.1s
#9 [1/5] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#9 sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3 529B / 529B done
#9 sha256:a4be5ccb0c83f2c856c707359de345e06860be28687aaf064deb8bdb5cbeb401 1.63kB / 1.63kB done
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0B / 40.65MB 0.1s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 6.29MB / 40.65MB 0.8s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 12.58MB / 40.65MB 1.0s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 6.29MB / 40.65MB 0.8s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 12.58MB / 40.65MB 1.0s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 17.83MB / 40.65MB 1.2s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 17.83MB / 40.65MB 1.2s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 24.12MB / 40.65MB 1.4s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 27.26MB / 40.65MB 1.5s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 24.12MB / 40.65MB 1.4s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 30.41MB / 40.65MB 1.6s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 33.55MB / 40.65MB 1.7s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 36.70MB / 40.65MB 1.8s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 36.70MB / 40.65MB 1.8s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 39.85MB / 40.65MB 1.9s
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 39.85MB / 40.65MB 1.9s
#9 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 40.65MB / 40.65MB 2.4s done
#8 sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 40.65MB / 40.65MB 2.4s done
#8 extracting sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0.1s
#9 extracting sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0.1s
#9 extracting sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0.7s done
#8 extracting sha256:f0067169e63990a0e1efee7d3d2c6093d3172756cae9924b9cdb2c15a22cab71 0.7s done
#8 DONE 3.9s
#9 DONE 3.9s
#10 [2/5] RUN apt-get update && apt-get install -y "make" && rm -rf /var/lib/apt/lists/*
#10 [2/5] RUN apt-get update && apt-get install -y "make" && rm -rf /var/lib/apt/lists/*
#10 0.430 Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.430 Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.518 Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [144 kB]
#10 0.579 Get:3 http://mirrors.wikimedia.org/debian bookworm InRelease [151 kB]
#10 0.518 Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [144 kB]
#10 0.579 Get:3 http://mirrors.wikimedia.org/debian bookworm InRelease [151 kB]
#10 0.634 Get:4 http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease [42.8 kB]
#10 0.634 Get:4 http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease [42.8 kB]
#10 0.891 Get:5 http://mirrors.wikimedia.org/debian bookworm-updates InRelease [55.4 kB]
#10 0.891 Get:5 http://mirrors.wikimedia.org/debian bookworm-updates InRelease [55.4 kB]
#10 0.971 Get:6 http://mirrors.wikimedia.org/debian bookworm-backports InRelease [56.5 kB]
#10 1.030 Get:7 http://apt.wikimedia.org/wikimedia bookworm-wikimedia/main amd64 Packages [52.1 kB]
#10 0.971 Get:6 http://mirrors.wikimedia.org/debian bookworm-backports InRelease [56.5 kB]
#10 1.030 Get:7 http://apt.wikimedia.org/wikimedia bookworm-wikimedia/main amd64 Packages [52.1 kB]
#10 1.257 Get:8 http://mirrors.wikimedia.org/debian bookworm/main amd64 Packages [8786 kB]
#10 1.257 Get:8 http://mirrors.wikimedia.org/debian bookworm/main amd64 Packages [8786 kB]
#10 1.895 Get:9 http://mirrors.wikimedia.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
#10 1.895 Get:10 http://mirrors.wikimedia.org/debian bookworm-backports/contrib amd64 Packages [5368 B]
#10 1.895 Get:11 http://mirrors.wikimedia.org/debian bookworm-backports/main amd64 Packages [179 kB]
#10 1.895 Get:9 http://mirrors.wikimedia.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
#10 1.895 Get:10 http://mirrors.wikimedia.org/debian bookworm-backports/contrib amd64 Packages [5368 B]
#10 1.895 Get:11 http://mirrors.wikimedia.org/debian bookworm-backports/main amd64 Packages [179 kB]
#10 2.667 Fetched 9533 kB in 2s (4170 kB/s)
#10 2.667 Reading package lists...#10 2.667 Fetched 9533 kB in 2s (4170 kB/s)
#10 2.667 Reading package lists...
#10 3.085 Reading package lists...
#10 3.085 Reading package lists...
#10 3.487 Building dependency tree...
#10 3.577 Reading state information...
#10 3.661 Suggested packages:
#10 3.661 make-doc
#10 3.487 Building dependency tree...
#10 3.577 Reading state information...
#10 3.661 Suggested packages:
#10 3.661 make-doc
#10 3.682 The following NEW packages will be installed:
#10 3.683 make
#10 3.850 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
#10 3.850 Need to get 396 kB of archives.
#10 3.850 After this operation, 1630 kB of additional disk space will be used.
#10 3.850 Get:1 http://mirrors.wikimedia.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]
#10 3.682 The following NEW packages will be installed:
#10 3.683 make
#10 3.850 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
#10 3.850 Need to get 396 kB of archives.
#10 3.850 After this operation, 1630 kB of additional disk space will be used.
#10 3.850 Get:1 http://mirrors.wikimedia.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]
#10 4.308 debconf: delaying package configuration, since apt-utils is not installed
#10 4.324 Fetched 396 kB in 0s (814 kB/s)
#10 4.340 Selecting previously unselected package make.
(Reading database ... 8139 files and directories currently installed.)
#10 4.344 Preparing to unpack .../make_4.3-4.1_amd64.deb ...
#10 4.350 Unpacking make (4.3-4.1) ...
#10 4.443 Setting up make (4.3-4.1) ...
#10 4.308 debconf: delaying package configuration, since apt-utils is not installed
#10 4.324 Fetched 396 kB in 0s (814 kB/s)
#10 4.340 Selecting previously unselected package make.
(Reading database ... 8139 files and directories currently installed.)
#10 4.344 Preparing to unpack .../make_4.3-4.1_amd64.deb ...
#10 4.350 Unpacking make (4.3-4.1) ...
#10 4.443 Setting up make (4.3-4.1) ...
#10 DONE 6.3s
#10 DONE 6.3s
#11 [3/5] RUN (getent group "65533" || groupadd -o -g "65533" -r "somebody") && (getent passwd "65533" || useradd -l -o -m -d "/home/somebody" -r -g "65533" -u "65533" "somebody") && mkdir -p "/srv/app" && chown "65533":"65533" "/srv/app" && mkdir -p "/opt/lib" && chown "65533":"65533" "/opt/lib"
#11 [3/5] RUN (getent group "65533" || groupadd -o -g "65533" -r "somebody") && (getent passwd "65533" || useradd -l -o -m -d "/home/somebody" -r -g "65533" -u "65533" "somebody") && mkdir -p "/srv/app" && chown "65533":"65533" "/srv/app" && mkdir -p "/opt/lib" && chown "65533":"65533" "/opt/lib"
#11 0.441 useradd warning: somebody's uid 65533 is greater than SYS_UID_MAX 999
#11 0.441 useradd warning: somebody's uid 65533 is greater than SYS_UID_MAX 999
#11 DONE 0.7s
#12 [4/5] RUN (getent group "900" || groupadd -o -g "900" -r "runuser") && (getent passwd "900" || useradd -l -o -m -d "/home/runuser" -r -g "900" -u "900" "runuser")
#11 DONE 0.7s
#12 [4/5] RUN (getent group "900" || groupadd -o -g "900" -r "runuser") && (getent passwd "900" || useradd -l -o -m -d "/home/runuser" -r -g "900" -u "900" "runuser")
#12 DONE 0.6s
#12 DONE 0.6s
#13 [5/5] COPY --chown=65533:65533 [., .]
#13 DONE 0.5s
#13 exporting to image
#13 exporting layers
#14 exporting to image
#14 exporting layers
#14 exporting layers 0.2s done
#14 writing image sha256:0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2 done
#14 DONE 0.2s
#13 exporting layers 0.2s done
#13 writing image sha256:1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470 0.0s done
#13 DONE 0.2s
[Pipeline] dir
Running in /tmp/tmp.7OYTUwJyd3
[Pipeline] {
[Pipeline] dir
Running in /tmp/tmp.rHtRq8RFi8
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] readFile
[Pipeline] readFile
[Pipeline] sh
[Pipeline] sh
+ rm -f ../../.pipeline/docker.iid.lc2lzv2i
+ rm -f ../../.pipeline/docker.iid.nloza8eb
[Pipeline] sh
[Pipeline] sh
+ docker tag 1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470 localhost/plib-image-230eub9a
+ docker tag 0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2 localhost/plib-image-vdxa6fhv
[Pipeline] echo
step: run, config: ['name':'unit', 'build':['variant':'test', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] echo
step: run, config: ['name':'lint', 'build':['variant':'${.stage}', 'context':'.', 'imagePullPolicy':'always'], 'run':['image':'${.imageID}', 'arguments':[], 'env':[:], 'credentials':[], 'tail':0]]
[Pipeline] echo
docker run --name 'plib-run-myxon5dm' --rm=false sha256:'1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470'
[Pipeline] timeout
Timeout set to expire in 20 min
[Pipeline] {
[Pipeline] withCredentials
[Pipeline] echo
docker run --name 'plib-run-qk667f19' --rm=false sha256:'0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2'
[Pipeline] timeout
Timeout set to expire in 20 min
[Pipeline] {
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage unit completed. exported: ['stage':'unit', 'imageID':'1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470', 'imageLocalName':localhost/plib-image-230eub9a, 'container':'plib-run-myxon5dm', 'output':'']
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage lint completed. exported: ['stage':'lint', 'imageID':'0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2', 'imageLocalName':localhost/plib-image-vdxa6fhv, 'container':'plib-run-qk667f19', 'output':'']
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (service1: candidate)
[Pipeline] echo
running steps in src/service1 with config: ['name':'candidate', 'build':['variant':'production', 'context':'.', 'imagePullPolicy':'always'], 'run':false, 'publish':['image':['id':'${.imageID}', 'name':${setup.project}, 'tag':${setup.timestamp}-${.stage}, 'tags':[${setup.tag}]]]]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service1
[Pipeline] {
[Pipeline] echo
step: build, config: ['name':'candidate', 'build':['variant':'production', 'context':'.', 'imagePullPolicy':'always'], 'run':false, 'publish':['image':['id':'${.imageID}', 'name':${setup.project}, 'tag':${setup.timestamp}-${.stage}, 'tags':[${setup.tag}]]]]
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] pwd
[Pipeline] sh
+ mktemp -d
[Pipeline] writeJSON
[Pipeline] sh
+ DOCKER_BUILDKIT=1 docker --config /tmp/tmp.mZnZnW4IcC build --pull --force-rm=true --label jenkins.job=repo1 --label jenkins.build=1 --label ci.project=var/lib/git/repo1 --label ci.pipeline=service1 --iidfile ../../.pipeline/docker.iid.z78hpt1x --file ../../.pipeline/blubber.yaml.n48m082b --target production .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from blubber.yaml.n48m082b
#1 transferring dockerfile: 449B done
#1 DONE 0.2s
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.2s
#3 resolve image config for docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1
#3 DONE 0.3s
#4 docker-image://docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0
#4 CACHED
#5 local://dockerfile
#5 transferring dockerfile: 449B done
#5 DONE 0.1s
#6 local://context
#6 DONE 0.0s
#7 [1/5] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#7 CACHED
#8 [internal] helper image for file operations
#8 CACHED
#9 [internal] load build context
#9 transferring context: 392B done
#9 DONE 0.1s
#10 [2/5] RUN apt-get update && apt-get install -y "make" "netcat-traditional" && rm -rf /var/lib/apt/lists/*
#10 0.513 Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.610 Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [144 kB]
#10 0.658 Get:3 http://mirrors.wikimedia.org/debian bookworm InRelease [151 kB]
#10 0.658 Get:4 http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease [42.8 kB]
#10 0.972 Get:5 http://mirrors.wikimedia.org/debian bookworm-updates InRelease [55.4 kB]
#10 1.058 Get:6 http://mirrors.wikimedia.org/debian bookworm-backports InRelease [56.5 kB]
#10 1.066 Get:7 http://apt.wikimedia.org/wikimedia bookworm-wikimedia/main amd64 Packages [52.1 kB]
#10 1.166 Get:8 http://mirrors.wikimedia.org/debian bookworm/main amd64 Packages [8786 kB]
#10 1.738 Get:9 http://mirrors.wikimedia.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
#10 1.738 Get:10 http://mirrors.wikimedia.org/debian bookworm-backports/contrib amd64 Packages [5368 B]
#10 1.739 Get:11 http://mirrors.wikimedia.org/debian bookworm-backports/main amd64 Packages [179 kB]
#10 2.488 Fetched 9533 kB in 2s (4750 kB/s)
#10 2.488 Reading package lists...
#10 2.927 Reading package lists...
#10 3.335 Building dependency tree...
#10 3.422 Reading state information...
#10 3.517 Suggested packages:
#10 3.517 make-doc
#10 3.550 The following NEW packages will be installed:
#10 3.550 make netcat-traditional
#10 3.720 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
#10 3.720 Need to get 464 kB of archives.
#10 3.720 After this operation, 1777 kB of additional disk space will be used.
#10 3.720 Get:1 http://mirrors.wikimedia.org/debian bookworm/main amd64 netcat-traditional amd64 1.10-47 [67.9 kB]
#10 3.962 Get:2 http://mirrors.wikimedia.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]
#10 4.264 debconf: delaying package configuration, since apt-utils is not installed
#10 4.278 Fetched 464 kB in 1s (809 kB/s)
#10 4.307 Selecting previously unselected package netcat-traditional.
(Reading database ... 8139 files and directories currently installed.)
#10 4.325 Preparing to unpack .../netcat-traditional_1.10-47_amd64.deb ...
#10 4.340 Unpacking netcat-traditional (1.10-47) ...
#10 4.567 Selecting previously unselected package make.
#10 4.570 Preparing to unpack .../make_4.3-4.1_amd64.deb ...
#10 4.576 Unpacking make (4.3-4.1) ...
#10 4.679 Setting up netcat-traditional (1.10-47) ...
#10 4.710 update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto mode
#10 4.711 update-alternatives: warning: skip creation of /usr/share/man/man1/nc.1.gz because associated file /usr/share/man/man1/nc.traditional.1.gz (of link group nc) doesn't exist
#10 4.711 update-alternatives: warning: skip creation of /usr/share/man/man1/netcat.1.gz because associated file /usr/share/man/man1/nc.traditional.1.gz (of link group nc) doesn't exist
#10 4.733 Setting up make (4.3-4.1) ...
#10 DONE 4.9s
#11 [3/5] RUN (getent group "65533" || groupadd -o -g "65533" -r "somebody") && (getent passwd "65533" || useradd -l -o -m -d "/home/somebody" -r -g "65533" -u "65533" "somebody") && mkdir -p "/srv/app" && chown "65533":"65533" "/srv/app" && mkdir -p "/opt/lib" && chown "65533":"65533" "/opt/lib"
#11 0.559 useradd warning: somebody's uid 65533 is greater than SYS_UID_MAX 999
#11 DONE 0.8s
#12 [4/5] RUN (getent group "900" || groupadd -o -g "900" -r "runuser") && (getent passwd "900" || useradd -l -o -m -d "/home/runuser" -r -g "900" -u "900" "runuser")
#12 DONE 0.6s
#13 [5/5] COPY --chown=65533:65533 [., .]
#13 DONE 0.5s
#14 exporting to image
#14 exporting layers
#14 exporting layers 0.2s done
#14 writing image sha256:6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa done
#14 DONE 0.2s
[Pipeline] dir
Running in /tmp/tmp.mZnZnW4IcC
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] readFile
[Pipeline] sh
+ rm -f ../../.pipeline/docker.iid.z78hpt1x
[Pipeline] sh
+ docker tag 6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa localhost/plib-image-kqcgnyhe
[Pipeline] echo
step: publish, config: ['name':'candidate', 'build':['variant':'production', 'context':'.', 'imagePullPolicy':'always'], 'run':false, 'publish':['image':['id':'${.imageID}', 'name':${setup.project}, 'tag':${setup.timestamp}-${.stage}, 'tags':[${setup.tag}]]]]
[Pipeline] sh
+ docker tag 6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa docker-registry.discovery.wmnet/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate
[Pipeline] sh
+ sudo /usr/local/bin/docker-pusher docker-registry.discovery.wmnet/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate
stubbed execution of: (/usr/local/bin/docker-pusher docker-registry.discovery.wmnet/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate)
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage candidate completed. exported: ['stage':'candidate', 'imageID':'6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa', 'imageLocalName':localhost/plib-image-kqcgnyhe, 'imageName':'var-lib-git-repo1', 'imageFullName':'docker-registry.wikimedia.org/wikimedia/var-lib-git-repo1', 'imageTag':'2024-03-06-212318-candidate', 'imageTags':['2024-03-06-212318-candidate'], 'publishedImage':'docker-registry.wikimedia.org/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate']
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (service1: teardown)
[Pipeline] echo
removing containers
[Pipeline] sh
+ docker rm --force plib-run-myxon5dm plib-run-qk667f19
plib-run-myxon5dm
plib-run-qk667f19
[Pipeline] echo
removing images
[Pipeline] sh
+ docker rmi --force 1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470 0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2 6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa
Untagged: localhost/plib-image-230eub9a:latest
Deleted: sha256:1f079c3bcb81c2217f12679d3c3528351c6788b205299e776667a8c83b5b4470
Untagged: localhost/plib-image-vdxa6fhv:latest
Deleted: sha256:0e3eb33c287619832ed46425fdfe04c64a3e298a417c4f583c651cb40fb961e2
Untagged: docker-registry.discovery.wmnet/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate
Untagged: localhost/plib-image-kqcgnyhe:latest
Deleted: sha256:6bf3616c06f81beb4f3eea2db66bc741950c8b8a50265c232f37c0a2e176a0aa
[Pipeline] echo
purging all releases
[Pipeline] echo
reporting published image docker-registry.wikimedia.org/wikimedia/var-lib-git-repo1:2024-03-06-212318-candidate to gerrit
[Pipeline] error
[Pipeline] echo
stage teardown completed. exported: ['stage':'teardown']
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (service2: setup)
[Pipeline] checkout
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] echo
stage setup completed. exported: ['stage':'setup', 'pipeline':'service2', 'logURL':http://localhost:8080/job/repo1/1/console, 'params.ZUUL_CHANGE':'716519', 'params.PLIB_PIPELINE':'', 'project':'var/lib/git/repo1', 'projectShortName':'repo1', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':null, 'remote':'/var/lib/git/repo1', 'tag':'', 'GIT_BRANCH':'origin/master', 'GIT_COMMIT':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'GIT_URL':'/var/lib/git/repo1', 'timestamp':'2024-03-06-212349', 'imageLabels':['jenkins.job':'repo1', 'jenkins.build':'1', 'ci.project':'var/lib/git/repo1', 'ci.pipeline':'service2']]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (service2: test)
[Pipeline] echo
running steps in src/service2 with config: ['name':'test', 'exports':['foo':'${setup.timestamp}-${.stage}'], 'trigger':['name':'totally-triggered', 'parameters':['TRIGGER':'spiders-from-${setup.timestamp}-${.stage}']]]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service2
[Pipeline] {
[Pipeline] echo
step: exports, config: ['name':'test', 'exports':['foo':'${setup.timestamp}-${.stage}'], 'trigger':['name':'totally-triggered', 'parameters':['TRIGGER':'spiders-from-${setup.timestamp}-${.stage}']]]
[Pipeline] echo
step: trigger, config: ['name':'test', 'exports':['foo':'${setup.timestamp}-${.stage}'], 'trigger':['name':'totally-triggered', 'parameters':['TRIGGER':'spiders-from-${setup.timestamp}-${.stage}']]]
[Pipeline] build
Scheduling project: totally-triggered
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage test completed. exported: ['stage':'test', 'foo':'2024-03-06-212349-test']
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (service2: teardown)
[Pipeline] echo
removing containers
[Pipeline] echo
removing images
[Pipeline] echo
purging all releases
[Pipeline] echo
stage teardown completed. exported: ['stage':'teardown']
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (test-build-options: setup)
[Pipeline] checkout
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] echo
stage setup completed. exported: ['stage':'setup', 'pipeline':'test-build-options', 'logURL':http://localhost:8080/job/repo1/1/console, 'params.ZUUL_CHANGE':'716519', 'params.PLIB_PIPELINE':'', 'project':'var/lib/git/repo1', 'projectShortName':'repo1', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':null, 'remote':'/var/lib/git/repo1', 'tag':'', 'GIT_BRANCH':'origin/master', 'GIT_COMMIT':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'GIT_URL':'/var/lib/git/repo1', 'timestamp':'2024-03-06-212350', 'imageLabels':['jenkins.job':'repo1', 'jenkins.build':'1', 'ci.project':'var/lib/git/repo1', 'ci.pipeline':'test-build-options']]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (test-build-options: test-context-and-excludes)
[Pipeline] echo
running steps in . with config: ['name':'test-context-and-excludes', 'build':['variant':'service1-checkexcludes', 'context':'src/service1', 'excludes':['Makefile'], 'imagePullPolicy':'always']]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] echo
step: build, config: ['name':'test-context-and-excludes', 'build':['variant':'service1-checkexcludes', 'context':'src/service1', 'excludes':['Makefile'], 'imagePullPolicy':'always']]
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] pwd
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service1
[Pipeline] {
[Pipeline] fileExists
[Pipeline] sh
+ cp .dockerignore /var/jenkins_home/workspace/repo1/.pipeline/dockerignore.bak.8ynosq1o
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ mktemp -d
[Pipeline] writeJSON
[Pipeline] sh
+ DOCKER_BUILDKIT=1 docker --config /tmp/tmp.eWoxY9Bxbb build --pull --force-rm=true --label jenkins.job=repo1 --label jenkins.build=1 --label ci.project=var/lib/git/repo1 --label ci.pipeline=test-build-options --iidfile .pipeline/docker.iid.67j8mdcw --file .pipeline/blubber.yaml.w9nb47jf --target service1-checkexcludes src/service1
#0 building with "default" instance using docker driver
#1 [internal] load build definition from blubber.yaml.w9nb47jf
#1 transferring dockerfile: 616B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 transferring context: 49B done
#2 DONE 0.2s
#3 resolve image config for docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1
#3 DONE 0.2s
#4 docker-image://docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0
#4 CACHED
#5 local://dockerfile
#5 transferring dockerfile: 616B done
#5 DONE 0.1s
#6 local://context
#6 DONE 0.0s
#7 [1/4] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#7 CACHED
#8 [internal] helper image for file operations
#8 CACHED
#9 [internal] load build context
#9 transferring context: 309B done
#9 DONE 0.2s
#10 [2/4] RUN (getent group "65533" || groupadd -o -g "65533" -r "somebody") && (getent passwd "65533" || useradd -l -o -m -d "/home/somebody" -r -g "65533" -u "65533" "somebody") && mkdir -p "/srv/app" && chown "65533":"65533" "/srv/app" && mkdir -p "/opt/lib" && chown "65533":"65533" "/opt/lib"
#10 0.513 useradd warning: somebody's uid 65533 is greater than SYS_UID_MAX 999
#10 DONE 0.7s
#11 [3/4] RUN (getent group "900" || groupadd -o -g "900" -r "runuser") && (getent passwd "900" || useradd -l -o -m -d "/home/runuser" -r -g "900" -u "900" "runuser")
#11 DONE 0.7s
#12 [4/4] COPY --chown=65533:65533 [., .]
#12 DONE 0.5s
#13 exporting to image
#13 exporting layers
#13 exporting layers 0.2s done
#13 writing image sha256:f31c9ed927cd90d6880cc5501c5287a192f2bdb89f4da73a59ff0d28c8fd4f5f done
#13 DONE 0.2s
[Pipeline] dir
Running in /tmp/tmp.eWoxY9Bxbb
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] readFile
[Pipeline] sh
+ rm -f .pipeline/docker.iid.67j8mdcw
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1/src/service1
[Pipeline] {
[Pipeline] sh
+ mv /var/jenkins_home/workspace/repo1/.pipeline/dockerignore.bak.8ynosq1o .dockerignore
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker tag f31c9ed927cd90d6880cc5501c5287a192f2bdb89f4da73a59ff0d28c8fd4f5f localhost/plib-image-3wqto1vk
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage test-context-and-excludes completed. exported: ['stage':'test-context-and-excludes', 'imageID':'f31c9ed927cd90d6880cc5501c5287a192f2bdb89f4da73a59ff0d28c8fd4f5f', 'imageLocalName':localhost/plib-image-3wqto1vk]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (test-build-options: teardown)
[Pipeline] echo
removing containers
[Pipeline] echo
removing images
[Pipeline] sh
+ docker rmi --force f31c9ed927cd90d6880cc5501c5287a192f2bdb89f4da73a59ff0d28c8fd4f5f
Untagged: localhost/plib-image-3wqto1vk:latest
Deleted: sha256:f31c9ed927cd90d6880cc5501c5287a192f2bdb89f4da73a59ff0d28c8fd4f5f
[Pipeline] echo
purging all releases
[Pipeline] echo
stage teardown completed. exported: ['stage':'teardown']
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (test-checkout-binding: setup)
[Pipeline] checkout
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] echo
stage setup completed. exported: ['stage':'setup', 'pipeline':'test-checkout-binding', 'logURL':http://localhost:8080/job/repo1/1/console, 'params.ZUUL_CHANGE':'716519', 'params.PLIB_PIPELINE':'', 'project':'var/lib/git/repo1', 'projectShortName':'repo1', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':null, 'remote':'/var/lib/git/repo1', 'tag':'', 'GIT_BRANCH':'origin/master', 'GIT_COMMIT':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'GIT_URL':'/var/lib/git/repo1', 'timestamp':'2024-03-06-212357', 'imageLabels':['jenkins.job':'repo1', 'jenkins.build':'1', 'ci.project':'var/lib/git/repo1', 'ci.pipeline':'test-checkout-binding']]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (test-checkout-binding: test)
[Pipeline] echo
running steps in . with config: ['name':'test', 'exports':['commit':'${setup.commit}', 'branch':'${setup.branch}', 'remote':'${setup.remote}']]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] echo
step: exports, config: ['name':'test', 'exports':['commit':'${setup.commit}', 'branch':'${setup.branch}', 'remote':'${setup.remote}']]
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
stage test completed. exported: ['stage':'test', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':'', 'remote':'/var/lib/git/repo1']
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (test-checkout-binding: teardown)
[Pipeline] echo
removing containers
[Pipeline] echo
removing images
[Pipeline] echo
purging all releases
[Pipeline] echo
stage teardown completed. exported: ['stage':'teardown']
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] stage
[Pipeline] { (test-command-output: setup)
[Pipeline] checkout
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url /var/lib/git/repo1 # timeout=10
Fetching upstream changes from /var/lib/git/repo1
> git --version # timeout=10
> git fetch --tags --force --progress /var/lib/git/repo1 +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 9c9dd086a073c57903e848c26831db5f9747a0c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9c9dd086a073c57903e848c26831db5f9747a0c8
Commit message: "repo1"
[Pipeline] echo
stage setup completed. exported: ['stage':'setup', 'pipeline':'test-command-output', 'logURL':http://localhost:8080/job/repo1/1/console, 'params.ZUUL_CHANGE':'716519', 'params.PLIB_PIPELINE':'', 'project':'var/lib/git/repo1', 'projectShortName':'repo1', 'commit':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'branch':null, 'remote':'/var/lib/git/repo1', 'tag':'', 'GIT_BRANCH':'origin/master', 'GIT_COMMIT':'9c9dd086a073c57903e848c26831db5f9747a0c8', 'GIT_URL':'/var/lib/git/repo1', 'timestamp':'2024-03-06-212358', 'imageLabels':['jenkins.job':'repo1', 'jenkins.build':'1', 'ci.project':'var/lib/git/repo1', 'ci.pipeline':'test-command-output']]
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (test-command-output: cat)
[Pipeline] echo
running steps in . with config: ['name':'cat', 'build':['variant':'bash', 'context':'.', 'imagePullPolicy':'always'], 'run':['arguments':['cat <<-end\nhey\nyou\nend'], 'tail':1, 'image':'${.imageID}', 'env':[:], 'credentials':[]]]
[Pipeline] dir
Running in /var/jenkins_home/workspace/repo1
[Pipeline] {
[Pipeline] echo
step: build, config: ['name':'cat', 'build':['variant':'bash', 'context':'.', 'imagePullPolicy':'always'], 'run':['arguments':['cat <<-end\nhey\nyou\nend'], 'tail':1, 'image':'${.imageID}', 'env':[:], 'credentials':[]]]
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] pwd
[Pipeline] sh
+ mktemp -d
[Pipeline] writeJSON
[Pipeline] sh
+ DOCKER_BUILDKIT=1 docker --config /tmp/tmp.rsBR2O9hHJ build --pull --force-rm=true --label jenkins.job=repo1 --label jenkins.build=1 --label ci.project=var/lib/git/repo1 --label ci.pipeline=test-command-output --iidfile .pipeline/docker.iid.djffjrfy --file .pipeline/blubber.yaml.biivqsta --target bash .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from blubber.yaml.biivqsta
#1 transferring dockerfile: 616B done
#1 DONE 0.2s
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.2s
#3 resolve image config for docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1
#3 DONE 0.3s
#4 docker-image://docker-registry.wikimedia.org/wikimedia/blubber-buildkit:v0.11.1@sha256:e9b2163f0d25c31efa5607922c5f1a46453812e0d6a010d64aa9c2799f29a2d0
#4 CACHED
#5 local://dockerfile
#5 transferring dockerfile: 616B done
#5 DONE 0.1s
#6 local://context
#6 DONE 0.0s
#7 [1/3] FROM docker-registry.wikimedia.org/bookworm:20240303@sha256:efa0fdf247345409bec9132ad652445d8422a8ee2437e9c9d6e39b1fb20435e3
#7 DONE 0.0s
#8 [2/3] RUN (getent group "65533" || groupadd -o -g "65533" -r "somebody") && (getent passwd "65533" || useradd -l -o -m -d "/home/somebody" -r -g "65533" -u "65533" "somebody") && mkdir -p "/srv/app" && chown "65533":"65533" "/srv/app" && mkdir -p "/opt/lib" && chown "65533":"65533" "/opt/lib"
#8 CACHED
#9 [3/3] RUN (getent group "900" || groupadd -o -g "900" -r "runuser") && (getent passwd "900" || useradd -l -o -m -d "/home/runuser" -r -g "900" -u "900" "runuser")
#9 CACHED
#10 exporting to image
#10 exporting layers done
#10 writing image sha256:fba693606427b6ef8bc842593cad89b67ad24c69a60089eb1d8e0365e207c3fa done
#10 DONE 0.0s
[Pipeline] dir
Running in /tmp/tmp.rsBR2O9hHJ
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] readFile
[Pipeline] sh
+ rm -f .pipeline/docker.iid.djffjrfy
[Pipeline] sh
+ docker tag fba693606427b6ef8bc842593cad89b67ad24c69a60089eb1d8e0365e207c3fa localhost/plib-image-hmeslnor
[Pipeline] echo
step: run, config: ['name':'cat', 'build':['variant':'bash', 'context':'.', 'imagePullPolicy':'always'], 'run':['arguments':['cat <<-end\nhey\nyou\nend'], 'tail':1, 'image':'${.imageID}', 'env':[:], 'credentials':[]]]
[Pipeline] echo
docker run --name 'plib-run-1t5evrso' --rm=false sha256:'fba693606427b6ef8bc842593cad89b67ad24c69a60089eb1d8e0365e207c3fa' 'cat <<-end
hey
you
end'
[Pipeline] timeout
Timeout set to expire in 20 min
[Pipeline] {
[Pipeline] withCredentials
<hangs here>

Event Timeline