Pull request #3024 updated 12:56:44 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch main at 58aa62bb154a2ccea433cf475aefbd695fb5abc8 rather than e8280ca0d2637301a6aadc6813d441456e1f884a Obtained Jenkinsfile from 58aa62bb154a2ccea433cf475aefbd695fb5abc8 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-3024@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 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-0bd6bd821a17d9969)’ Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0bd6bd821a17d9969) in /home/ubuntu/workspace/docker-py_PR-3024 [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-3024@tmp/458b3bad-6599-430d-87a9-d319997d9f94/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 12:57:48 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 12:57:48 chowning workspace [Pipeline] sh 12:57:48 + pwd 12:57:48 + id -u 12:57:48 + id -g 12:57:48 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3024:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo 12:57:49 Removing all docker containers [Pipeline] sh 12:57:49 + docker container ls -aq [Pipeline] echo 12:57:49 Docker containers have been removed [Pipeline] echo 12:57:49 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 12:57:49 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 12:57:49 The recommended git tool is: git 12:57:49 using credential docker-jenkins-github-credentials 12:57:49 Cloning the remote Git repository 12:57:49 Cloning with configured refspecs honoured and without tags 12:57:50 Fetching without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-3024 # 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/3024/head:refs/remotes/origin/PR-3024 +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/3024/head:refs/remotes/origin/PR-3024 # 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/3024/head:refs/remotes/origin/PR-3024 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:57:51 Merging remotes/origin/main commit 58aa62bb154a2ccea433cf475aefbd695fb5abc8 into PR head commit e8280ca0d2637301a6aadc6813d441456e1f884a 12:57:51 Merge succeeded, producing e8280ca0d2637301a6aadc6813d441456e1f884a 12:57:51 Checking out Revision e8280ca0d2637301a6aadc6813d441456e1f884a (PR-3024) 12:57:51 Commit message: "test: add additional tests for cgroupns option" 12:57:51 First time build. Skipping changelog. [Pipeline] sh 12:57:51 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e8280ca0d2637301a6aadc6813d441456e1f884a # 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 58aa62bb154a2ccea433cf475aefbd695fb5abc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8280ca0d2637301a6aadc6813d441456e1f884a # timeout=10 > git rev-list --no-walk cba358ae5eddfb932d5d7c93772dbf703aa5b502 # timeout=10 12:57:52 + docker pull dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a 12:57:52 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 12:57:52 + docker build -t dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a -f tests/Dockerfile-ssh-dind . 12:57:52 Sending build context to Docker daemon 1.397MB 12:57:52 Step 1/10 : ARG API_VERSION=1.41 12:57:52 Step 2/10 : ARG ENGINE_VERSION=20.10 12:57:52 Step 3/10 : FROM docker:${ENGINE_VERSION}-dind 12:57:52 ---> e1a3d5b85ecd 12:57:52 Step 4/10 : RUN apk add --no-cache --upgrade openssh 12:57:52 ---> Using cache 12:57:52 ---> f1dd80402cb5 12:57:52 Step 5/10 : COPY tests/ssh/config/server /etc/ssh/ 12:57:52 ---> Using cache 12:57:52 ---> 874ab0999b51 12:57:52 Step 6/10 : RUN chmod -R 600 /etc/ssh 12:57:52 ---> Using cache 12:57:52 ---> a7a9a7f92436 12:57:52 Step 7/10 : COPY tests/ssh/config/client/id_rsa.pub /root/.ssh/authorized_keys 12:57:52 ---> Using cache 12:57:52 ---> 040ddaf87f24 12:57:52 Step 8/10 : RUN chmod -R 600 /root/.ssh 12:57:52 ---> Using cache 12:57:52 ---> 90fc1936989f 12:57:52 Step 9/10 : RUN ln -s /usr/local/bin/docker /usr/bin/docker 12:57:52 ---> Using cache 12:57:52 ---> d7e61cd93489 12:57:52 Step 10/10 : EXPOSE 22 12:57:52 ---> Using cache 12:57:52 ---> 7b3b161698f2 12:57:52 Successfully built 7b3b161698f2 12:57:52 Successfully tagged dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a [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-3024@tmp/9dc6b28d-269b-4303-988c-e5378883dd33/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 12:57:52 + docker tag dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a [Pipeline] isUnix [Pipeline] sh 12:57:53 + docker push dockerpinata/docker-py:sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a 12:57:53 The push refers to repository [docker.io/dockerpinata/docker-py] 12:57:53 388701f498d2: Preparing 12:57:53 1ca133989811: Preparing 12:57:53 602c5981102d: Preparing 12:57:53 2a1aafa6c54b: Preparing 12:57:53 f196b361ad45: Preparing 12:57:53 7e6fc3a7bd44: Preparing 12:57:53 c7f0cc224e17: Preparing 12:57:53 4c78a4cc1add: Preparing 12:57:53 5346b07949d4: Preparing 12:57:53 c1e97a7fcaa2: Preparing 12:57:53 eba0c049c10d: Preparing 12:57:53 db259fc589ef: Preparing 12:57:53 cfdd18ad8560: Preparing 12:57:53 27b58d8f96da: Preparing 12:57:53 39b6a2fcd592: Preparing 12:57:53 b3fce54ffd65: Preparing 12:57:53 09e77f436210: Preparing 12:57:53 be04e0ba70d2: Preparing 12:57:53 9d0b8a80148b: Preparing 12:57:53 994393dc58e7: Preparing 12:57:53 7e6fc3a7bd44: Waiting 12:57:53 c7f0cc224e17: Waiting 12:57:53 39b6a2fcd592: Waiting 12:57:53 4c78a4cc1add: Waiting 12:57:53 5346b07949d4: Waiting 12:57:53 b3fce54ffd65: Waiting 12:57:53 09e77f436210: Waiting 12:57:53 c1e97a7fcaa2: Waiting 12:57:53 eba0c049c10d: Waiting 12:57:53 be04e0ba70d2: Waiting 12:57:53 db259fc589ef: Waiting 12:57:53 cfdd18ad8560: Waiting 12:57:53 9d0b8a80148b: Waiting 12:57:53 27b58d8f96da: Waiting 12:57:53 994393dc58e7: Waiting 12:57:53 602c5981102d: Layer already exists 12:57:53 2a1aafa6c54b: Layer already exists 12:57:53 f196b361ad45: Layer already exists 12:57:53 1ca133989811: Layer already exists 12:57:53 388701f498d2: Layer already exists 12:57:53 7e6fc3a7bd44: Layer already exists 12:57:53 5346b07949d4: Layer already exists 12:57:53 c7f0cc224e17: Layer already exists 12:57:53 eba0c049c10d: Layer already exists 12:57:53 4c78a4cc1add: Layer already exists 12:57:53 c1e97a7fcaa2: Layer already exists 12:57:53 db259fc589ef: Layer already exists 12:57:53 39b6a2fcd592: Layer already exists 12:57:53 b3fce54ffd65: Layer already exists 12:57:53 27b58d8f96da: Layer already exists 12:57:53 cfdd18ad8560: Layer already exists 12:57:53 09e77f436210: Layer already exists 12:57:53 be04e0ba70d2: Layer already exists 12:57:53 9d0b8a80148b: Layer already exists 12:57:53 994393dc58e7: Layer already exists 12:57:53 sshdind-e8280ca0d2637301a6aadc6813d441456e1f884a: digest: sha256:ebecc4ef317fda80d4c461540437de0d70a838f1e5c86cdc6dd4e75f665281ce size: 4497 [Pipeline] isUnix [Pipeline] sh 12:57:53 + docker pull dockerpinata/docker-py:py3-e8280ca0d2637301a6aadc6813d441456e1f884a 12:57:53 Error response from daemon: manifest for dockerpinata/docker-py:py3-e8280ca0d2637301a6aadc6813d441456e1f884a not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 12:57:53 + docker build -t dockerpinata/docker-py:py3-e8280ca0d2637301a6aadc6813d441456e1f884a -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 . 12:57:53 Sending build context to Docker daemon 1.397MB 12:57:53 Step 1/24 : ARG PYTHON_VERSION=3.10 12:57:53 Step 2/24 : FROM python:${PYTHON_VERSION} 12:57:53 ---> b62e4294564c 12:57:53 Step 3/24 : ARG APT_MIRROR 12:57:53 ---> Using cache 12:57:53 ---> 3228cf80663e 12:57:53 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 12:57:53 ---> Using cache 12:57:53 ---> e23d99ef261b 12:57:53 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass 12:57:53 ---> Using cache 12:57:53 ---> ab75030d6c30 12:57:53 Step 6/24 : COPY tests/ssh/config/client /root/.ssh 12:57:53 ---> Using cache 12:57:53 ---> efd94d8e7f5d 12:57:53 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts 12:57:53 ---> Using cache 12:57:53 ---> 69ab563457cf 12:57:53 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts 12:57:53 ---> Using cache 12:57:53 ---> 6f8e81f0b4c3 12:57:53 Step 9/24 : RUN chmod -R 600 /root/.ssh 12:57:53 ---> Using cache 12:57:53 ---> c8f317d0c092 12:57:53 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys 12:57:53 ---> Using cache 12:57:53 ---> f581cc8c6ecc 12:57:53 Step 11/24 : RUN gpg2 --import gpg-keys/secret 12:57:53 ---> Using cache 12:57:53 ---> ae3b785978b9 12:57:53 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust 12:57:53 ---> Using cache 12:57:53 ---> cf4384a8e5fd 12:57:53 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}') 12:57:53 ---> Using cache 12:57:53 ---> b2b5a4d6c7b4 12:57:53 Step 14/24 : RUN gpg2 --check-trustdb 12:57:53 ---> Using cache 12:57:53 ---> c94fa5154f25 12:57:53 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3 12:57:53 ---> Using cache 12:57:53 ---> 1a9d5fc90ae8 12:57:53 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 12:57:53 ---> Using cache 12:57:53 ---> ee6133ec69c4 12:57:53 Step 17/24 : WORKDIR /src 12:57:53 ---> Using cache 12:57:53 ---> 948836dde98e 12:57:53 Step 18/24 : COPY requirements.txt /src/requirements.txt 12:57:53 ---> Using cache 12:57:53 ---> 83eaaca40b61 12:57:53 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 12:57:53 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