Pull request #3018 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 9bdb5ba2bab682a02bc3348e359822218dad7e96 rather than 97a369c27e3f6a1b89427d75841aadca6829f81e Obtained Jenkinsfile from 9bdb5ba2bab682a02bc3348e359822218dad7e96 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_PR-3018@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-07f67c2a71e3688fe) in /home/ubuntu/workspace/docker-py_PR-3018 [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-3018@tmp/9132a670-67f1-4295-ba24-f82d4843eafa/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-3018:/workspace busybox chown -R 1000:1000 /workspace [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-3018 # 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/3018/head:refs/remotes/origin/PR-3018 +refs/heads/main:refs/remotes/origin/main # timeout=10 Fetching without tags Merging remotes/origin/main commit 9bdb5ba2bab682a02bc3348e359822218dad7e96 into PR head commit 97a369c27e3f6a1b89427d75841aadca6829f81e Merge succeeded, producing d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e Checking out Revision d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e (PR-3018) Commit message: "Merge commit '9bdb5ba2bab682a02bc3348e359822218dad7e96' into HEAD" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3018/head:refs/remotes/origin/PR-3018 # 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/3018/head:refs/remotes/origin/PR-3018 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97a369c27e3f6a1b89427d75841aadca6829f81e # 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 9bdb5ba2bab682a02bc3348e359822218dad7e96 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e # timeout=10 > git rev-list --no-walk 15dbefee2042383366e40eca8243af7ff05a12f9 # timeout=10 [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-3018@tmp/7e1e970d-1aaa-4cd9-b338-9fb4318bfa36/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-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e Error response from daemon: manifest for dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.383MB 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 530afca65e2e: Already exists 33702c1843d1: Already exists d1c203384d5b: Already exists 146feb07c331: Already exists cee6b871713b: Already exists db8946a7c6c2: Already exists 649b2db28c49: Already exists e7b044ff4e6b: Already exists dbd7811a8fce: Already exists 7b9a2b83f06a: Already exists 4052cf0d7af0: Already exists 668035bf1efe: Already exists afd9bc40a60c: Already exists Digest: sha256:c10de736621bc2d4a3a44297346640b62309db58f46822b87679d9419a6b321c Status: Downloaded newer image for docker:20.10-dind ---> e9bf5bfbaf86 Step 4/10 : RUN apk add --no-cache --upgrade openssh ---> Running in 09b6c890cc2a 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/7) Upgrading openssh-keygen (9.0_p1-r1 -> 9.0_p1-r2) (2/7) Upgrading openssh-client-common (9.0_p1-r1 -> 9.0_p1-r2) (3/7) Upgrading openssh-client-default (9.0_p1-r1 -> 9.0_p1-r2) (4/7) Installing openssh-sftp-server (9.0_p1-r2) (5/7) Installing openssh-server-common (9.0_p1-r2) (6/7) Installing openssh-server (9.0_p1-r2) (7/7) Installing openssh (9.0_p1-r2) Executing busybox-1.35.0-r15.trigger OK: 31 MiB in 59 packages Removing intermediate container 09b6c890cc2a ---> 940986ca2e00 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ ---> 355244c40d8d Step 6/10 : RUN chmod -R 600 /etc/ssh ---> Running in c59d5af4bb0c Removing intermediate container c59d5af4bb0c ---> fa8896339d47 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> e7f978eacf36 Step 8/10 : RUN chmod -R 600 /root/.ssh ---> Running in 15ba4d92f583 Removing intermediate container 15ba4d92f583 ---> 465e130b49cf Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Running in e552f763864f Removing intermediate container e552f763864f ---> ef13e07eda85 Step 10/10 : EXPOSE 22 ---> Running in e612f385ad76 Removing intermediate container e612f385ad76 ---> da8f5303e449 Successfully built da8f5303e449 Successfully tagged dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e [Pipeline] isUnix [Pipeline] sh + docker tag dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e The push refers to repository [docker.io/dockerpinata/docker-py] d9997288c6ee: Preparing 62c04f39020f: Preparing 71ae0209a28b: Preparing 3e33362b2d71: Preparing cbaacae44a48: Preparing d262af48c8f4: Preparing a43431794a89: Preparing 905d1299d01e: Preparing c156177f74c0: Preparing 1b578e158ee9: Preparing af3e892b5a9b: Preparing fc014216c6f3: Preparing 2f04d3cc49cc: Preparing 419b027a05d7: Preparing 8548a15693ed: Preparing c9502204551a: Preparing de1672f7cb48: Preparing 675d1f534433: Preparing ec34fcc1d526: Preparing d262af48c8f4: Waiting a43431794a89: Waiting 905d1299d01e: Waiting c156177f74c0: Waiting 1b578e158ee9: Waiting af3e892b5a9b: Waiting fc014216c6f3: Waiting 2f04d3cc49cc: Waiting 419b027a05d7: Waiting 8548a15693ed: Waiting c9502204551a: Waiting de1672f7cb48: Waiting 675d1f534433: Waiting ec34fcc1d526: Waiting 62c04f39020f: Pushed d9997288c6ee: Pushed a43431794a89: Layer already exists 71ae0209a28b: Pushed 905d1299d01e: Layer already exists 1b578e158ee9: Layer already exists c156177f74c0: Layer already exists 3e33362b2d71: Pushed af3e892b5a9b: Layer already exists fc014216c6f3: Layer already exists 2f04d3cc49cc: Layer already exists 419b027a05d7: Layer already exists 8548a15693ed: Layer already exists c9502204551a: Layer already exists cbaacae44a48: Pushed 675d1f534433: Layer already exists de1672f7cb48: Layer already exists ec34fcc1d526: Layer already exists d262af48c8f4: Pushed sshdind-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e: digest: sha256:e2cafd5bcaeb1c06099881c473ad57f218738005e27b5fc385c6c61b5b943c5a size: 4286 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e Error response from daemon: manifest for dockerpinata/docker-py:py3-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-d800b97ef7cc3d1c3321f9e13df403d2a4c9b80e -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.383MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} 3.10: Pulling from library/python d836772a1c1f: Already exists 66a9e63c657a: Already exists d1989b6e74cf: Already exists c28818711e1e: Already exists 5084fa7ebd74: Already exists 7f162c881e4f: Already exists e3f48ccb2876: Already exists 315a1520c10e: Already exists 65ec519192cb: Already exists Digest: sha256:316505e6339d405068ada7f57db3244aed8907dc06ce30725bfb28d7e7ab8b21 Status: Downloaded newer image for python:3.10 ---> 3a49f9c9c80e Step 3/24 : ARG APT_MIRROR ---> Running in d73034843b1e Removing intermediate container d73034843b1e ---> 27db327d4592 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 4ad05a70c114 Removing intermediate container 4ad05a70c114 ---> 5d150cb9a2c4 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Running in ab06ddb4ae59 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 [168 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2592 B] Fetched 8561 kB in 2s (5361 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 1 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 (1921 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 ab06ddb4ae59 ---> 3a630cf4ff28 Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> a0f9bdcba16e Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> 9131595aaa0a Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Running in e5142e1d9d09 Removing intermediate container e5142e1d9d09 ---> cbc969c180f4 Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Running in c21934e3c3bb Removing intermediate container c21934e3c3bb ---> 0bd4e4358ffd Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> ff6976263be4 Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Running in 25d6f63f423a 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 25d6f63f423a ---> afc37b773a79 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Running in 8818999a3dcf gpg: inserting ownertrust of 6 Removing intermediate container 8818999a3dcf ---> 30d30203ad16 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Running in 36f7d59bf28d gpg: please do a --check-trustdb mkdir: created directory '/root/.password-store/' Password store initialized for 9781B87DAB042E6FD51388A5464ED987A7B21401 Removing intermediate container 36f7d59bf28d ---> c42772f85e5c Step 14/24 : RUN gpg2 --check-trustdb ---> Running in cb2371178546 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 cb2371178546 ---> 96914a35bf5b Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Running in 83142c6e6a58 Removing intermediate container 83142c6e6a58 ---> 35ef7a80a713 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 3293f3f711a5 Removing intermediate container 3293f3f711a5 ---> c434682103f3 Step 17/24 : WORKDIR /src ---> Running in 306591b0e67a Removing intermediate container 306591b0e67a ---> b483bbdc16a0 Step 18/24 : COPY requirements.txt /src/requirements.txt ---> 8aca36b792a8 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