Pull request #3018 updated 19:51:27 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 3ee3a2486fe75ed858f8a3defe0fc79b2743d5df rather than f873681d2564be8b068cb84cee61c6a213ebb60f Obtained Jenkinsfile from 3ee3a2486fe75ed858f8a3defe0fc79b2743d5df 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-3018@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-0b615f48ff02952b5) in /home/ubuntu/workspace/docker-py_PR-3018 [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-3018@tmp/903744c5-1119-4ab4-9980-47531b79a58e/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:51:29 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 19:51:29 chowning workspace [Pipeline] sh 19:51:29 + pwd 19:51:29 + id -u 19:51:29 + id -g 19:51:29 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3018:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo 19:51:30 Removing all docker containers [Pipeline] sh 19:51:30 + docker container ls -aq [Pipeline] echo 19:51:30 Docker containers have been removed [Pipeline] echo 19:51:30 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 19:51:30 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 19:51:30 The recommended git tool is: git 19:51:30 using credential docker-jenkins-github-credentials 19:51:30 Cloning the remote Git repository 19:51:30 Cloning with configured refspecs honoured and without tags 19:51:31 Fetching without tags 19:51:31 Merging remotes/origin/main commit 3ee3a2486fe75ed858f8a3defe0fc79b2743d5df into PR head commit f873681d2564be8b068cb84cee61c6a213ebb60f Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-3018 # 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/3018/head:refs/remotes/origin/PR-3018 +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/3018/head:refs/remotes/origin/PR-3018 # 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/3018/head:refs/remotes/origin/PR-3018 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f873681d2564be8b068cb84cee61c6a213ebb60f # timeout=10 19:51:31 Merge succeeded, producing f873681d2564be8b068cb84cee61c6a213ebb60f 19:51:31 Checking out Revision f873681d2564be8b068cb84cee61c6a213ebb60f (PR-3018) 19:51:31 Commit message: "ci: add dry-run and explain tag syntax" [Pipeline] sh 19:51:31 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 3ee3a2486fe75ed858f8a3defe0fc79b2743d5df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f873681d2564be8b068cb84cee61c6a213ebb60f # timeout=10 > git rev-list --no-walk f873681d2564be8b068cb84cee61c6a213ebb60f # timeout=10 19:51:32 + docker pull dockerpinata/docker-py:sshdind-f873681d2564be8b068cb84cee61c6a213ebb60f 19:51:32 sshdind-f873681d2564be8b068cb84cee61c6a213ebb60f: Pulling from dockerpinata/docker-py 19:51:32 Digest: sha256:a02543bff773c4b1465f446b39be88bd5354107453c5cd50b8cdcb72ecc9474f 19:51:32 Status: Image is up to date for dockerpinata/docker-py:sshdind-f873681d2564be8b068cb84cee61c6a213ebb60f 19:51:32 docker.io/dockerpinata/docker-py:sshdind-f873681d2564be8b068cb84cee61c6a213ebb60f [Pipeline] isUnix [Pipeline] sh 19:51:32 + docker pull dockerpinata/docker-py:py3-f873681d2564be8b068cb84cee61c6a213ebb60f 19:51:32 Error response from daemon: manifest for dockerpinata/docker-py:py3-f873681d2564be8b068cb84cee61c6a213ebb60f not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 19:51:33 + docker build -t dockerpinata/docker-py:py3-f873681d2564be8b068cb84cee61c6a213ebb60f -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . 19:51:33 Sending build context to Docker daemon 1.389MB 19:51:33 Step 1/24 : ARG PYTHON_VERSION=3.10 19:51:33 Step 2/24 : FROM python:${PYTHON_VERSION} 19:51:33 ---> 3a49f9c9c80e 19:51:33 Step 3/24 : ARG APT_MIRROR 19:51:33 ---> Using cache 19:51:33 ---> 1371009e1f3d 19:51:33 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:51:33 ---> Using cache 19:51:33 ---> d952bd3beb94 19:51:33 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass 19:51:33 ---> Using cache 19:51:33 ---> cd64171a5a13 19:51:33 Step 6/24 : COPY tests/ssh/config/client /root/.ssh 19:51:33 ---> Using cache 19:51:33 ---> da3bbd4ca7d9 19:51:33 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts 19:51:33 ---> Using cache 19:51:33 ---> 6fe28f087c6f 19:51:33 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts 19:51:33 ---> Using cache 19:51:33 ---> 006aedc3b77a 19:51:33 Step 9/24 : RUN chmod -R 600 /root/.ssh 19:51:33 ---> Using cache 19:51:33 ---> ebd2948033c8 19:51:33 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys 19:51:33 ---> Using cache 19:51:33 ---> db06827f87c9 19:51:33 Step 11/24 : RUN gpg2 --import gpg-keys/secret 19:51:33 ---> Using cache 19:51:33 ---> 20e76960c1e3 19:51:33 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust 19:51:33 ---> Using cache 19:51:33 ---> 9b2593c025db 19:51:33 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') 19:51:33 ---> Using cache 19:51:33 ---> c15e25a52dea 19:51:33 Step 14/24 : RUN gpg2 --check-trustdb 19:51:33 ---> Using cache 19:51:33 ---> bf987506aaed 19:51:33 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 19:51:33 ---> Using cache 19:51:33 ---> bfb6063e4365 19:51:33 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:51:33 ---> Using cache 19:51:33 ---> d8b1834d1d4c 19:51:33 Step 17/24 : WORKDIR /src 19:51:33 ---> Using cache 19:51:33 ---> a843cb812bab 19:51:33 Step 18/24 : COPY requirements.txt /src/requirements.txt 19:51:33 ---> Using cache 19:51:33 ---> 808279bfde01 19:51:33 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 19:51:33 the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled $ 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-3018@tmp/49046ee0-bd40-412a-af4d-5e529ba823db/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] // 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