Pull request #3014 opened 20:22:13 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at ea4cefe4fd1e85ef94f477b8e969994117fcb076 rather than e93f8f711fe4df99f5f78af596320f8437efa02b Obtained Jenkinsfile from ea4cefe4fd1e85ef94f477b8e969994117fcb076 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/docker-py_PR-3014@libs/jps # timeout=10 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 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch 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" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.20.1' 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 All nodes of label ‘amd64&&ubuntu-2004&&overlay2’ are offline Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-081bf66966d7b6866) in /home/ubuntu/workspace/docker-py_PR-3014 [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-3014@tmp/258853d5-271c-4929-b83a-a571f466442b/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 20:23:11 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 20:23:11 chowning workspace [Pipeline] sh 20:23:11 + pwd 20:23:11 + id -u 20:23:11 + id -g 20:23:11 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3014:/workspace busybox chown -R 1000:1000 /workspace 20:23:11 Unable to find image 'busybox:latest' locally 20:23:12 latest: Pulling from library/busybox 20:23:12 19d511225f94: Pulling fs layer 20:23:12 19d511225f94: Download complete 20:23:12 19d511225f94: Pull complete 20:23:12 Digest: sha256:e63286d6bf23acce079c38cd9f63ec19dd1ad4da0e3e942e39f2a08050b50534 20:23:12 Status: Downloaded newer image for busybox:latest [Pipeline] echo 20:23:14 Removing all docker containers [Pipeline] sh 20:23:14 + docker container ls -aq [Pipeline] echo 20:23:14 Docker containers have been removed [Pipeline] echo 20:23:14 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 20:23:15 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 20:23:15 The recommended git tool is: git 20:23:17 using credential docker-jenkins-github-credentials 20:23:17 Cloning the remote Git repository 20:23:17 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-3014 # 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/3014/head:refs/remotes/origin/PR-3014 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:23:19 Fetching without tags 20:23:19 Merging remotes/origin/master commit ea4cefe4fd1e85ef94f477b8e969994117fcb076 into PR head commit e93f8f711fe4df99f5f78af596320f8437efa02b 20:23:19 Merge succeeded, producing e93f8f711fe4df99f5f78af596320f8437efa02b 20:23:19 Checking out Revision e93f8f711fe4df99f5f78af596320f8437efa02b (PR-3014) > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3014/head:refs/remotes/origin/PR-3014 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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/3014/head:refs/remotes/origin/PR-3014 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e93f8f711fe4df99f5f78af596320f8437efa02b # 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 ea4cefe4fd1e85ef94f477b8e969994117fcb076 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e93f8f711fe4df99f5f78af596320f8437efa02b # timeout=10 20:23:23 Commit message: "deps: upgrade & remove unnecessary dependencies" 20:23:23 First time build. Skipping changelog. [Pipeline] sh 20:23:24 + git rev-parse HEAD [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 20:23:24 + docker pull dockerpinata/docker-py:sshdind-e93f8f711fe4df99f5f78af596320f8437efa02b 20:23:24 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-e93f8f711fe4df99f5f78af596320f8437efa02b not found: manifest unknown: manifest unknown [Pipeline] isUnix [Pipeline] sh 20:23:24 + docker build -t dockerpinata/docker-py:sshdind-e93f8f711fe4df99f5f78af596320f8437efa02b -f tests/Dockerfile-ssh-dind . 20:23:24 Sending build context to Docker daemon 1.374MB 20:23:24 Step 1/11 : ARG API_VERSION=1.41 20:23:24 Step 2/11 : ARG ENGINE_VERSION=20.10.17 20:23:24 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind $ 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-3014@tmp/95692b4c-d7a3-49b8-8086-77734ba89e6f/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded 20:23:25 20.10.17-dind: Pulling from library/docker 20:23:25 530afca65e2e: Pulling fs layer 20:23:25 33702c1843d1: Pulling fs layer 20:23:25 d1c203384d5b: Pulling fs layer 20:23:25 146feb07c331: Pulling fs layer 20:23:25 cee6b871713b: Pulling fs layer 20:23:25 db8946a7c6c2: Pulling fs layer 20:23:25 649b2db28c49: Pulling fs layer 20:23:25 e7b044ff4e6b: Pulling fs layer 20:23:25 dbd7811a8fce: Pulling fs layer 20:23:25 7b9a2b83f06a: Pulling fs layer 20:23:25 4052cf0d7af0: Pulling fs layer 20:23:25 668035bf1efe: Pulling fs layer 20:23:25 afd9bc40a60c: Pulling fs layer 20:23:25 e7b044ff4e6b: Waiting 20:23:25 dbd7811a8fce: Waiting 20:23:25 7b9a2b83f06a: Waiting 20:23:25 4052cf0d7af0: Waiting 20:23:25 668035bf1efe: Waiting 20:23:25 afd9bc40a60c: Waiting 20:23:25 146feb07c331: Waiting 20:23:25 cee6b871713b: Waiting 20:23:25 db8946a7c6c2: Waiting 20:23:25 649b2db28c49: Waiting 20:23:25 d1c203384d5b: Verifying Checksum 20:23:25 d1c203384d5b: Download complete 20:23:25 530afca65e2e: Verifying Checksum 20:23:25 33702c1843d1: Verifying Checksum 20:23:25 33702c1843d1: Download complete 20:23:25 530afca65e2e: Download complete 20:23:25 db8946a7c6c2: Verifying Checksum 20:23:25 db8946a7c6c2: Download complete 20:23:25 cee6b871713b: Verifying Checksum 20:23:25 cee6b871713b: Download complete 20:23:25 649b2db28c49: Verifying Checksum 20:23:25 649b2db28c49: Download complete 20:23:25 e7b044ff4e6b: Verifying Checksum 20:23:25 e7b044ff4e6b: Download complete 20:23:25 dbd7811a8fce: Verifying Checksum 20:23:25 dbd7811a8fce: Download complete 20:23:25 530afca65e2e: Pull complete 20:23:25 4052cf0d7af0: Verifying Checksum 20:23:25 4052cf0d7af0: Download complete 20:23:25 7b9a2b83f06a: Verifying Checksum 20:23:25 7b9a2b83f06a: Download complete 20:23:25 668035bf1efe: Verifying Checksum 20:23:25 668035bf1efe: Download complete 20:23:25 afd9bc40a60c: Verifying Checksum 20:23:25 afd9bc40a60c: Download complete 20:23:26 33702c1843d1: Pull complete 20:23:26 d1c203384d5b: Pull complete 20:23:26 146feb07c331: Verifying Checksum 20:23:26 146feb07c331: Download complete 20:23:28 146feb07c331: Pull complete 20:23:28 cee6b871713b: Pull complete 20:23:29 db8946a7c6c2: Pull complete 20:23:29 649b2db28c49: Pull complete 20:23:29 e7b044ff4e6b: Pull complete 20:23:29 dbd7811a8fce: Pull complete 20:23:29 7b9a2b83f06a: Pull complete 20:23:30 4052cf0d7af0: Pull complete 20:23:30 668035bf1efe: Pull complete 20:23:30 afd9bc40a60c: Pull complete 20:23:30 Digest: sha256:c10de736621bc2d4a3a44297346640b62309db58f46822b87679d9419a6b321c 20:23:30 Status: Downloaded newer image for docker:20.10.17-dind 20:23:30 ---> e9bf5bfbaf86 20:23:30 Step 4/11 : RUN apk add --no-cache openssh 20:23:33 ---> Running in ac0da1970130 20:23:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:23:35 ERROR: unable to select packages: 20:23:35  openssh-client-common-9.0_p1-r1: 20:23:35 breaks: openssh-client-default-9.0_p1-r2[openssh-client-common=9.0_p1-r2] 20:23:35 The command '/bin/sh -c apk add --no-cache openssh' returned a non-zero code: 2 [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 2 Finished: FAILURE