Push event to branch main Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 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 Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e96f5639475fadc1) 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/0ec0e793-a6c7-4df4-9108-550eb600c23d/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 [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 1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 (main) Commit message: "ci: use latest stable syntax for Dockerfiles (#3035)" [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [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 1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 # timeout=10 > git rev-list --no-walk 2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 # timeout=10 + docker pull dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.399MB Step 1/8 : ARG API_VERSION=1.41 Step 2/8 : ARG ENGINE_VERSION=20.10 Step 3/8 : FROM docker:${ENGINE_VERSION}-dind ---> 780523c12933 Step 4/8 : RUN apk add --no-cache --upgrade openssh ---> Using cache ---> fd01a902b07f Step 5/8 : COPY tests/ssh/config/server /etc/ssh/ ---> Using cache ---> 9c30de9637dc Step 6/8 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> Using cache ---> 861acb4bfded Step 7/8 : RUN chmod -R 600 /etc/ssh && chmod -R 600 /root/.ssh && ln -s /usr/local/bin/docker /usr/bin/docker ---> Using cache ---> 0fd1f9a9025a Step 8/8 : EXPOSE 22 ---> Using cache ---> 6bcc7b5bb267 Successfully built 6bcc7b5bb267 Successfully tagged dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 [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/d1e447bb-6a7f-4d54-9a42-ddacb5408c84/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + docker tag dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 The push refers to repository [docker.io/dockerpinata/docker-py] e1d811ec5790: Preparing 7fe9266ca35a: Preparing 8c16b7b7f9a9: Preparing 0245d8f6f56a: Preparing 0572f740e0ff: Preparing 69563ab15f20: Preparing 6842091e3363: Preparing 4f0fcbd8982a: Preparing 304efc3e1bb7: Preparing affe6a1546a4: Preparing 90221ed8cfe4: Preparing b45c08a3d6e7: Preparing 2b8d234be808: Preparing c1c0775a9e08: Preparing 09e77f436210: Preparing be04e0ba70d2: Preparing 9d0b8a80148b: Preparing 994393dc58e7: Preparing 69563ab15f20: Waiting 6842091e3363: Waiting 4f0fcbd8982a: Waiting 304efc3e1bb7: Waiting affe6a1546a4: Waiting 90221ed8cfe4: Waiting b45c08a3d6e7: Waiting 2b8d234be808: Waiting c1c0775a9e08: Waiting 09e77f436210: Waiting be04e0ba70d2: Waiting 9d0b8a80148b: Waiting 994393dc58e7: Waiting 0245d8f6f56a: Layer already exists 8c16b7b7f9a9: Layer already exists 0572f740e0ff: Layer already exists e1d811ec5790: Layer already exists 4f0fcbd8982a: Layer already exists 7fe9266ca35a: Layer already exists 69563ab15f20: Layer already exists 6842091e3363: Layer already exists 304efc3e1bb7: Layer already exists 90221ed8cfe4: Layer already exists b45c08a3d6e7: Layer already exists affe6a1546a4: Layer already exists 2b8d234be808: Layer already exists c1c0775a9e08: Layer already exists 09e77f436210: Layer already exists 9d0b8a80148b: Layer already exists be04e0ba70d2: Layer already exists 994393dc58e7: Layer already exists sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9: digest: sha256:d99cf690cdc802727c557034edfd950d7e29bcee1a1b6bf90151fbf9f2d803f9 size: 4083 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 Error response from daemon: manifest for dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.399MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} ---> b62e4294564c Step 3/24 : ARG APT_MIRROR ---> Using cache ---> fc9175858dc5 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 ---> Using cache ---> 0a1ef97c62d2 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Using cache ---> 784f05fcbd15 Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> Using cache ---> b60a26abce6f Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> Using cache ---> 9742704af6dc Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Using cache ---> 31071a0dfd8d Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Using cache ---> 02cb70155a7f Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> Using cache ---> cc274141b795 Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Using cache ---> 74332d640adb Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Using cache ---> 5332909c3640 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Using cache ---> 4e8a54a46f96 Step 14/24 : RUN gpg2 --check-trustdb ---> Using cache ---> 47c999f90c77 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Using cache ---> 35133c9bab75 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 ---> Using cache ---> 1f688c7a3ee2 Step 17/24 : WORKDIR /src ---> Using cache ---> 4d9b45a8a42c Step 18/24 : COPY requirements.txt /src/requirements.txt ---> Using cache ---> 3407bfd29e2a 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