Push event to branch main Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 58aa62bb154a2ccea433cf475aefbd695fb5abc8 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-0bd6bd821a17d9969)’ is offline Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0bd6bd821a17d9969) 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/53bdb743-a1dc-4d4a-8210-ba655dbd93bd/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 58aa62bb154a2ccea433cf475aefbd695fb5abc8 (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 58aa62bb154a2ccea433cf475aefbd695fb5abc8 # timeout=10 Commit message: "swarm: add sysctl support for services (#3029)" > git rev-list --no-walk ff0b4ac60bdc61392c4b543c3be8ae97dc8cd191 # timeout=10 [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [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_main@tmp/0f136b21-54e9-45d4-990c-45b6403b78d7/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker pull dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.396MB 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 fb7172f440d8: Pulling fs layer acaf20b9af6c: Pulling fs layer 62d3cee0ce66: Pulling fs layer 752b9c2f63f7: Pulling fs layer 003256ce9b27: Pulling fs layer 688c62e5e68e: Pulling fs layer bdf5e7defe19: Pulling fs layer ee662d6592fb: Pulling fs layer 34845ac10d8c: Pulling fs layer 87ebc2460c07: Pulling fs layer fb7172f440d8: Waiting acaf20b9af6c: Waiting 62d3cee0ce66: Waiting 752b9c2f63f7: Waiting 003256ce9b27: Waiting 688c62e5e68e: Waiting bdf5e7defe19: Waiting ee662d6592fb: Waiting 34845ac10d8c: Waiting 87ebc2460c07: Waiting e001120e1cd4: Waiting 4627ba0696d0: Verifying Checksum 4627ba0696d0: Download complete 6eb510456a42: Verifying Checksum 6eb510456a42: Download complete 213ec9aee27d: Verifying Checksum 213ec9aee27d: Download complete acaf20b9af6c: Verifying Checksum acaf20b9af6c: Download complete fb7172f440d8: Verifying Checksum fb7172f440d8: Download complete e001120e1cd4: Verifying Checksum e001120e1cd4: Download complete 62d3cee0ce66: Verifying Checksum 62d3cee0ce66: Download complete 752b9c2f63f7: Verifying Checksum 752b9c2f63f7: Download complete 003256ce9b27: Verifying Checksum 003256ce9b27: Download complete bdf5e7defe19: Verifying Checksum bdf5e7defe19: Download complete 213ec9aee27d: Pull complete 688c62e5e68e: Verifying Checksum 688c62e5e68e: Download complete 34845ac10d8c: Verifying Checksum 34845ac10d8c: Download complete 87ebc2460c07: Verifying Checksum 87ebc2460c07: Download complete 6eb510456a42: Pull complete 4627ba0696d0: Pull complete ee662d6592fb: Verifying Checksum ee662d6592fb: Download complete e001120e1cd4: Pull complete fb7172f440d8: Pull complete acaf20b9af6c: Pull complete 62d3cee0ce66: Pull complete 752b9c2f63f7: Pull complete 003256ce9b27: Pull complete 688c62e5e68e: Pull complete bdf5e7defe19: Pull complete ee662d6592fb: Pull complete 34845ac10d8c: Pull complete 87ebc2460c07: Pull complete Digest: sha256:8d0980a0fc4ed2869ef9f8bd017a637a408fb4d038a64d490a6080c2318eacc8 Status: Downloaded newer image for docker:20.10-dind ---> e1a3d5b85ecd Step 4/10 : RUN apk add --no-cache --upgrade openssh ---> Running in 70264563f524 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 70264563f524 ---> f1dd80402cb5 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ ---> 874ab0999b51 Step 6/10 : RUN chmod -R 600 /etc/ssh ---> Running in a2a461aafc5a Removing intermediate container a2a461aafc5a ---> a7a9a7f92436 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> 040ddaf87f24 Step 8/10 : RUN chmod -R 600 /root/.ssh ---> Running in bea038782fcb Removing intermediate container bea038782fcb ---> 90fc1936989f Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in ac7587b28305 Removing intermediate container ac7587b28305 ---> d7e61cd93489 Step 10/10 : EXPOSE 22 ---> Running in fa0370cc1839 Removing intermediate container fa0370cc1839 ---> 7b3b161698f2 Successfully built 7b3b161698f2 Successfully tagged dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8 The push refers to repository [docker.io/dockerpinata/docker-py] 388701f498d2: Preparing 1ca133989811: Preparing 602c5981102d: Preparing 2a1aafa6c54b: Preparing f196b361ad45: Preparing 7e6fc3a7bd44: Preparing c7f0cc224e17: Preparing 4c78a4cc1add: Preparing 5346b07949d4: Preparing c1e97a7fcaa2: Preparing eba0c049c10d: Preparing db259fc589ef: Preparing cfdd18ad8560: Preparing 27b58d8f96da: Preparing 39b6a2fcd592: Preparing b3fce54ffd65: Preparing 09e77f436210: Preparing be04e0ba70d2: Preparing 9d0b8a80148b: Preparing 994393dc58e7: Preparing 7e6fc3a7bd44: Waiting c7f0cc224e17: Waiting 4c78a4cc1add: Waiting 5346b07949d4: Waiting c1e97a7fcaa2: Waiting eba0c049c10d: Waiting db259fc589ef: Waiting cfdd18ad8560: Waiting 27b58d8f96da: Waiting 39b6a2fcd592: Waiting b3fce54ffd65: Waiting 09e77f436210: Waiting be04e0ba70d2: Waiting 9d0b8a80148b: Waiting 994393dc58e7: Waiting 1ca133989811: Pushed 2a1aafa6c54b: Pushed c7f0cc224e17: Layer already exists f196b361ad45: Pushed 602c5981102d: Pushed 4c78a4cc1add: Layer already exists 5346b07949d4: Layer already exists c1e97a7fcaa2: Layer already exists eba0c049c10d: Layer already exists db259fc589ef: Layer already exists 27b58d8f96da: Layer already exists cfdd18ad8560: Layer already exists 39b6a2fcd592: Layer already exists 09e77f436210: Layer already exists b3fce54ffd65: Layer already exists 388701f498d2: Pushed be04e0ba70d2: Layer already exists 994393dc58e7: Layer already exists 9d0b8a80148b: Layer already exists 7e6fc3a7bd44: Pushed sshdind-58aa62bb154a2ccea433cf475aefbd695fb5abc8: digest: sha256:ebecc4ef317fda80d4c461540437de0d70a838f1e5c86cdc6dd4e75f665281ce size: 4497 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-58aa62bb154a2ccea433cf475aefbd695fb5abc8 Error response from daemon: manifest for dockerpinata/docker-py:py3-58aa62bb154a2ccea433cf475aefbd695fb5abc8 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-58aa62bb154a2ccea433cf475aefbd695fb5abc8 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.396MB 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 0f8149192074 Removing intermediate container 0f8149192074 ---> 3228cf80663e 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 32d59c06806d Removing intermediate container 32d59c06806d ---> e23d99ef261b Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in cc737c17e997 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 [175 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2592 B] Fetched 8567 kB in 2s (5475 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 5 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 (1886 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 cc737c17e997 ---> ab75030d6c30 Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> efd94d8e7f5d Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> 69ab563457cf Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Running in 46d298d51340 Removing intermediate container 46d298d51340 ---> 6f8e81f0b4c3 Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Running in a6e37f43853d Removing intermediate container a6e37f43853d ---> c8f317d0c092 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> f581cc8c6ecc Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Running in 7215944d756d 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 7215944d756d ---> ae3b785978b9 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 9c06b3ae54af gpg: inserting ownertrust of 6 Removing intermediate container 9c06b3ae54af ---> cf4384a8e5fd Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in e6841097e8b3 gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container e6841097e8b3 ---> b2b5a4d6c7b4 Step 14/24 : RUN gpg2 --check-trustdb ---> Running in a3a5a37ddf6c 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 a3a5a37ddf6c ---> c94fa5154f25 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in d9ede1928c5e Removing intermediate container d9ede1928c5e ---> 1a9d5fc90ae8 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 f17b37c15152 Removing intermediate container f17b37c15152 ---> ee6133ec69c4 Step 17/24 : WORKDIR /src ---> Running in 3f4b4aaef428 Removing intermediate container 3f4b4aaef428 ---> 948836dde98e Step 18/24 : COPY requirements.txt /src/requirements.txt ---> 83eaaca40b61 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