Pull request #2869 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 923e067dddc3d4b86e4e620a99fcdcdafbd17a98 rather than 5b41c9435f43515843eeee7ba02f3962e20b66d2 Obtained Jenkinsfile from 923e067dddc3d4b86e4e620a99fcdcdafbd17a98 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 4f8fd6a86e521290dafaf7c28eced2a9b21b220a The recommended git tool is: NONE using credential jps-reader > git rev-parse --resolve-git-dir /var/cloudbees-jenkins-distribution/workspace/docker-py_PR-2869@libs/jps/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 4f8fd6a86e521290dafaf7c28eced2a9b21b220a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f8fd6a86e521290dafaf7c28eced2a9b21b220a # timeout=10 Commit message: "Merge pull request #26 from docker/add-retry-to-vpn-image-pull" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task ‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e690969477fc18bc)’ is offline Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e690969477fc18bc) in /home/ubuntu/workspace/docker-py_PR-2869 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2869@tmp/1f6eaf19-8018-4549-93af-06e38a503fdd/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2869:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 2c39bef88607: Pulling fs layer 2c39bef88607: Verifying Checksum 2c39bef88607: Download complete 2c39bef88607: Pull complete Digest: sha256:20142e89dab967c01765b0aea3be4cec3a5957cc330f061e5503ef6168ae6613 Status: Downloaded newer image for busybox:latest [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout The recommended git tool is: git using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2869 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2869/head:refs/remotes/origin/PR-2869 +refs/heads/main:refs/remotes/origin/main # timeout=10 Fetching without tags Merging remotes/origin/main commit 923e067dddc3d4b86e4e620a99fcdcdafbd17a98 into PR head commit 5b41c9435f43515843eeee7ba02f3962e20b66d2 Merge succeeded, producing 5b41c9435f43515843eeee7ba02f3962e20b66d2 Checking out Revision 5b41c9435f43515843eeee7ba02f3962e20b66d2 (PR-2869) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2869/head:refs/remotes/origin/PR-2869 # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/2869/head:refs/remotes/origin/PR-2869 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b41c9435f43515843eeee7ba02f3962e20b66d2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 923e067dddc3d4b86e4e620a99fcdcdafbd17a98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b41c9435f43515843eeee7ba02f3962e20b66d2 # timeout=10 Commit message: "Merge branch 'main' into master" > git rev-list --no-walk 9f3f97ce944965dc041bdc49d06c771757288388 # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/docker-py_PR-2869@tmp/b14d3e8c-b1cb-45b4-8c5e-6223e51d9e15/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker build -t dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.4MB Step 1/8 : ARG API_VERSION=1.41 Step 2/8 : ARG ENGINE_VERSION=20.10 Step 3/8 : FROM docker:${ENGINE_VERSION}-dind 20.10-dind: Pulling from library/docker 213ec9aee27d: Pulling fs layer 6eb510456a42: Pulling fs layer 4627ba0696d0: Pulling fs layer e001120e1cd4: Pulling fs layer ff3ada922ff1: Pulling fs layer d14644374e46: Pulling fs layer 6de03787241b: Pulling fs layer e89f86b0af45: Pulling fs layer 40f2e1afd0a5: Pulling fs layer 205c49aa2ebd: Pulling fs layer c179b2bb0790: Pulling fs layer eb7290a2e4af: Pulling fs layer d4eaf3080973: Pulling fs layer a6e30de05d58: Pulling fs layer e89f86b0af45: Waiting 40f2e1afd0a5: Waiting 205c49aa2ebd: Waiting c179b2bb0790: Waiting e001120e1cd4: Waiting ff3ada922ff1: Waiting d14644374e46: Waiting 6de03787241b: Waiting d4eaf3080973: Waiting a6e30de05d58: Waiting eb7290a2e4af: Waiting 4627ba0696d0: Verifying Checksum 4627ba0696d0: Download complete 6eb510456a42: Verifying Checksum 6eb510456a42: Download complete 213ec9aee27d: Verifying Checksum e001120e1cd4: Verifying Checksum e001120e1cd4: Download complete d14644374e46: Verifying Checksum d14644374e46: Download complete ff3ada922ff1: Verifying Checksum ff3ada922ff1: Download complete 6de03787241b: Verifying Checksum 6de03787241b: Download complete e89f86b0af45: Verifying Checksum e89f86b0af45: Download complete 40f2e1afd0a5: Verifying Checksum 40f2e1afd0a5: Download complete c179b2bb0790: Download complete 213ec9aee27d: Pull complete d4eaf3080973: Verifying Checksum d4eaf3080973: Download complete 205c49aa2ebd: Verifying Checksum 205c49aa2ebd: Download complete a6e30de05d58: Verifying Checksum a6e30de05d58: Download complete 6eb510456a42: Pull complete eb7290a2e4af: Verifying Checksum eb7290a2e4af: Download complete 4627ba0696d0: Pull complete e001120e1cd4: Pull complete ff3ada922ff1: Pull complete d14644374e46: Pull complete 6de03787241b: Pull complete e89f86b0af45: Pull complete 40f2e1afd0a5: Pull complete 205c49aa2ebd: Pull complete c179b2bb0790: Pull complete eb7290a2e4af: Pull complete d4eaf3080973: Pull complete a6e30de05d58: Pull complete Digest: sha256:79f5cf744ab66c48ff532b8dea2662dc90db30faded68ff7b33ce7109578ca7d Status: Downloaded newer image for docker:20.10-dind ---> e6a71aa007f9 Step 4/8 : RUN apk add --no-cache --upgrade openssh ---> Running in e11bb11e1239 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz (1/4) Installing openssh-sftp-server (9.0_p1-r2) (2/4) Installing openssh-server-common (9.0_p1-r2) (3/4) Installing openssh-server (9.0_p1-r2) (4/4) Installing openssh (9.0_p1-r2) Executing busybox-1.35.0-r17.trigger OK: 31 MiB in 59 packages Removing intermediate container e11bb11e1239 ---> 9e195d7c98ff Step 5/8 : COPY tests/ssh/config/server /etc/ssh/ ---> d7ffd871b292 Step 6/8 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> 24cf32f0a10a Step 7/8 : RUN chmod -R 600 /etc/ssh && chmod -R 600 /root/.ssh && ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in accfbd422a33 Removing intermediate container accfbd422a33 ---> 632c20d1746e Step 8/8 : EXPOSE 22 ---> Running in 4be94309e8a1 Removing intermediate container 4be94309e8a1 ---> e04e3c080f65 Successfully built e04e3c080f65 Successfully tagged dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2 The push refers to repository [docker.io/dockerpinata/docker-py] 1d8a5fa574d0: Preparing a02c84388593: Preparing 74378a9cbe7c: Preparing b249fc590881: Preparing 29e65e81660c: Preparing 8a2b6ed7b78e: Preparing 53689cee65dd: Preparing e15403debefd: Preparing 657723a63cbf: Preparing 01a7435ae156: Preparing e7258266eb21: Preparing abc6b0f7eb25: Preparing a6f528b8ff80: Preparing c1c0775a9e08: Preparing 09e77f436210: Preparing be04e0ba70d2: Preparing 9d0b8a80148b: Preparing 994393dc58e7: Preparing 8a2b6ed7b78e: Waiting 53689cee65dd: Waiting e15403debefd: Waiting 657723a63cbf: Waiting 01a7435ae156: Waiting e7258266eb21: Waiting abc6b0f7eb25: Waiting a6f528b8ff80: Waiting c1c0775a9e08: Waiting 09e77f436210: Waiting be04e0ba70d2: Waiting 9d0b8a80148b: Waiting 994393dc58e7: Waiting 29e65e81660c: Mounted from library/docker 8a2b6ed7b78e: Mounted from library/docker 53689cee65dd: Mounted from library/docker e15403debefd: Mounted from library/docker 74378a9cbe7c: Pushed 1d8a5fa574d0: Pushed b249fc590881: Pushed a02c84388593: Pushed 657723a63cbf: Mounted from library/docker 01a7435ae156: Mounted from library/docker e7258266eb21: Mounted from library/docker c1c0775a9e08: Layer already exists 09e77f436210: Layer already exists abc6b0f7eb25: Mounted from library/docker be04e0ba70d2: Layer already exists a6f528b8ff80: Mounted from library/docker 9d0b8a80148b: Layer already exists 994393dc58e7: Layer already exists sshdind-5b41c9435f43515843eeee7ba02f3962e20b66d2: digest: sha256:2e0a120ed388d1645aff2151ba0f0774030714f4caf1efc22b6b84544465daf5 size: 4083 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-5b41c9435f43515843eeee7ba02f3962e20b66d2 Error response from daemon: manifest for dockerpinata/docker-py:py3-5b41c9435f43515843eeee7ba02f3962e20b66d2 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-5b41c9435f43515843eeee7ba02f3962e20b66d2 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.4MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} 3.10: Pulling from library/python 1671565cc8df: Pulling fs layer 3e94d13e55e7: Pulling fs layer fa9c7528c685: Pulling fs layer 53ad072f9cd1: Pulling fs layer d6b983117533: Pulling fs layer d8092d56ded5: Pulling fs layer c71afc637d59: Pulling fs layer 864a10b3c704: Pulling fs layer 4334b2fe8293: Pulling fs layer d6b983117533: Waiting d8092d56ded5: Waiting c71afc637d59: Waiting 864a10b3c704: Waiting 4334b2fe8293: Waiting 53ad072f9cd1: Waiting 3e94d13e55e7: Verifying Checksum 3e94d13e55e7: Download complete fa9c7528c685: Verifying Checksum fa9c7528c685: Download complete 1671565cc8df: Verifying Checksum 1671565cc8df: Download complete 53ad072f9cd1: Verifying Checksum 53ad072f9cd1: Download complete d8092d56ded5: Verifying Checksum d8092d56ded5: Download complete 864a10b3c704: Verifying Checksum 864a10b3c704: Download complete 4334b2fe8293: Verifying Checksum 4334b2fe8293: Download complete c71afc637d59: Verifying Checksum c71afc637d59: Download complete d6b983117533: Verifying Checksum d6b983117533: Download complete 1671565cc8df: Pull complete 3e94d13e55e7: Pull complete fa9c7528c685: Pull complete 53ad072f9cd1: Pull complete d6b983117533: Pull complete d8092d56ded5: Pull complete c71afc637d59: Pull complete 864a10b3c704: Pull complete 4334b2fe8293: Pull complete Digest: sha256:745efdfb7e4aac9a8422bd8c62d8bc35a693e8979a240d29677cb03e6aa91052 Status: Downloaded newer image for python:3.10 ---> d25a66380b10 Step 3/24 : ARG APT_MIRROR ---> Running in c6c78bf4d8c1 Removing intermediate container c6c78bf4d8c1 ---> eb0148e6d5e6 Step 4/24 : RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list ---> Running in a0390bd21885 Removing intermediate container a0390bd21885 ---> 4051ff1b755a Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in 700ba577a51b Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [180 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B] Fetched 8573 kB in 2s (5606 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: tree Suggested packages: python libxml-simple-perl ruby Recommended packages: qrencode xclip The following NEW packages will be installed: gnupg2 pass tree 0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded. Need to get 523 kB of archives. After this operation, 727 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 gnupg2 all 2.2.27-2+deb11u2 [434 kB] Get:2 http://deb.debian.org/debian bullseye/main amd64 tree amd64 1.8.0-1+b1 [49.6 kB] Get:3 http://deb.debian.org/debian bullseye/main amd64 pass all 1.7.3-2 [39.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 523 kB in 0s (1938 kB/s) Selecting previously unselected package gnupg2. (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 ... 23421 files and directories currently installed.) Preparing to unpack .../gnupg2_2.2.27-2+deb11u2_all.deb ... Unpacking gnupg2 (2.2.27-2+deb11u2) ... Selecting previously unselected package tree. Preparing to unpack .../tree_1.8.0-1+b1_amd64.deb ... Unpacking tree (1.8.0-1+b1) ... Selecting previously unselected package pass. Preparing to unpack .../archives/pass_1.7.3-2_all.deb ... Unpacking pass (1.7.3-2) ... Setting up gnupg2 (2.2.27-2+deb11u2) ... Setting up tree (1.8.0-1+b1) ... Setting up pass (1.7.3-2) ... Removing intermediate container 700ba577a51b ---> 4ba96bbb3c42 Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> 22a414c749cc Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> 37a1ba4860d6 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Running in 48acf6862ee3 Removing intermediate container 48acf6862ee3 ---> 17f0ce130b4b Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Running in 513fc2b066c0 Removing intermediate container 513fc2b066c0 ---> f4e1e2ca7bea Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> 5bc77f54bda6 Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Running in cc61fc1fdaec gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 464ED987A7B21401: public key "Sakuya Izayoi " imported gpg: key 464ED987A7B21401: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 Removing intermediate container cc61fc1fdaec ---> 4049a27e0cb8 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 936cade2db15 gpg: inserting ownertrust of 6 Removing intermediate container 936cade2db15 ---> d34a24e543df Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in a708b762ad19 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container a708b762ad19 ---> 8b9cf0bbca82 Step 14/24 : RUN gpg2 --check-trustdb ---> Running in 46cf34ec3a53 gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u Removing intermediate container 46cf34ec3a53 ---> d5321fd11e44 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 9814ee86be24 Removing intermediate container 9814ee86be24 ---> c993d3d0441f Step 16/24 : RUN curl -sSL -o /opt/docker-credential-pass.tar.gz https://github.com/docker/docker-credential-helpers/releases/download/$CREDSTORE_VERSION/docker-credential-pass-$CREDSTORE_VERSION-amd64.tar.gz && tar -xf /opt/docker-credential-pass.tar.gz -O > /usr/local/bin/docker-credential-pass && rm -rf /opt/docker-credential-pass.tar.gz && chmod +x /usr/local/bin/docker-credential-pass ---> Running in 0a1e6a479fe8 Removing intermediate container 0a1e6a479fe8 ---> 728090ea58db Step 17/24 : WORKDIR /src ---> Running in 258825c8461a Removing intermediate container 258825c8461a ---> abbfdc939472 Step 18/24 : COPY requirements.txt /src/requirements.txt ---> 098d3c4a41b6 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Could not update commit status, please check if your scan credentials belong to a member of the organization or a collaborator of the repository and repo:status scope is selected GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE