Pull request #3031 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at e901eac7a8c5f29c7720eafb9f58c8356cca2324 rather than 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 Obtained Jenkinsfile from e901eac7a8c5f29c7720eafb9f58c8356cca2324 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_PR-3031@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-0ffeffa98c653fd4d) in /home/ubuntu/workspace/docker-py_PR-3031 [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-3031@tmp/a596eee7-4ffd-40a3-9899-4193a9f7b1e8/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_PR-3031:/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_PR-3031 # 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/3031/head:refs/remotes/origin/PR-3031 +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/pull/3031/head:refs/remotes/origin/PR-3031 # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 Fetching without tags Merging remotes/origin/main commit e901eac7a8c5f29c7720eafb9f58c8356cca2324 into PR head commit 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 Merge succeeded, producing 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 Checking out Revision 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 (PR-3031) Commit message: "feat: add support for floats to docker logs params since / until since the docker engine supports it" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix > 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/3031/head:refs/remotes/origin/PR-3031 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 # 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 e901eac7a8c5f29c7720eafb9f58c8356cca2324 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 # timeout=10 > git rev-list --no-walk 3fa85c7787401d3a86779a1dd1512bc09edaf74a # timeout=10 [Pipeline] sh + docker pull dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.4MB Step 1/10 : ARG API_VERSION=1.41 Step 2/10 : ARG ENGINE_VERSION=20.10 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind ---> e1a3d5b85ecd Step 4/10 : RUN apk add --no-cache --upgrade openssh ---> Using cache ---> bb776f39ed86 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ ---> Using cache ---> 63b66166db45 Step 6/10 : RUN chmod -R 600 /etc/ssh ---> Using cache ---> 1434786ac156 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> Using cache ---> a6ad3d67f57e Step 8/10 : RUN chmod -R 600 /root/.ssh ---> Using cache ---> 5dbe908f6138 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Using cache ---> ebee4b0f31b6 Step 10/10 : EXPOSE 22 ---> Using cache ---> 14ced43248a6 Successfully built 14ced43248a6 Successfully tagged dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 [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-3031@tmp/b87deda6-82f4-4a10-b7af-730de05f26e0/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-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 The push refers to repository [docker.io/dockerpinata/docker-py] d80cb5345f09: Preparing 36afc7de0081: Preparing 2ed993e6f71a: Preparing 8f5ac4f077c9: Preparing e08e5e988728: Preparing f92ab5cd93f7: Preparing c7f0cc224e17: Preparing 4c78a4cc1add: Preparing 5346b07949d4: Preparing c1e97a7fcaa2: Preparing eba0c049c10d: Preparing db259fc589ef: Preparing cfdd18ad8560: Preparing 27b58d8f96da: Preparing 39b6a2fcd592: Preparing b3fce54ffd65: Preparing 09e77f436210: Preparing be04e0ba70d2: Preparing 9d0b8a80148b: Preparing 994393dc58e7: Preparing f92ab5cd93f7: Waiting c7f0cc224e17: Waiting 4c78a4cc1add: Waiting 5346b07949d4: Waiting c1e97a7fcaa2: Waiting eba0c049c10d: Waiting db259fc589ef: Waiting cfdd18ad8560: Waiting 27b58d8f96da: Waiting 39b6a2fcd592: Waiting b3fce54ffd65: Waiting 09e77f436210: Waiting be04e0ba70d2: Waiting 9d0b8a80148b: Waiting 994393dc58e7: Waiting e08e5e988728: Layer already exists 2ed993e6f71a: Layer already exists 8f5ac4f077c9: Layer already exists 36afc7de0081: Layer already exists d80cb5345f09: Layer already exists c7f0cc224e17: Layer already exists f92ab5cd93f7: Layer already exists 4c78a4cc1add: Layer already exists 5346b07949d4: Layer already exists c1e97a7fcaa2: Layer already exists eba0c049c10d: Layer already exists db259fc589ef: Layer already exists 27b58d8f96da: Layer already exists 39b6a2fcd592: Layer already exists cfdd18ad8560: Layer already exists b3fce54ffd65: Layer already exists 09e77f436210: Layer already exists be04e0ba70d2: Layer already exists 9d0b8a80148b: Layer already exists 994393dc58e7: Layer already exists sshdind-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32: digest: sha256:6bf89fd0e23dab465581ae81bc948771a585c2d51a2f3aea4d236ab6b0904296 size: 4497 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 Error response from daemon: manifest for dockerpinata/docker-py:py3-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-7c1e4cc5e8ff1b8a55ad6b46e99ca3f225dace32 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.4MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} ---> b62e4294564c Step 3/24 : ARG APT_MIRROR ---> Using cache ---> 9a86b9e23624 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 ---> d98770a0d1d4 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Using cache ---> e5bb20804afd Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> Using cache ---> 455e9d32038f Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> Using cache ---> 067491e741ac Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Using cache ---> aa666b109c11 Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Using cache ---> 0f17eb7ced91 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> Using cache ---> 046cf2ed5bfa Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Using cache ---> ae6acb9dd1a4 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Using cache ---> 25e98bca4c23 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Using cache ---> fe1d9a917f5d Step 14/24 : RUN gpg2 --check-trustdb ---> Using cache ---> 3ac38ebc5e7a Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Using cache ---> 6bd81444a1fd 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 ---> a8c4ca8e72a0 Step 17/24 : WORKDIR /src ---> Using cache ---> 25ce4d524836 Step 18/24 : COPY requirements.txt /src/requirements.txt ---> Using cache ---> 7aae168aa23e 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