Pull request #3019 updated 20:49:55 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 66402435d18d1ec6430217bba031abcf7776c549 rather than f86b0ffc7c908f742fca0365c969357685392e06 Obtained Jenkinsfile from 66402435d18d1ec6430217bba031abcf7776c549 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-3019@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 Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-00556388e0aae2047) in /home/ubuntu/workspace/docker-py_PR-3019 [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-3019@tmp/7ea91922-4000-4736-b9e0-b29c2a658496/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 20:49:56 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 20:49:56 chowning workspace [Pipeline] sh 20:49:56 + pwd 20:49:56 + id -u 20:49:56 + id -g 20:49:56 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3019:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo 20:49:57 Removing all docker containers [Pipeline] sh 20:49:57 + docker container ls -aq [Pipeline] echo 20:49:57 Docker containers have been removed [Pipeline] echo 20:49:57 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 20:49:57 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 20:49:57 The recommended git tool is: git 20:49:57 using credential docker-jenkins-github-credentials 20:49:57 Cloning the remote Git repository 20:49:57 Cloning with configured refspecs honoured and without tags 20:49:58 Fetching without tags 20:49:58 Merging remotes/origin/main commit 66402435d18d1ec6430217bba031abcf7776c549 into PR head commit f86b0ffc7c908f742fca0365c969357685392e06 Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-3019 # 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/3019/head:refs/remotes/origin/PR-3019 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3019/head:refs/remotes/origin/PR-3019 # 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/3019/head:refs/remotes/origin/PR-3019 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f86b0ffc7c908f742fca0365c969357685392e06 # 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 66402435d18d1ec6430217bba031abcf7776c549 # timeout=10 20:49:58 Merge succeeded, producing f86b0ffc7c908f742fca0365c969357685392e06 20:49:58 Checking out Revision f86b0ffc7c908f742fca0365c969357685392e06 (PR-3019) 20:49:58 Commit message: "test: fix pretend version" 20:49:58 First time build. Skipping changelog. [Pipeline] sh 20:49:59 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:59 + docker pull dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 20:49:59 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f86b0ffc7c908f742fca0365c969357685392e06 # timeout=10 > git rev-list --no-walk 433507a61cf5a194a59066a5ae600a59f5ab5907 # timeout=10 20:50:00 + docker build -t dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 -f tests/Dockerfile-ssh-dind . 20:50:00 Sending build context to Docker daemon 1.395MB 20:50:00 Step 1/10 : ARG API_VERSION=1.41 20:50:00 Step 2/10 : ARG ENGINE_VERSION=20.10 20:50:00 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind 20:50:00 ---> e1a3d5b85ecd 20:50:00 Step 4/10 : RUN apk add --no-cache --upgrade openssh 20:50:00 ---> Using cache 20:50:00 ---> 7001cf49169e 20:50:00 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ 20:50:00 ---> Using cache 20:50:00 ---> be8ecc22f2f2 20:50:00 Step 6/10 : RUN chmod -R 600 /etc/ssh 20:50:00 ---> Using cache 20:50:00 ---> 77887ae26217 20:50:00 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys 20:50:00 ---> Using cache 20:50:00 ---> 246595a51b8d 20:50:00 Step 8/10 : RUN chmod -R 600 /root/.ssh 20:50:00 ---> Using cache 20:50:00 ---> 2a99f3cd8655 20:50:00 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker 20:50:00 ---> Using cache 20:50:00 ---> fbbe21e94951 20:50:00 Step 10/10 : EXPOSE 22 20:50:00 ---> Using cache 20:50:00 ---> b340985d3e8e 20:50:00 Successfully built b340985d3e8e 20:50:00 Successfully tagged dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 [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-3019@tmp/338a3ee1-00e9-4a5b-b3a9-8358a26e3f50/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 20:50:00 + docker tag dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 [Pipeline] isUnix [Pipeline] sh 20:50:00 + docker push dockerpinata/docker-py:sshdind-f86b0ffc7c908f742fca0365c969357685392e06 20:50:00 The push refers to repository [docker.io/dockerpinata/docker-py] 20:50:00 8a15fdea6e61: Preparing 20:50:00 174d38466bb2: Preparing 20:50:00 51b63af2edaa: Preparing 20:50:00 919f1018b280: Preparing 20:50:00 607e6aff26c2: Preparing 20:50:00 062a6b9fbe6b: Preparing 20:50:00 c7f0cc224e17: Preparing 20:50:00 4c78a4cc1add: Preparing 20:50:00 5346b07949d4: Preparing 20:50:00 c1e97a7fcaa2: Preparing 20:50:00 eba0c049c10d: Preparing 20:50:00 db259fc589ef: Preparing 20:50:00 cfdd18ad8560: Preparing 20:50:00 27b58d8f96da: Preparing 20:50:00 39b6a2fcd592: Preparing 20:50:00 b3fce54ffd65: Preparing 20:50:00 09e77f436210: Preparing 20:50:00 be04e0ba70d2: Preparing 20:50:00 9d0b8a80148b: Preparing 20:50:00 994393dc58e7: Preparing 20:50:00 062a6b9fbe6b: Waiting 20:50:00 c7f0cc224e17: Waiting 20:50:00 4c78a4cc1add: Waiting 20:50:00 5346b07949d4: Waiting 20:50:00 c1e97a7fcaa2: Waiting 20:50:00 eba0c049c10d: Waiting 20:50:00 db259fc589ef: Waiting 20:50:00 cfdd18ad8560: Waiting 20:50:00 27b58d8f96da: Waiting 20:50:00 39b6a2fcd592: Waiting 20:50:00 b3fce54ffd65: Waiting 20:50:00 09e77f436210: Waiting 20:50:00 be04e0ba70d2: Waiting 20:50:00 9d0b8a80148b: Waiting 20:50:00 994393dc58e7: Waiting 20:50:00 174d38466bb2: Layer already exists 20:50:00 8a15fdea6e61: Layer already exists 20:50:00 51b63af2edaa: Layer already exists 20:50:00 607e6aff26c2: Layer already exists 20:50:00 919f1018b280: Layer already exists 20:50:00 4c78a4cc1add: Layer already exists 20:50:00 c7f0cc224e17: Layer already exists 20:50:00 5346b07949d4: Layer already exists 20:50:00 062a6b9fbe6b: Layer already exists 20:50:00 c1e97a7fcaa2: Layer already exists 20:50:00 27b58d8f96da: Layer already exists 20:50:00 db259fc589ef: Layer already exists 20:50:00 cfdd18ad8560: Layer already exists 20:50:00 39b6a2fcd592: Layer already exists 20:50:00 eba0c049c10d: Layer already exists 20:50:00 be04e0ba70d2: Layer already exists 20:50:00 b3fce54ffd65: Layer already exists 20:50:00 09e77f436210: Layer already exists 20:50:00 9d0b8a80148b: Layer already exists 20:50:00 994393dc58e7: Layer already exists 20:50:00 sshdind-f86b0ffc7c908f742fca0365c969357685392e06: digest: sha256:c9b47992cf85b09af2076a758eb50ffd4e0941beed3d49db656697b528a3ccbc size: 4497 [Pipeline] isUnix [Pipeline] sh 20:50:01 + docker pull dockerpinata/docker-py:py3-f86b0ffc7c908f742fca0365c969357685392e06 20:50:01 Error response from daemon: manifest for dockerpinata/docker-py:py3-f86b0ffc7c908f742fca0365c969357685392e06 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 20:50:01 + docker build -t dockerpinata/docker-py:py3-f86b0ffc7c908f742fca0365c969357685392e06 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . 20:50:01 Sending build context to Docker daemon 1.395MB 20:50:01 Step 1/24 : ARG PYTHON_VERSION=3.10 20:50:01 Step 2/24 : FROM python:${PYTHON_VERSION} 20:50:01 ---> ae9660359c2a 20:50:01 Step 3/24 : ARG APT_MIRROR 20:50:01 ---> Using cache 20:50:01 ---> 3b2d8a698449 20:50:01 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 20:50:01 ---> Using cache 20:50:01 ---> 4fbc171b3866 20:50:01 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass 20:50:01 ---> Using cache 20:50:01 ---> 9099797ba61f 20:50:01 Step 6/24 : COPY tests/ssh/config/client /root/.ssh 20:50:01 ---> Using cache 20:50:01 ---> 6f26db8f6080 20:50:01 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts 20:50:01 ---> Using cache 20:50:01 ---> a81c67bfc9c5 20:50:01 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts 20:50:01 ---> Using cache 20:50:01 ---> f0fbbb2305c6 20:50:01 Step 9/24 : RUN chmod -R 600 /root/.ssh 20:50:01 ---> Using cache 20:50:01 ---> 3eaf74627395 20:50:01 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys 20:50:01 ---> Using cache 20:50:01 ---> 500bc1533eb7 20:50:01 Step 11/24 : RUN gpg2 --import gpg-keys/secret 20:50:01 ---> Using cache 20:50:01 ---> 48c0be7f33eb 20:50:01 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust 20:50:01 ---> Using cache 20:50:01 ---> 7441d25bf554 20:50:01 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') 20:50:01 ---> Using cache 20:50:01 ---> d860d024acf9 20:50:01 Step 14/24 : RUN gpg2 --check-trustdb 20:50:01 ---> Using cache 20:50:01 ---> 5e5a89826814 20:50:01 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 20:50:01 ---> Using cache 20:50:01 ---> 2a31530d4c53 20:50:01 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 20:50:01 ---> Using cache 20:50:01 ---> 106d838bdc2e 20:50:01 Step 17/24 : WORKDIR /src 20:50:01 ---> Using cache 20:50:01 ---> 7e66dad3642c 20:50:01 Step 18/24 : COPY requirements.txt /src/requirements.txt 20:50:01 ---> Using cache 20:50:01 ---> d3ba4c687bd4 20:50:01 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 20:50:01 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