Push event to branch main 16:21:02 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 7f1bde162f8266800d336a97becc92aa92da13a9 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 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 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 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" > 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 Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-012ab76bc181e65bf) 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/14822b46-d2f7-4398-a6f1-c6516fc0afad/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 16:21:03 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 16:21:03 chowning workspace [Pipeline] sh 16:21:03 + pwd 16:21:03 + id -u 16:21:03 + id -g 16:21:03 + docker run --rm -v /home/ubuntu/workspace/docker-py_main:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo 16:21:04 Removing all docker containers [Pipeline] sh 16:21:04 + docker container ls -aq [Pipeline] echo 16:21:04 Docker containers have been removed [Pipeline] echo 16:21:04 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 16:21:04 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 16:21:04 The recommended git tool is: git 16:21:04 using credential docker-jenkins-github-credentials 16:21:04 Cloning the remote Git repository 16:21:04 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 16:21:05 Avoid second fetch 16:21:05 Checking out Revision 7f1bde162f8266800d336a97becc92aa92da13a9 (main) 16:21:05 Commit message: "ci: fix quoting in YAML" [Pipeline] sh 16:21:06 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:21:06 + docker pull dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 16:21:06 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh > 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 7f1bde162f8266800d336a97becc92aa92da13a9 # timeout=10 > git rev-list --no-walk cd2c35a9b699522b282cc4f024efa5699df24896 # timeout=10 16:21:07 + docker build -t dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 -f tests/Dockerfile-ssh-dind . 16:21:07 Sending build context to Docker daemon 1.391MB 16:21:07 Step 1/10 : ARG API_VERSION=1.41 16:21:07 Step 2/10 : ARG ENGINE_VERSION=20.10 16:21:07 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind 16:21:07 20.10-dind: Pulling from library/docker 16:21:07 530afca65e2e: Already exists 16:21:07 33702c1843d1: Already exists 16:21:07 d1c203384d5b: Already exists 16:21:07 146feb07c331: Already exists 16:21:07 cee6b871713b: Already exists 16:21:07 db8946a7c6c2: Already exists 16:21:07 649b2db28c49: Already exists 16:21:07 e7b044ff4e6b: Already exists 16:21:07 dbd7811a8fce: Already exists 16:21:07 7b9a2b83f06a: Already exists 16:21:07 4052cf0d7af0: Already exists 16:21:07 668035bf1efe: Already exists 16:21:07 afd9bc40a60c: Already exists 16:21:07 Digest: sha256:c10de736621bc2d4a3a44297346640b62309db58f46822b87679d9419a6b321c 16:21:07 Status: Downloaded newer image for docker:20.10-dind 16:21:07 ---> e9bf5bfbaf86 16:21:07 Step 4/10 : RUN apk add --no-cache --upgrade openssh $ 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/c96a7b54-9b55-4692-989e-fa72d63279dc/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 16:21:07 ---> Running in 96bfaee9da13 16:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:21:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:21:09 (1/7) Upgrading openssh-keygen (9.0_p1-r1 -> 9.0_p1-r2) 16:21:09 (2/7) Upgrading openssh-client-common (9.0_p1-r1 -> 9.0_p1-r2) 16:21:09 (3/7) Upgrading openssh-client-default (9.0_p1-r1 -> 9.0_p1-r2) 16:21:09 (4/7) Installing openssh-sftp-server (9.0_p1-r2) 16:21:09 (5/7) Installing openssh-server-common (9.0_p1-r2) 16:21:09 (6/7) Installing openssh-server (9.0_p1-r2) 16:21:09 (7/7) Installing openssh (9.0_p1-r2) 16:21:09 Executing busybox-1.35.0-r15.trigger 16:21:09 OK: 31 MiB in 59 packages 16:21:09 Removing intermediate container 96bfaee9da13 16:21:09 ---> 888245743364 16:21:09 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ 16:21:10 ---> 239554182515 16:21:10 Step 6/10 : RUN chmod -R 600 /etc/ssh 16:21:10 ---> Running in ab7c1c8f33fe 16:21:10 Removing intermediate container ab7c1c8f33fe 16:21:10 ---> 944bd5498288 16:21:10 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys 16:21:10 ---> eb2fa663de7b 16:21:10 Step 8/10 : RUN chmod -R 600 /root/.ssh 16:21:10 ---> Running in b248e70ae5c6 16:21:11 Removing intermediate container b248e70ae5c6 16:21:11 ---> c44b334cf922 16:21:11 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker 16:21:11 ---> Running in d1e259e92b3a 16:21:12 Removing intermediate container d1e259e92b3a 16:21:12 ---> b10373c8309f 16:21:12 Step 10/10 : EXPOSE 22 16:21:12 ---> Running in 5ce7f9e3f196 16:21:12 Removing intermediate container 5ce7f9e3f196 16:21:12 ---> 5d3984f03117 16:21:12 Successfully built 5d3984f03117 16:21:12 Successfully tagged dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 [Pipeline] isUnix [Pipeline] sh 16:21:12 + docker tag dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 [Pipeline] isUnix [Pipeline] sh 16:21:12 + docker push dockerpinata/docker-py:sshdind-7f1bde162f8266800d336a97becc92aa92da13a9 16:21:12 The push refers to repository [docker.io/dockerpinata/docker-py] 16:21:12 0219ca533b45: Preparing 16:21:12 b23480e9063d: Preparing 16:21:12 bd99b389d80f: Preparing 16:21:12 8a773a46a2ef: Preparing 16:21:12 49405a520f67: Preparing 16:21:12 77d14de9b285: Preparing 16:21:12 a43431794a89: Preparing 16:21:12 905d1299d01e: Preparing 16:21:12 c156177f74c0: Preparing 16:21:12 1b578e158ee9: Preparing 16:21:12 af3e892b5a9b: Preparing 16:21:12 fc014216c6f3: Preparing 16:21:12 2f04d3cc49cc: Preparing 16:21:12 419b027a05d7: Preparing 16:21:12 8548a15693ed: Preparing 16:21:12 c9502204551a: Preparing 16:21:12 de1672f7cb48: Preparing 16:21:12 675d1f534433: Preparing 16:21:12 ec34fcc1d526: Preparing 16:21:12 77d14de9b285: Waiting 16:21:12 a43431794a89: Waiting 16:21:12 905d1299d01e: Waiting 16:21:12 c156177f74c0: Waiting 16:21:12 1b578e158ee9: Waiting 16:21:12 af3e892b5a9b: Waiting 16:21:12 fc014216c6f3: Waiting 16:21:12 2f04d3cc49cc: Waiting 16:21:12 419b027a05d7: Waiting 16:21:12 8548a15693ed: Waiting 16:21:12 c9502204551a: Waiting 16:21:12 de1672f7cb48: Waiting 16:21:12 675d1f534433: Waiting 16:21:12 ec34fcc1d526: Waiting 16:21:13 bd99b389d80f: Pushed 16:21:13 b23480e9063d: Pushed 16:21:13 0219ca533b45: Pushed 16:21:13 49405a520f67: Pushed 16:21:13 a43431794a89: Layer already exists 16:21:13 905d1299d01e: Layer already exists 16:21:13 c156177f74c0: Layer already exists 16:21:14 1b578e158ee9: Layer already exists 16:21:14 fc014216c6f3: Layer already exists 16:21:14 af3e892b5a9b: Layer already exists 16:21:14 2f04d3cc49cc: Layer already exists 16:21:14 8548a15693ed: Layer already exists 16:21:14 8a773a46a2ef: Pushed 16:21:14 419b027a05d7: Layer already exists 16:21:14 c9502204551a: Layer already exists 16:21:14 de1672f7cb48: Layer already exists 16:21:14 675d1f534433: Layer already exists 16:21:14 ec34fcc1d526: Layer already exists 16:21:15 77d14de9b285: Pushed 16:21:16 sshdind-7f1bde162f8266800d336a97becc92aa92da13a9: digest: sha256:471d7a3e803781fc00c0c354c375eb49f481653541ba120ab4f4eb7cd0b0d2b9 size: 4286 [Pipeline] isUnix [Pipeline] sh 16:21:16 + docker pull dockerpinata/docker-py:py3-7f1bde162f8266800d336a97becc92aa92da13a9 16:21:16 Error response from daemon: manifest for dockerpinata/docker-py:py3-7f1bde162f8266800d336a97becc92aa92da13a9 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 16:21:17 + docker build -t dockerpinata/docker-py:py3-7f1bde162f8266800d336a97becc92aa92da13a9 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . 16:21:17 Sending build context to Docker daemon 1.391MB 16:21:17 Step 1/24 : ARG PYTHON_VERSION=3.10 16:21:17 Step 2/24 : FROM python:${PYTHON_VERSION} 16:21:17 3.10: Pulling from library/python 16:21:17 d836772a1c1f: Already exists 16:21:17 66a9e63c657a: Already exists 16:21:17 d1989b6e74cf: Already exists 16:21:17 c28818711e1e: Already exists 16:21:17 5084fa7ebd74: Already exists 16:21:17 7f162c881e4f: Already exists 16:21:17 e3f48ccb2876: Already exists 16:21:17 315a1520c10e: Already exists 16:21:17 65ec519192cb: Already exists 16:21:17 Digest: sha256:b1a4d9bcebe696cf805803f98747d3ccd885504bd1473dc45db2014d08622de5 16:21:17 Status: Downloaded newer image for python:3.10 16:21:17 ---> 3a49f9c9c80e 16:21:17 Step 3/24 : ARG APT_MIRROR 16:21:17 ---> Running in 64a61757b241 16:21:17 Removing intermediate container 64a61757b241 16:21:17 ---> 8d085724cf5f 16:21:17 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 16:21:17 ---> Running in a47af142c851 16:21:18 Removing intermediate container a47af142c851 16:21:18 ---> 6391d58cbd8c 16:21:18 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass 16:21:18 ---> Running in e3e4bb5f37b2 16:21:19 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] 16:21:19 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] 16:21:19 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] 16:21:19 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB] 16:21:19 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [168 kB] 16:21:19 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2592 B] 16:21:20 Fetched 8561 kB in 2s (5591 kB/s) 16:21:20 Reading package lists... 16:21:21 Reading package lists... 16:21:21 Building dependency tree... 16:21:21 Reading state information... 16:21:21 The following additional packages will be installed: 16:21:21 tree 16:21:21 Suggested packages: 16:21:21 python libxml-simple-perl ruby 16:21:21 Recommended packages: 16:21:21 qrencode xclip 16:21:21 The following NEW packages will be installed: 16:21:21 gnupg2 pass tree 16:21:21 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded. 16:21:21 Need to get 523 kB of archives. 16:21:21 After this operation, 727 kB of additional disk space will be used. 16:21:21 Get:1 http://deb.debian.org/debian bullseye/main amd64 gnupg2 all 2.2.27-2+deb11u2 [434 kB] 16:21:21 Get:2 http://deb.debian.org/debian bullseye/main amd64 tree amd64 1.8.0-1+b1 [49.6 kB] 16:21:21 Get:3 http://deb.debian.org/debian bullseye/main amd64 pass all 1.7.3-2 [39.2 kB] 16:21:21 debconf: delaying package configuration, since apt-utils is not installed 16:21:21 Fetched 523 kB in 0s (1841 kB/s) 16:21:21 Selecting previously unselected package gnupg2. 16:21:21 (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.) 16:21:21 Preparing to unpack .../gnupg2_2.2.27-2+deb11u2_all.deb ... 16:21:21 Unpacking gnupg2 (2.2.27-2+deb11u2) ... 16:21:21 Selecting previously unselected package tree. 16:21:21 Preparing to unpack .../tree_1.8.0-1+b1_amd64.deb ... 16:21:21 Unpacking tree (1.8.0-1+b1) ... 16:21:21 Selecting previously unselected package pass. 16:21:21 Preparing to unpack .../archives/pass_1.7.3-2_all.deb ... 16:21:21 Unpacking pass (1.7.3-2) ... 16:21:22 Setting up gnupg2 (2.2.27-2+deb11u2) ... 16:21:22 Setting up tree (1.8.0-1+b1) ... 16:21:22 Setting up pass (1.7.3-2) ... 16:21:22 Removing intermediate container e3e4bb5f37b2 16:21:22 ---> cf49047fb3a5 16:21:22 Step 6/24 : COPY tests/ssh/config/client /root/.ssh 16:21:23 ---> 2f5c35d0f6a2 16:21:23 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts 16:21:23 ---> 2b59904d3e10 16:21:23 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts 16:21:23 ---> Running in 14f62ee83040 16:21:23 Removing intermediate container 14f62ee83040 16:21:23 ---> b953921d0862 16:21:23 Step 9/24 : RUN chmod -R 600 /root/.ssh 16:21:23 ---> Running in d103d2497c03 16:21:24 Removing intermediate container d103d2497c03 16:21:24 ---> a818fa6cfa94 16:21:24 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys 16:21:24 ---> 1487b7d64799 16:21:24 Step 11/24 : RUN gpg2 --import gpg-keys/secret 16:21:24 ---> Running in 8042768ef201 16:21:24 gpg: directory '/root/.gnupg' created 16:21:24 gpg: keybox '/root/.gnupg/pubring.kbx' created 16:21:24 gpg: /root/.gnupg/trustdb.gpg: trustdb created 16:21:24 gpg: key 464ED987A7B21401: public key "Sakuya Izayoi <sakuya@gensokyo.jp>" imported 16:21:24 gpg: key 464ED987A7B21401: secret key imported 16:21:24 gpg: Total number processed: 1 16:21:24 gpg: imported: 1 16:21:24 gpg: secret keys read: 1 16:21:24 gpg: secret keys imported: 1 16:21:25 Removing intermediate container 8042768ef201 16:21:25 ---> 129de940b05d 16:21:25 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust 16:21:25 ---> Running in 618965cbaaf0 16:21:25 gpg: inserting ownertrust of 6 16:21:25 Removing intermediate container 618965cbaaf0 16:21:25 ---> 70d2dbb715af 16:21:25 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') 16:21:25 ---> Running in 4ebc63712f67 16:21:26 gpg: please do a --check-trustdb 16:21:26 mkdir: created directory '/root/.password-store/' 16:21:26 Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 16:21:26 Removing intermediate container 4ebc63712f67 16:21:26 ---> 6675f4c68903 16:21:26 Step 14/24 : RUN gpg2 --check-trustdb 16:21:26 ---> Running in 2e1932a2aea9 16:21:27 gpg: marginals needed: 3 completes needed: 1 trust model: pgp 16:21:27 gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u 16:21:27 Removing intermediate container 2e1932a2aea9 16:21:27 ---> 8381c3f771cb 16:21:27 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 16:21:27 ---> Running in 354d8a6aa838 16:21:27 Removing intermediate container 354d8a6aa838 16:21:27 ---> 0e30af0c2b5b 16:21:27 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 16:21:27 ---> Running in 7415f3372bd1 16:21:28 Removing intermediate container 7415f3372bd1 16:21:28 ---> 90c266a48a28 16:21:28 Step 17/24 : WORKDIR /src 16:21:28 ---> Running in 5e540eef2430 16:21:28 Removing intermediate container 5e540eef2430 16:21:28 ---> 30846c8f3c74 16:21:28 Step 18/24 : COPY requirements.txt /src/requirements.txt 16:21:28 ---> 97e2467e789c 16:21:28 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 16:21:28 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