Push event to branch main
16:43:43 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 3f0095a7c1966c521652314e524ff362c24ff58c
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_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 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-012ab76bc181e65bf) 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/206157df-adbd-4278-a683-25fb59381331/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
16:43:45 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
16:43:45 chowning workspace
[Pipeline] sh
16:43:45 + pwd
16:43:45 + id -u
16:43:45 + id -g
16:43:45 + docker run --rm -v /home/ubuntu/workspace/docker-py_main:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
16:43:45 Removing all docker containers
[Pipeline] sh
16:43:46 + docker container ls -aq
[Pipeline] echo
16:43:46 Docker containers have been removed
[Pipeline] echo
16:43:46 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
16:43:46 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
16:43:46 The recommended git tool is: git
16:43:46 using credential docker-jenkins-github-credentials
16:43:46 Cloning the remote Git repository
16:43:46 Cloning with configured refspecs honoured and without tags
16:43:47 Avoid second fetch
16:43:47 Checking out Revision 3f0095a7c1966c521652314e524ff362c24ff58c (main)
16:43:47 Commit message: "docs: remove duplicate 'on' in comment (#2370)"
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
> 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 3f0095a7c1966c521652314e524ff362c24ff58c # timeout=10
> git rev-list --no-walk 631b332cd917e07bc15a152b1066c70902b6cb92 # timeout=10
[Pipeline] sh
16:43:47 + git rev-parse HEAD
[Pipeline] withDockerRegistry
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
16:43:48 + docker pull dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c
16:43:48 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
16:43:48 + docker build -t dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c -f tests/Dockerfile-ssh-dind .
16:43:48 Sending build context to Docker daemon 1.391MB
16:43:48 Step 1/10 : ARG API_VERSION=1.41
16:43:48 Step 2/10 : ARG ENGINE_VERSION=20.10
16:43:48 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind
16:43:48 ---> e9bf5bfbaf86
16:43:48 Step 4/10 : RUN apk add --no-cache --upgrade openssh
16:43:48 ---> Using cache
16:43:48 ---> 888245743364
16:43:48 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/
16:43:48 ---> Using cache
16:43:48 ---> 239554182515
16:43:48 Step 6/10 : RUN chmod -R 600 /etc/ssh
16:43:48 ---> Using cache
16:43:48 ---> 944bd5498288
16:43:48 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys
16:43:48 ---> Using cache
16:43:48 ---> eb2fa663de7b
16:43:48 Step 8/10 : RUN chmod -R 600 /root/.ssh
16:43:48 ---> Using cache
16:43:48 ---> c44b334cf922
16:43:48 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
16:43:48 ---> Using cache
16:43:48 ---> b10373c8309f
16:43:48 Step 10/10 : EXPOSE 22
16:43:48 ---> Using cache
16:43:48 ---> 5d3984f03117
16:43:48 Successfully built 5d3984f03117
16:43:48 Successfully tagged dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c
[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/72b7e2ed-18dd-4791-a00a-aad15f3ca23e/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
16:43:48 + docker tag dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c
[Pipeline] isUnix
[Pipeline] sh
16:43:49 + docker push dockerpinata/docker-py:sshdind-3f0095a7c1966c521652314e524ff362c24ff58c
16:43:49 The push refers to repository [docker.io/dockerpinata/docker-py]
16:43:49 0219ca533b45: Preparing
16:43:49 b23480e9063d: Preparing
16:43:49 bd99b389d80f: Preparing
16:43:49 8a773a46a2ef: Preparing
16:43:49 49405a520f67: Preparing
16:43:49 77d14de9b285: Preparing
16:43:49 a43431794a89: Preparing
16:43:49 905d1299d01e: Preparing
16:43:49 c156177f74c0: Preparing
16:43:49 1b578e158ee9: Preparing
16:43:49 af3e892b5a9b: Preparing
16:43:49 fc014216c6f3: Preparing
16:43:49 2f04d3cc49cc: Preparing
16:43:49 419b027a05d7: Preparing
16:43:49 8548a15693ed: Preparing
16:43:49 c9502204551a: Preparing
16:43:49 de1672f7cb48: Preparing
16:43:49 675d1f534433: Preparing
16:43:49 ec34fcc1d526: Preparing
16:43:49 905d1299d01e: Waiting
16:43:49 c156177f74c0: Waiting
16:43:49 1b578e158ee9: Waiting
16:43:49 af3e892b5a9b: Waiting
16:43:49 fc014216c6f3: Waiting
16:43:49 2f04d3cc49cc: Waiting
16:43:49 419b027a05d7: Waiting
16:43:49 8548a15693ed: Waiting
16:43:49 c9502204551a: Waiting
16:43:49 de1672f7cb48: Waiting
16:43:49 675d1f534433: Waiting
16:43:49 ec34fcc1d526: Waiting
16:43:49 77d14de9b285: Waiting
16:43:49 a43431794a89: Waiting
16:43:49 0219ca533b45: Layer already exists
16:43:49 b23480e9063d: Layer already exists
16:43:49 49405a520f67: Layer already exists
16:43:49 bd99b389d80f: Layer already exists
16:43:49 8a773a46a2ef: Layer already exists
16:43:49 a43431794a89: Layer already exists
16:43:49 c156177f74c0: Layer already exists
16:43:49 77d14de9b285: Layer already exists
16:43:49 905d1299d01e: Layer already exists
16:43:49 1b578e158ee9: Layer already exists
16:43:49 419b027a05d7: Layer already exists
16:43:49 fc014216c6f3: Layer already exists
16:43:49 af3e892b5a9b: Layer already exists
16:43:49 2f04d3cc49cc: Layer already exists
16:43:49 8548a15693ed: Layer already exists
16:43:49 c9502204551a: Layer already exists
16:43:49 675d1f534433: Layer already exists
16:43:49 ec34fcc1d526: Layer already exists
16:43:49 de1672f7cb48: Layer already exists
16:43:49 sshdind-3f0095a7c1966c521652314e524ff362c24ff58c: digest: sha256:471d7a3e803781fc00c0c354c375eb49f481653541ba120ab4f4eb7cd0b0d2b9 size: 4286
[Pipeline] isUnix
[Pipeline] sh
16:43:49 + docker pull dockerpinata/docker-py:py3-3f0095a7c1966c521652314e524ff362c24ff58c
16:43:49 Error response from daemon: manifest for dockerpinata/docker-py:py3-3f0095a7c1966c521652314e524ff362c24ff58c not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
16:43:49 + docker build -t dockerpinata/docker-py:py3-3f0095a7c1966c521652314e524ff362c24ff58c -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 .
16:43:49 Sending build context to Docker daemon 1.391MB
16:43:49 Step 1/24 : ARG PYTHON_VERSION=3.10
16:43:49 Step 2/24 : FROM python:${PYTHON_VERSION}
16:43:49 ---> 3a49f9c9c80e
16:43:49 Step 3/24 : ARG APT_MIRROR
16:43:49 ---> Using cache
16:43:49 ---> 8d085724cf5f
16:43:49 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
16:43:49 ---> Using cache
16:43:49 ---> 6391d58cbd8c
16:43:49 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass
16:43:49 ---> Using cache
16:43:49 ---> cf49047fb3a5
16:43:49 Step 6/24 : COPY tests/ssh/config/client /root/.ssh
16:43:49 ---> Using cache
16:43:49 ---> 2f5c35d0f6a2
16:43:49 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts
16:43:49 ---> Using cache
16:43:49 ---> 2b59904d3e10
16:43:49 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts
16:43:49 ---> Using cache
16:43:49 ---> b953921d0862
16:43:49 Step 9/24 : RUN chmod -R 600 /root/.ssh
16:43:49 ---> Using cache
16:43:49 ---> a818fa6cfa94
16:43:49 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys
16:43:49 ---> Using cache
16:43:49 ---> 1487b7d64799
16:43:49 Step 11/24 : RUN gpg2 --import gpg-keys/secret
16:43:49 ---> Using cache
16:43:49 ---> 129de940b05d
16:43:49 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust
16:43:49 ---> Using cache
16:43:49 ---> 70d2dbb715af
16:43:49 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}')
16:43:49 ---> Using cache
16:43:49 ---> 6675f4c68903
16:43:49 Step 14/24 : RUN gpg2 --check-trustdb
16:43:49 ---> Using cache
16:43:49 ---> 8381c3f771cb
16:43:49 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3
16:43:49 ---> Using cache
16:43:49 ---> 0e30af0c2b5b
16:43:49 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
16:43:49 ---> Using cache
16:43:49 ---> 90c266a48a28
16:43:49 Step 17/24 : WORKDIR /src
16:43:49 ---> Using cache
16:43:49 ---> 30846c8f3c74
16:43:49 Step 18/24 : COPY requirements.txt /src/requirements.txt
16:43:49 ---> Using cache
16:43:49 ---> 97e2467e789c
16:43:49 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
16:43:49 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