Pull request #3016 updated 09:00:35 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 42789818bed5d86b487a030e2e60b02bf0cfa284 rather than 58cb4d98f60cda2f416edc59ad402da69e2e068a Obtained Jenkinsfile from 42789818bed5d86b487a030e2e60b02bf0cfa284 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-3016@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-019548a49c0978d4d) in /home/ubuntu/workspace/docker-py_PR-3016 [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-3016@tmp/fcf7a720-9baa-4c85-9c5d-19d4dee82d13/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 09:00:37 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 09:00:37 chowning workspace [Pipeline] sh 09:00:37 + pwd 09:00:37 + id -u 09:00:37 + id -g 09:00:37 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3016:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo 09:00:38 Removing all docker containers [Pipeline] sh 09:00:38 + docker container ls -aq [Pipeline] echo 09:00:38 Docker containers have been removed [Pipeline] echo 09:00:38 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 09:00:38 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 09:00:38 The recommended git tool is: git 09:00:38 using credential docker-jenkins-github-credentials 09:00:38 Cloning the remote Git repository 09:00:38 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-3016 # 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/3016/head:refs/remotes/origin/PR-3016 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:00:39 Fetching without tags > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3016/head:refs/remotes/origin/PR-3016 # 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/3016/head:refs/remotes/origin/PR-3016 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:00:39 Merging remotes/origin/main commit 42789818bed5d86b487a030e2e60b02bf0cfa284 into PR head commit 58cb4d98f60cda2f416edc59ad402da69e2e068a 09:00:39 Merge succeeded, producing 58cb4d98f60cda2f416edc59ad402da69e2e068a 09:00:39 Checking out Revision 58cb4d98f60cda2f416edc59ad402da69e2e068a (PR-3016) 09:00:39 Commit message: "Fix flake8 errors" [Pipeline] sh 09:00:40 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 58cb4d98f60cda2f416edc59ad402da69e2e068a # 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 42789818bed5d86b487a030e2e60b02bf0cfa284 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58cb4d98f60cda2f416edc59ad402da69e2e068a # timeout=10 > git rev-list --no-walk 3b1bb8397636e63a5057c6fe4bc3fb7df63cb9d3 # timeout=10 09:00:40 + docker pull dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a 09:00:40 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 09:00:41 + docker build -t dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a -f tests/Dockerfile-ssh-dind . 09:00:41 Sending build context to Docker daemon 1.393MB 09:00:41 Step 1/10 : ARG API_VERSION=1.41 09:00:41 Step 2/10 : ARG ENGINE_VERSION=20.10 09:00:41 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind 09:00:41 ---> e1a3d5b85ecd 09:00:41 Step 4/10 : RUN apk add --no-cache --upgrade openssh 09:00:41 ---> Using cache 09:00:41 ---> 802b0e70c81a 09:00:41 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ 09:00:41 ---> Using cache 09:00:41 ---> 8bdafd4e6898 09:00:41 Step 6/10 : RUN chmod -R 600 /etc/ssh 09:00:41 ---> Using cache 09:00:41 ---> 2f3b7d617866 09:00:41 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys 09:00:41 ---> Using cache 09:00:41 ---> 706831756d5a 09:00:41 Step 8/10 : RUN chmod -R 600 /root/.ssh 09:00:41 ---> Using cache 09:00:41 ---> fcaa9325213f 09:00:41 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker 09:00:41 ---> Using cache 09:00:41 ---> 03d375f34854 09:00:41 Step 10/10 : EXPOSE 22 09:00:41 ---> Using cache 09:00:41 ---> f1d18724ce25 09:00:41 Successfully built f1d18724ce25 09:00:41 Successfully tagged dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a [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-3016@tmp/9fc4e886-432d-4db8-9d76-35a0a3a4203e/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 09:00:41 + docker tag dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a [Pipeline] isUnix [Pipeline] sh 09:00:41 + docker push dockerpinata/docker-py:sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a 09:00:41 The push refers to repository [docker.io/dockerpinata/docker-py] 09:00:41 97bff5adffe4: Preparing 09:00:41 cabc66850980: Preparing 09:00:41 39276f27a0e4: Preparing 09:00:41 c7983f4ca131: Preparing 09:00:41 cb1b35b4d2e2: Preparing 09:00:41 633fbd1030f8: Preparing 09:00:41 c7f0cc224e17: Preparing 09:00:41 4c78a4cc1add: Preparing 09:00:41 5346b07949d4: Preparing 09:00:41 c1e97a7fcaa2: Preparing 09:00:41 eba0c049c10d: Preparing 09:00:41 db259fc589ef: Preparing 09:00:41 cfdd18ad8560: Preparing 09:00:41 27b58d8f96da: Preparing 09:00:41 39b6a2fcd592: Preparing 09:00:41 b3fce54ffd65: Preparing 09:00:41 09e77f436210: Preparing 09:00:41 be04e0ba70d2: Preparing 09:00:41 9d0b8a80148b: Preparing 09:00:41 994393dc58e7: Preparing 09:00:41 eba0c049c10d: Waiting 09:00:41 db259fc589ef: Waiting 09:00:41 cfdd18ad8560: Waiting 09:00:41 27b58d8f96da: Waiting 09:00:41 633fbd1030f8: Waiting 09:00:41 c7f0cc224e17: Waiting 09:00:41 4c78a4cc1add: Waiting 09:00:41 5346b07949d4: Waiting 09:00:41 c1e97a7fcaa2: Waiting 09:00:41 39b6a2fcd592: Waiting 09:00:41 b3fce54ffd65: Waiting 09:00:41 09e77f436210: Waiting 09:00:41 be04e0ba70d2: Waiting 09:00:41 9d0b8a80148b: Waiting 09:00:41 994393dc58e7: Waiting 09:00:41 97bff5adffe4: Layer already exists 09:00:41 39276f27a0e4: Layer already exists 09:00:41 cabc66850980: Layer already exists 09:00:41 cb1b35b4d2e2: Layer already exists 09:00:41 4c78a4cc1add: Layer already exists 09:00:41 c7f0cc224e17: Layer already exists 09:00:41 c1e97a7fcaa2: Layer already exists 09:00:41 eba0c049c10d: Layer already exists 09:00:41 5346b07949d4: Layer already exists 09:00:41 633fbd1030f8: Layer already exists 09:00:41 39b6a2fcd592: Layer already exists 09:00:41 cfdd18ad8560: Layer already exists 09:00:41 27b58d8f96da: Layer already exists 09:00:41 db259fc589ef: Layer already exists 09:00:41 b3fce54ffd65: Layer already exists 09:00:41 be04e0ba70d2: Layer already exists 09:00:41 09e77f436210: Layer already exists 09:00:41 994393dc58e7: Layer already exists 09:00:41 9d0b8a80148b: Layer already exists 09:00:41 c7983f4ca131: Layer already exists 09:00:42 sshdind-58cb4d98f60cda2f416edc59ad402da69e2e068a: digest: sha256:d75d1685d5dac3c2adec83386b6090df25f0aab80ee9d4de5bbd75d3427eb9f0 size: 4497 [Pipeline] isUnix [Pipeline] sh 09:00:42 + docker pull dockerpinata/docker-py:py3-58cb4d98f60cda2f416edc59ad402da69e2e068a 09:00:42 Error response from daemon: manifest for dockerpinata/docker-py:py3-58cb4d98f60cda2f416edc59ad402da69e2e068a not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 09:00:42 + docker build -t dockerpinata/docker-py:py3-58cb4d98f60cda2f416edc59ad402da69e2e068a -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . 09:00:42 Sending build context to Docker daemon 1.393MB 09:00:42 Step 1/24 : ARG PYTHON_VERSION=3.10 09:00:42 Step 2/24 : FROM python:${PYTHON_VERSION} 09:00:42 ---> ae9660359c2a 09:00:42 Step 3/24 : ARG APT_MIRROR 09:00:42 ---> Using cache 09:00:42 ---> 0e54588e49e2 09:00:42 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 09:00:42 ---> Using cache 09:00:42 ---> 22f0f0b93c39 09:00:42 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass 09:00:42 ---> Using cache 09:00:42 ---> 4405b2d27c72 09:00:42 Step 6/24 : COPY tests/ssh/config/client /root/.ssh 09:00:42 ---> Using cache 09:00:42 ---> 28090bd3bf52 09:00:42 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts 09:00:42 ---> Using cache 09:00:42 ---> 308ed3e78e8e 09:00:42 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts 09:00:42 ---> Using cache 09:00:42 ---> 6294ef8ab819 09:00:42 Step 9/24 : RUN chmod -R 600 /root/.ssh 09:00:42 ---> Using cache 09:00:42 ---> 731e8dcda1ea 09:00:42 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys 09:00:42 ---> Using cache 09:00:42 ---> 0d5515e8305f 09:00:42 Step 11/24 : RUN gpg2 --import gpg-keys/secret 09:00:42 ---> Using cache 09:00:42 ---> 5c93c9fa6667 09:00:42 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust 09:00:42 ---> Using cache 09:00:42 ---> af24ea7e1413 09:00:42 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') 09:00:42 ---> Using cache 09:00:42 ---> 7617a38df201 09:00:42 Step 14/24 : RUN gpg2 --check-trustdb 09:00:42 ---> Using cache 09:00:42 ---> 4f3cbdd0b69e 09:00:42 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 09:00:42 ---> Using cache 09:00:42 ---> b46b186c49bd 09:00:42 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 09:00:42 ---> Using cache 09:00:42 ---> 21bed0dc4542 09:00:42 Step 17/24 : WORKDIR /src 09:00:42 ---> Using cache 09:00:42 ---> d137d0fecd51 09:00:42 Step 18/24 : COPY requirements.txt /src/requirements.txt 09:00:42 ---> Using cache 09:00:42 ---> a61ee1de5d28 09:00:42 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 09:00:42 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