Skip to content
Failed

Console Output

Pull request #2803 updated
14:13:10 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch main at 42789818bed5d86b487a030e2e60b02bf0cfa284 rather than 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
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-2803@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-0d732d5f8ff95e30e) in /home/ubuntu/workspace/docker-py_PR-2803
[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-2803@tmp/37bb13d5-1dab-4f82-b51e-90cd35b52b25/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
14:13:11 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
14:13:11 chowning workspace
[Pipeline] sh
14:13:12 + pwd
14:13:12 + id -u
14:13:12 + id -g
14:13:12 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2803:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
14:13:12 Removing all docker containers
[Pipeline] sh
14:13:13 + docker container ls -aq
[Pipeline] echo
14:13:13 Docker containers have been removed
[Pipeline] echo
14:13:13 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
14:13:13 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
14:13:13 The recommended git tool is: git
14:13:13 using credential docker-jenkins-github-credentials
14:13:13 Cloning the remote Git repository
14:13:13 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-2803 # 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/2803/head:refs/remotes/origin/PR-2803 +refs/heads/main:refs/remotes/origin/main # timeout=10
14:13:14 Fetching without tags
14:13:14 Merging remotes/origin/main commit 42789818bed5d86b487a030e2e60b02bf0cfa284 into PR head commit 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
14:13:14 Merge succeeded, producing 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
14:13:14 Checking out Revision 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 (PR-2803)
14:13:14 Commit message: "Extend API with update_container_from_resources"
14:13:14 First time build. Skipping changelog.
[Pipeline] sh
14:13:14 + 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/pull/2803/head:refs/remotes/origin/PR-2803 # 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/2803/head:refs/remotes/origin/PR-2803 +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 # 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 2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 # timeout=10
 > git rev-list --no-walk 04ea377acf6cce5b0074b7cadea6cec644345465 # timeout=10
14:13:15 + docker pull dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
14:13:15 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
14:13:15 + docker build -t dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 -f tests/Dockerfile-ssh-dind .
14:13:15 Sending build context to Docker daemon  1.401MB

14:13:15 Step 1/10 : ARG API_VERSION=1.41
14:13:15 Step 2/10 : ARG ENGINE_VERSION=20.10
14:13:15 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind
14:13:15  ---> 66356d2fde61
14:13:15 Step 4/10 : RUN apk add --no-cache --upgrade 		openssh
14:13:15  ---> Using cache
14:13:15  ---> 2d81c1bcfef1
14:13:15 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/
14:13:15  ---> Using cache
14:13:15  ---> 08e3eb03fff8
14:13:15 Step 6/10 : RUN chmod -R 600 /etc/ssh
14:13:15  ---> Using cache
14:13:15  ---> fb003d050fb8
14:13:15 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys
14:13:15  ---> Using cache
14:13:15  ---> 80bdc70a2520
14:13:15 Step 8/10 : RUN chmod -R 600 /root/.ssh
14:13:15  ---> Using cache
14:13:15  ---> 66f236dc8822
14:13:15 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
14:13:15  ---> Using cache
14:13:15  ---> 321bb57cbd67
14:13:15 Step 10/10 : EXPOSE 22
14:13:15  ---> Using cache
14:13:15  ---> df2d852a7541
14:13:15 Successfully built df2d852a7541
14:13:15 Successfully tagged dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
[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-2803@tmp/a6ac59a0-3947-46d7-b6bc-cef8b0a18031/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
14:13:15 + docker tag dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
[Pipeline] isUnix
[Pipeline] sh
14:13:16 + docker push dockerpinata/docker-py:sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
14:13:16 The push refers to repository [docker.io/dockerpinata/docker-py]
14:13:16 3eb767adb935: Preparing
14:13:16 e5c851f83138: Preparing
14:13:16 e3cbfd6cb2bf: Preparing
14:13:16 11b9ac5cd3cf: Preparing
14:13:16 63cba6caad10: Preparing
14:13:16 594d72794b87: Preparing
14:13:16 3c6a3b38c363: Preparing
14:13:16 8792a1704f31: Preparing
14:13:16 e15a9260f90f: Preparing
14:13:16 d13164e30cf3: Preparing
14:13:16 b83fc1683c64: Preparing
14:13:16 aa7332587a25: Preparing
14:13:16 aa245cb34e97: Preparing
14:13:16 834624ed3361: Preparing
14:13:16 8deac1e45c15: Preparing
14:13:16 a6ef0c8effb7: Preparing
14:13:16 3da30a550704: Preparing
14:13:16 de1672f7cb48: Preparing
14:13:16 675d1f534433: Preparing
14:13:16 ec34fcc1d526: Preparing
14:13:16 b83fc1683c64: Waiting
14:13:16 594d72794b87: Waiting
14:13:16 3c6a3b38c363: Waiting
14:13:16 8792a1704f31: Waiting
14:13:16 e15a9260f90f: Waiting
14:13:16 d13164e30cf3: Waiting
14:13:16 aa7332587a25: Waiting
14:13:16 aa245cb34e97: Waiting
14:13:16 834624ed3361: Waiting
14:13:16 8deac1e45c15: Waiting
14:13:16 a6ef0c8effb7: Waiting
14:13:16 3da30a550704: Waiting
14:13:16 de1672f7cb48: Waiting
14:13:16 675d1f534433: Waiting
14:13:16 ec34fcc1d526: Waiting
14:13:16 11b9ac5cd3cf: Layer already exists
14:13:16 3eb767adb935: Layer already exists
14:13:16 63cba6caad10: Layer already exists
14:13:16 e5c851f83138: Layer already exists
14:13:16 e3cbfd6cb2bf: Layer already exists
14:13:16 3c6a3b38c363: Layer already exists
14:13:16 e15a9260f90f: Layer already exists
14:13:16 d13164e30cf3: Layer already exists
14:13:16 594d72794b87: Layer already exists
14:13:16 8792a1704f31: Layer already exists
14:13:16 aa7332587a25: Layer already exists
14:13:16 b83fc1683c64: Layer already exists
14:13:16 8deac1e45c15: Layer already exists
14:13:16 834624ed3361: Layer already exists
14:13:16 aa245cb34e97: Layer already exists
14:13:16 a6ef0c8effb7: Layer already exists
14:13:16 3da30a550704: Layer already exists
14:13:16 de1672f7cb48: Layer already exists
14:13:16 675d1f534433: Layer already exists
14:13:16 ec34fcc1d526: Layer already exists
14:13:16 sshdind-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5: digest: sha256:aa31c28617f835dc361015ed70057a000ff4bfbac9f7cf711367a2268fdba3a3 size: 4498
[Pipeline] isUnix
[Pipeline] sh
14:13:16 + docker pull dockerpinata/docker-py:py3-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5
14:13:16 Error response from daemon: manifest for dockerpinata/docker-py:py3-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
14:13:16 + docker build -t dockerpinata/docker-py:py3-2d74a3bb1afcd2d8fa65f2ba8300166db697e4e5 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 .
14:13:16 Sending build context to Docker daemon  1.401MB

14:13:16 Step 1/24 : ARG PYTHON_VERSION=3.10
14:13:16 Step 2/24 : FROM python:${PYTHON_VERSION}
14:13:16  ---> ae9660359c2a
14:13:16 Step 3/24 : ARG APT_MIRROR
14:13:16  ---> Using cache
14:13:16  ---> 3e3c43590ad9
14:13:16 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
14:13:16  ---> Using cache
14:13:16  ---> 280d5b5c45b1
14:13:16 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends     gnupg2     pass
14:13:16  ---> Using cache
14:13:16  ---> 028ba53eb9b3
14:13:16 Step 6/24 : COPY tests/ssh/config/client /root/.ssh
14:13:16  ---> Using cache
14:13:16  ---> 5850cafee682
14:13:16 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts
14:13:16  ---> Using cache
14:13:16  ---> 1d13b2e3b80b
14:13:16 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts
14:13:16  ---> Using cache
14:13:16  ---> 752004a79305
14:13:16 Step 9/24 : RUN chmod -R 600 /root/.ssh
14:13:16  ---> Using cache
14:13:16  ---> 535dba123c37
14:13:16 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys
14:13:16  ---> Using cache
14:13:16  ---> e50ddce508bc
14:13:16 Step 11/24 : RUN gpg2 --import gpg-keys/secret
14:13:16  ---> Using cache
14:13:16  ---> 4c31ae841011
14:13:16 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust
14:13:16  ---> Using cache
14:13:16  ---> df81ef28cd98
14:13:16 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}')
14:13:16  ---> Using cache
14:13:16  ---> e623c47d86dd
14:13:16 Step 14/24 : RUN gpg2 --check-trustdb
14:13:16  ---> Using cache
14:13:16  ---> 75facb38e20b
14:13:16 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3
14:13:16  ---> Using cache
14:13:16  ---> 3d6c904a362e
14:13:16 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
14:13:16  ---> Using cache
14:13:16  ---> 0412b1658f51
14:13:16 Step 17/24 : WORKDIR /src
14:13:16  ---> Using cache
14:13:16  ---> 01deddd83447
14:13:16 Step 18/24 : COPY requirements.txt /src/requirements.txt
14:13:16  ---> Using cache
14:13:16  ---> 4690a83b5e6c
14:13:16 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip     pip install -r requirements.txt
14:13:16 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