Push event to branch main Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 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_main@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 4f8fd6a86e521290dafaf7c28eced2a9b21b220a # 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-04e55d62aabc2aabb)’ is offline Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-04e55d62aabc2aabb) in /home/ubuntu/workspace/docker-py_main [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_main@tmp/19326f3f-2df3-4fdc-b6bf-71e914891d32/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_main:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 50783e0dfb64: Pulling fs layer 50783e0dfb64: Verifying Checksum 50783e0dfb64: Download complete 50783e0dfb64: Pull complete Digest: sha256:ef320ff10026a50cf5f0213d35537ce0041ac1d96e9b7800bafd8bc9eff6c693 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_main # 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/heads/main:refs/remotes/origin/main # timeout=10 Avoid second fetch Checking out Revision 2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 (main) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 # timeout=10 Commit message: "docs: install package in ReadTheDocs build (#3032)" [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git rev-list --no-walk e901eac7a8c5f29c7720eafb9f58c8356cca2324 # timeout=10 + docker pull dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 -f tests/Dockerfile-ssh-dind . $ 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_main@tmp/19230989-d48d-453c-98b5-d77f97e45c8d/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded Sending build context to Docker daemon 1.399MB Step 1/10 : ARG API_VERSION=1.41 Step 2/10 : ARG ENGINE_VERSION=20.10 Step 3/10 : 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 7891c9ff9fe8: Pulling fs layer 144f1ebec263: Pulling fs layer cf0385f95877: Pulling fs layer e30c5557bfe3: Pulling fs layer cf3b23cdd154: Pulling fs layer d0fb14534f84: Pulling fs layer 2317829903f1: Pulling fs layer 4bb16b423fd5: Pulling fs layer 5df88fbdd82d: Pulling fs layer a813a67ee7ee: Pulling fs layer e001120e1cd4: Waiting 7891c9ff9fe8: Waiting 144f1ebec263: Waiting cf0385f95877: Waiting e30c5557bfe3: Waiting cf3b23cdd154: Waiting d0fb14534f84: Waiting 2317829903f1: Waiting 4bb16b423fd5: Waiting 5df88fbdd82d: Waiting a813a67ee7ee: Waiting 4627ba0696d0: Verifying Checksum 4627ba0696d0: Download complete 6eb510456a42: Verifying Checksum 6eb510456a42: Download complete 213ec9aee27d: Verifying Checksum 213ec9aee27d: Download complete e001120e1cd4: Verifying Checksum e001120e1cd4: Download complete 7891c9ff9fe8: Verifying Checksum 7891c9ff9fe8: Download complete cf0385f95877: Verifying Checksum cf0385f95877: Download complete e30c5557bfe3: Verifying Checksum e30c5557bfe3: Download complete 144f1ebec263: Verifying Checksum 144f1ebec263: Download complete cf3b23cdd154: Download complete 2317829903f1: Verifying Checksum 2317829903f1: Download complete 5df88fbdd82d: Verifying Checksum 5df88fbdd82d: Download complete 213ec9aee27d: Pull complete d0fb14534f84: Verifying Checksum d0fb14534f84: Download complete a813a67ee7ee: Verifying Checksum a813a67ee7ee: Download complete 6eb510456a42: Pull complete 4627ba0696d0: Pull complete 4bb16b423fd5: Verifying Checksum 4bb16b423fd5: Download complete e001120e1cd4: Pull complete 7891c9ff9fe8: Pull complete 144f1ebec263: Pull complete cf0385f95877: Pull complete e30c5557bfe3: Pull complete cf3b23cdd154: Pull complete d0fb14534f84: Pull complete 2317829903f1: Pull complete 4bb16b423fd5: Pull complete 5df88fbdd82d: Pull complete a813a67ee7ee: Pull complete Digest: sha256:7bdd29ad5bb0bf28ffd27ae1add967896e15d5d9792324cc9412705afd864ef4 Status: Downloaded newer image for docker:20.10-dind ---> c6bedc1ef641 Step 4/10 : RUN apk add --no-cache --upgrade openssh ---> Running in 0381b9eb70a6 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 0381b9eb70a6 ---> 4f8e9cca08e4 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ ---> 9da8a14f580f Step 6/10 : RUN chmod -R 600 /etc/ssh ---> Running in 198c3724371c Removing intermediate container 198c3724371c ---> 3fa759ebfa73 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> c8d8324bb490 Step 8/10 : RUN chmod -R 600 /root/.ssh ---> Running in 32e7a5113eb8 Removing intermediate container 32e7a5113eb8 ---> 2d8e06b7b192 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in be5baef7b4bb Removing intermediate container be5baef7b4bb ---> f4dd14458dc9 Step 10/10 : EXPOSE 22 ---> Running in b14113ef3ae2 Removing intermediate container b14113ef3ae2 ---> bdc953c4ada5 Successfully built bdc953c4ada5 Successfully tagged dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 The push refers to repository [docker.io/dockerpinata/docker-py] f5614b454b80: Preparing 5b48ef41cc18: Preparing a10977c03009: Preparing 9639e453cd8a: Preparing 7afe38c01fcc: Preparing a673c27e8fa3: Preparing e8e76b0739e3: Preparing 6a6f8ed18377: Preparing 0d6d32831f91: Preparing eebb98973a9f: Preparing bb0754ca3c89: Preparing 58cca95959a6: Preparing 3e89a5d37d75: Preparing 36ef98dc5c24: Preparing 569ac8b700bf: Preparing 62889ebd7614: Preparing 09e77f436210: Preparing be04e0ba70d2: Preparing 9d0b8a80148b: Preparing 994393dc58e7: Preparing e8e76b0739e3: Waiting 6a6f8ed18377: Waiting 0d6d32831f91: Waiting eebb98973a9f: Waiting bb0754ca3c89: Waiting 58cca95959a6: Waiting 3e89a5d37d75: Waiting 36ef98dc5c24: Waiting 569ac8b700bf: Waiting 62889ebd7614: Waiting 09e77f436210: Waiting be04e0ba70d2: Waiting 9d0b8a80148b: Waiting 994393dc58e7: Waiting a673c27e8fa3: Waiting f5614b454b80: Pushed 9639e453cd8a: Pushed 7afe38c01fcc: Pushed 5b48ef41cc18: Pushed a10977c03009: Pushed e8e76b0739e3: Layer already exists 6a6f8ed18377: Layer already exists 0d6d32831f91: Layer already exists bb0754ca3c89: Layer already exists 3e89a5d37d75: Layer already exists 58cca95959a6: Layer already exists eebb98973a9f: Layer already exists 569ac8b700bf: Layer already exists 36ef98dc5c24: Layer already exists 09e77f436210: Layer already exists 62889ebd7614: Layer already exists be04e0ba70d2: Layer already exists 9d0b8a80148b: Layer already exists 994393dc58e7: Layer already exists a673c27e8fa3: Pushed sshdind-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7: digest: sha256:fa80e7cc5ac5bbe804eba789b01f0dcaf47b86daac648ce0c4067045a349eb02 size: 4497 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 Error response from daemon: manifest for dockerpinata/docker-py:py3-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.399MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} 3.10: Pulling from library/python 001c52e26ad5: Pulling fs layer d9d4b9b6e964: Pulling fs layer 2068746827ec: Pulling fs layer 9daef329d350: Pulling fs layer 8a335986117b: Pulling fs layer 588423e31bcf: Pulling fs layer f40cdf3ebc10: Pulling fs layer 04378c690b5e: Pulling fs layer ace6d68f6bea: Pulling fs layer 9daef329d350: Waiting 8a335986117b: Waiting 588423e31bcf: Waiting f40cdf3ebc10: Waiting 04378c690b5e: Waiting ace6d68f6bea: Waiting d9d4b9b6e964: Verifying Checksum d9d4b9b6e964: Download complete 2068746827ec: Verifying Checksum 2068746827ec: Download complete 001c52e26ad5: Verifying Checksum 001c52e26ad5: Download complete 9daef329d350: Verifying Checksum 9daef329d350: Download complete 588423e31bcf: Verifying Checksum 588423e31bcf: Download complete 04378c690b5e: Verifying Checksum 04378c690b5e: Download complete f40cdf3ebc10: Verifying Checksum f40cdf3ebc10: Download complete ace6d68f6bea: Verifying Checksum ace6d68f6bea: Download complete 8a335986117b: Verifying Checksum 8a335986117b: Download complete 001c52e26ad5: Pull complete d9d4b9b6e964: Pull complete 2068746827ec: Pull complete 9daef329d350: Pull complete 8a335986117b: Pull complete 588423e31bcf: Pull complete f40cdf3ebc10: Pull complete 04378c690b5e: Pull complete ace6d68f6bea: Pull complete Digest: sha256:cbf49327fae903d64ab28251912fc00faea2c1baee493d347a07973a2cb50f98 Status: Downloaded newer image for python:3.10 ---> b62e4294564c Step 3/24 : ARG APT_MIRROR ---> Running in 7063fa207fc9 Removing intermediate container 7063fa207fc9 ---> a54199f26ed8 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 1986975bc8a3 Removing intermediate container 1986975bc8a3 ---> e40fc2fbce48 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in dd1e4ebee9e9 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 [177 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B] Fetched 8570 kB in 2s (5603 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 7 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 (1915 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 dd1e4ebee9e9 ---> a434d2cae77e Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> 6fd43fcfdc98 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> 053ce83fbf3f Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Running in af61f4d05af6 Removing intermediate container af61f4d05af6 ---> 0f87e9f5db7b Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Running in 320e605eb8e1 Removing intermediate container 320e605eb8e1 ---> fe85080c1171 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> 5a6d8258cfe9 Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Running in 4b472ff941ad 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 4b472ff941ad ---> de87ef2f5c7e Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in f6c3a2d02d2d gpg: inserting ownertrust of 6 Removing intermediate container f6c3a2d02d2d ---> e671d19b26b8 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 94f54bbc2427 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 94f54bbc2427 ---> fa9911af5169 Step 14/24 : RUN gpg2 --check-trustdb ---> Running in 706941f47e47 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 706941f47e47 ---> 297365cba381 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 447974fa53d5 Removing intermediate container 447974fa53d5 ---> e571d41e7214 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 644cde6b32dd Removing intermediate container 644cde6b32dd ---> 9216663bd7de Step 17/24 : WORKDIR /src ---> Running in acfa2f3bee79 Removing intermediate container acfa2f3bee79 ---> 041510132b34 Step 18/24 : COPY requirements.txt /src/requirements.txt ---> 947c075345f5 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