Pull request #3028 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 3f0095a7c1966c521652314e524ff362c24ff58c rather than c5c94399d898cb4c52ed077f2684fec7a3a6eae8 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_PR-3028@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 Still waiting to schedule task Waiting for next available executor on ‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e6c074e2802bb0a6)’ Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0e6c074e2802bb0a6) in /home/ubuntu/workspace/docker-py_PR-3028 [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-3028@tmp/9deac86d-e03b-4952-924c-7cc3eb153a5b/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-3028:/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 Fetching without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-3028 # 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/3028/head:refs/remotes/origin/PR-3028 +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/3028/head:refs/remotes/origin/PR-3028 # 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/3028/head:refs/remotes/origin/PR-3028 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3f0095a7c1966c521652314e524ff362c24ff58c into PR head commit c5c94399d898cb4c52ed077f2684fec7a3a6eae8 Merge succeeded, producing fb48546087323aebe043aac100d7b1ca653720ad Checking out Revision fb48546087323aebe043aac100d7b1ca653720ad (PR-3028) Commit message: "Merge commit '3f0095a7c1966c521652314e524ff362c24ff58c' into HEAD" First time build. Skipping changelog. [Pipeline] sh + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c5c94399d898cb4c52ed077f2684fec7a3a6eae8 # 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 3f0095a7c1966c521652314e524ff362c24ff58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb48546087323aebe043aac100d7b1ca653720ad # timeout=10 > git rev-list --no-walk 7ea5965dfd9fa7cf1783a5a440b6a2a70694869c # timeout=10 + docker pull dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad Error response from daemon: manifest for dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.39MB Step 1/10 : ARG API_VERSION=1.41 Step 2/10 : ARG ENGINE_VERSION=20.10 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind ---> e9bf5bfbaf86 Step 4/10 : RUN apk add --no-cache --upgrade openssh ---> Using cache ---> 4e9873ecd990 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ ---> Using cache ---> 8cba7aa2b9a0 Step 6/10 : RUN chmod -R 600 /etc/ssh ---> Using cache ---> 63ea167f5909 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys ---> Using cache ---> a6b80abe2a4c Step 8/10 : RUN chmod -R 600 /root/.ssh ---> Using cache ---> b2c42bbe1224 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Using cache ---> 00196edbe5b4 Step 10/10 : EXPOSE 22 ---> Using cache ---> 3fab73466306 Successfully built 3fab73466306 Successfully tagged dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad [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-3028@tmp/f05766cb-d170-4c1e-b9b1-7cfdd1252e7f/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-fb48546087323aebe043aac100d7b1ca653720ad dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad [Pipeline] isUnix [Pipeline] sh + docker push dockerpinata/docker-py:sshdind-fb48546087323aebe043aac100d7b1ca653720ad The push refers to repository [docker.io/dockerpinata/docker-py] 1b71e312c899: Preparing 529590a6212d: Preparing ab991d531cfe: Preparing 97ae39b952e9: Preparing 5a2b52aa0b8b: Preparing d6cef2958d7d: Preparing a43431794a89: Preparing 905d1299d01e: Preparing c156177f74c0: Preparing 1b578e158ee9: Preparing af3e892b5a9b: Preparing fc014216c6f3: Preparing 2f04d3cc49cc: Preparing 419b027a05d7: Preparing 8548a15693ed: Preparing c9502204551a: Preparing de1672f7cb48: Preparing 675d1f534433: Preparing ec34fcc1d526: Preparing d6cef2958d7d: Waiting a43431794a89: Waiting 905d1299d01e: Waiting c156177f74c0: Waiting 1b578e158ee9: Waiting af3e892b5a9b: Waiting fc014216c6f3: Waiting 2f04d3cc49cc: Waiting 419b027a05d7: Waiting 8548a15693ed: Waiting c9502204551a: Waiting de1672f7cb48: Waiting 675d1f534433: Waiting ec34fcc1d526: Waiting 529590a6212d: Layer already exists 1b71e312c899: Layer already exists 97ae39b952e9: Layer already exists 5a2b52aa0b8b: Layer already exists ab991d531cfe: Layer already exists d6cef2958d7d: Layer already exists a43431794a89: Layer already exists 905d1299d01e: Layer already exists c156177f74c0: Layer already exists af3e892b5a9b: Layer already exists 1b578e158ee9: Layer already exists 2f04d3cc49cc: Layer already exists fc014216c6f3: Layer already exists 419b027a05d7: Layer already exists de1672f7cb48: Layer already exists c9502204551a: Layer already exists 8548a15693ed: Layer already exists 675d1f534433: Layer already exists ec34fcc1d526: Layer already exists sshdind-fb48546087323aebe043aac100d7b1ca653720ad: digest: sha256:0a6e17c7c41bf86dbabe663aac2495a994e77d471b90cfae31d7d3f24a20beb5 size: 4286 [Pipeline] isUnix [Pipeline] sh + docker pull dockerpinata/docker-py:py3-fb48546087323aebe043aac100d7b1ca653720ad Error response from daemon: manifest for dockerpinata/docker-py:py3-fb48546087323aebe043aac100d7b1ca653720ad not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh + docker build -t dockerpinata/docker-py:py3-fb48546087323aebe043aac100d7b1ca653720ad -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . Sending build context to Docker daemon 1.39MB Step 1/24 : ARG PYTHON_VERSION=3.10 Step 2/24 : FROM python:${PYTHON_VERSION} ---> 3a49f9c9c80e Step 3/24 : ARG APT_MIRROR ---> Using cache ---> 3452d67839f5 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 ---> 1185ddabf43b Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass ---> Using cache ---> db1e090a54d8 Step 6/24 : COPY tests/ssh/config/client /root/.ssh ---> Using cache ---> 6cb34c209c34 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts ---> Using cache ---> 8bc15e0e8f49 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts ---> Using cache ---> d03addd70fb7 Step 9/24 : RUN chmod -R 600 /root/.ssh ---> Using cache ---> 006264bc18b0 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys ---> Using cache ---> 3c10901f966f Step 11/24 : RUN gpg2 --import gpg-keys/secret ---> Using cache ---> aca35f25ba7d Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust ---> Using cache ---> c003ff976055 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') ---> Using cache ---> a77f589a476d Step 14/24 : RUN gpg2 --check-trustdb ---> Using cache ---> 79e559016fd3 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 ---> Using cache ---> 5b85d2ec23eb 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 ---> 00c55e29d00c Step 17/24 : WORKDIR /src ---> Using cache ---> 81c700ece51c Step 18/24 : COPY requirements.txt /src/requirements.txt ---> Using cache ---> b837bea0d50d 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