Skip to content
Failed

Console Output

Push event to branch main
19:09:28 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
19:09:29 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
19:09:29 chowning workspace
[Pipeline] sh
19:09:30 + pwd
19:09:30 + id -u
19:09:30 + id -g
19:09:30 + docker run --rm -v /home/ubuntu/workspace/docker-py_main:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
19:09:30 Removing all docker containers
[Pipeline] sh
19:09:30 + docker container ls -aq
[Pipeline] echo
19:09:30 Docker containers have been removed
[Pipeline] echo
19:09:30 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
19:09:30 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
19:09:30 The recommended git tool is: git
19:09:30 using credential docker-jenkins-github-credentials
19:09:30 Cloning the remote Git repository
19:09:30 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
19:09:31 Avoid second fetch
19:09:31 Checking out Revision 1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 (main)
19:09:32 Commit message: "ci: use latest stable syntax for Dockerfiles (#3035)"
[Pipeline] sh
19:09:32 + 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
19:09:33 + docker pull dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9
19:09:33 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
19:09:33 + docker build -t dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 -f tests/Dockerfile-ssh-dind .
19:09:33 Sending build context to Docker daemon  1.399MB

19:09:33 Step 1/8 : ARG API_VERSION=1.41
19:09:33 Step 2/8 : ARG ENGINE_VERSION=20.10
19:09:33 Step 3/8 : FROM docker:${ENGINE_VERSION}-dind
19:09:33  ---> 780523c12933
19:09:33 Step 4/8 : RUN apk add --no-cache --upgrade     openssh
19:09:33  ---> Using cache
19:09:33  ---> fd01a902b07f
19:09:33 Step 5/8 : COPY tests/ssh/config/server /etc/ssh/
19:09:33  ---> Using cache
19:09:33  ---> 9c30de9637dc
19:09:33 Step 6/8 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys
19:09:33  ---> Using cache
19:09:33  ---> 861acb4bfded
19:09:33 Step 7/8 : RUN chmod -R 600 /etc/ssh  && chmod -R 600 /root/.ssh  && ln -s /usr/local/bin/docker /usr/bin/docker
19:09:33  ---> Using cache
19:09:33  ---> 0fd1f9a9025a
19:09:33 Step 8/8 : EXPOSE 22
19:09:33  ---> Using cache
19:09:33  ---> 6bcc7b5bb267
19:09:33 Successfully built 6bcc7b5bb267
19:09:33 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
19:09:33 + docker tag dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9
[Pipeline] isUnix
[Pipeline] sh
19:09:34 + docker push dockerpinata/docker-py:sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9
19:09:34 The push refers to repository [docker.io/dockerpinata/docker-py]
19:09:34 e1d811ec5790: Preparing
19:09:34 7fe9266ca35a: Preparing
19:09:34 8c16b7b7f9a9: Preparing
19:09:34 0245d8f6f56a: Preparing
19:09:34 0572f740e0ff: Preparing
19:09:34 69563ab15f20: Preparing
19:09:34 6842091e3363: Preparing
19:09:34 4f0fcbd8982a: Preparing
19:09:34 304efc3e1bb7: Preparing
19:09:34 affe6a1546a4: Preparing
19:09:34 90221ed8cfe4: Preparing
19:09:34 b45c08a3d6e7: Preparing
19:09:34 2b8d234be808: Preparing
19:09:34 c1c0775a9e08: Preparing
19:09:34 09e77f436210: Preparing
19:09:34 be04e0ba70d2: Preparing
19:09:34 9d0b8a80148b: Preparing
19:09:34 994393dc58e7: Preparing
19:09:34 69563ab15f20: Waiting
19:09:34 6842091e3363: Waiting
19:09:34 4f0fcbd8982a: Waiting
19:09:34 304efc3e1bb7: Waiting
19:09:34 affe6a1546a4: Waiting
19:09:34 90221ed8cfe4: Waiting
19:09:34 b45c08a3d6e7: Waiting
19:09:34 2b8d234be808: Waiting
19:09:34 c1c0775a9e08: Waiting
19:09:34 09e77f436210: Waiting
19:09:34 be04e0ba70d2: Waiting
19:09:34 9d0b8a80148b: Waiting
19:09:34 994393dc58e7: Waiting
19:09:34 0245d8f6f56a: Layer already exists
19:09:34 8c16b7b7f9a9: Layer already exists
19:09:34 0572f740e0ff: Layer already exists
19:09:34 e1d811ec5790: Layer already exists
19:09:34 4f0fcbd8982a: Layer already exists
19:09:34 7fe9266ca35a: Layer already exists
19:09:34 69563ab15f20: Layer already exists
19:09:34 6842091e3363: Layer already exists
19:09:34 304efc3e1bb7: Layer already exists
19:09:34 90221ed8cfe4: Layer already exists
19:09:34 b45c08a3d6e7: Layer already exists
19:09:34 affe6a1546a4: Layer already exists
19:09:34 2b8d234be808: Layer already exists
19:09:34 c1c0775a9e08: Layer already exists
19:09:34 09e77f436210: Layer already exists
19:09:34 9d0b8a80148b: Layer already exists
19:09:34 be04e0ba70d2: Layer already exists
19:09:34 994393dc58e7: Layer already exists
19:09:34 sshdind-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9: digest: sha256:d99cf690cdc802727c557034edfd950d7e29bcee1a1b6bf90151fbf9f2d803f9 size: 4083
[Pipeline] isUnix
[Pipeline] sh
19:09:34 + docker pull dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9
19:09:34 Error response from daemon: manifest for dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
19:09:35 + docker build -t dockerpinata/docker-py:py3-1c27ec1f0c34f6b9510f5caadada5fd8ecc430d9 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 .
19:09:35 Sending build context to Docker daemon  1.399MB

19:09:35 Step 1/24 : ARG PYTHON_VERSION=3.10
19:09:35 Step 2/24 : FROM python:${PYTHON_VERSION}
19:09:35  ---> b62e4294564c
19:09:35 Step 3/24 : ARG APT_MIRROR
19:09:35  ---> Using cache
19:09:35  ---> fc9175858dc5
19:09:35 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
19:09:35  ---> Using cache
19:09:35  ---> 0a1ef97c62d2
19:09:35 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends     gnupg2     pass
19:09:35  ---> Using cache
19:09:35  ---> 784f05fcbd15
19:09:35 Step 6/24 : COPY tests/ssh/config/client /root/.ssh
19:09:35  ---> Using cache
19:09:35  ---> b60a26abce6f
19:09:35 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts
19:09:35  ---> Using cache
19:09:35  ---> 9742704af6dc
19:09:35 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts
19:09:35  ---> Using cache
19:09:35  ---> 31071a0dfd8d
19:09:35 Step 9/24 : RUN chmod -R 600 /root/.ssh
19:09:35  ---> Using cache
19:09:35  ---> 02cb70155a7f
19:09:35 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys
19:09:35  ---> Using cache
19:09:35  ---> cc274141b795
19:09:35 Step 11/24 : RUN gpg2 --import gpg-keys/secret
19:09:35  ---> Using cache
19:09:35  ---> 74332d640adb
19:09:35 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust
19:09:35  ---> Using cache
19:09:35  ---> 5332909c3640
19:09:35 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}')
19:09:35  ---> Using cache
19:09:35  ---> 4e8a54a46f96
19:09:35 Step 14/24 : RUN gpg2 --check-trustdb
19:09:35  ---> Using cache
19:09:35  ---> 47c999f90c77
19:09:35 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3
19:09:35  ---> Using cache
19:09:35  ---> 35133c9bab75
19:09:35 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
19:09:35  ---> Using cache
19:09:35  ---> 1f688c7a3ee2
19:09:35 Step 17/24 : WORKDIR /src
19:09:35  ---> Using cache
19:09:35  ---> 4d9b45a8a42c
19:09:35 Step 18/24 : COPY requirements.txt /src/requirements.txt
19:09:35  ---> Using cache
19:09:35  ---> 3407bfd29e2a
19:09:35 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip     pip install -r requirements.txt
19:09:35 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