Skip to content
Failed

Console Output

Pull request #3010 updated
15:42:59 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 0ee9f260e48992d04d72c7bb8e4819f6b6a64717 rather than 1bf7c5d6092f120b0e500916052212348e7dbef1
Obtained Jenkinsfile from 0ee9f260e48992d04d72c7bb8e4819f6b6a64717
‘Jenkinsfile’ has been modified in an untrusted revision
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-3010@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-0d3a6f8ee7deb953c) in /home/ubuntu/workspace/docker-py_PR-3010
[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-3010@tmp/8a219dd4-a790-4efc-811f-b2d9d41679c9/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
15:43:02 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
15:43:02 chowning workspace
[Pipeline] sh
15:43:02 + pwd
15:43:02 + id -u
15:43:02 + id -g
15:43:02 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3010:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
15:43:02 Removing all docker containers
[Pipeline] sh
15:43:03 + docker container ls -aq
15:43:03 + docker container rm -vf 017b1887e774
15:43:03 017b1887e774
[Pipeline] echo
15:43:03 Docker containers have been removed
[Pipeline] echo
15:43:03 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
15:43:03 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
15:43:03 The recommended git tool is: git
15:43:03 using credential docker-jenkins-github-credentials
15:43:03 Cloning the remote Git repository
15:43:03 Cloning with configured refspecs honoured and without tags
15:43:04 Fetching without tags
Cloning repository https://github.com/docker/docker-py.git
 > git init /home/ubuntu/workspace/docker-py_PR-3010 # 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/3010/head:refs/remotes/origin/PR-3010 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/3010/head:refs/remotes/origin/PR-3010 # 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/3010/head:refs/remotes/origin/PR-3010 +refs/heads/master:refs/remotes/origin/master # timeout=10
15:43:04 Merging remotes/origin/master commit 0ee9f260e48992d04d72c7bb8e4819f6b6a64717 into PR head commit 1bf7c5d6092f120b0e500916052212348e7dbef1
15:43:04 Merge succeeded, producing 1bf7c5d6092f120b0e500916052212348e7dbef1
15:43:04 Checking out Revision 1bf7c5d6092f120b0e500916052212348e7dbef1 (PR-3010)
15:43:04 Commit message: "build: fix variable name in Makefile"
[Pipeline] sh
15:43:04 + git rev-parse HEAD
[Pipeline] withDockerRegistry
[Pipeline] {
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1bf7c5d6092f120b0e500916052212348e7dbef1 # 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 0ee9f260e48992d04d72c7bb8e4819f6b6a64717 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1bf7c5d6092f120b0e500916052212348e7dbef1 # timeout=10
 > git rev-list --no-walk fdf20a48cdae1d85246d8c97106a990850c25403 # timeout=10
[Pipeline] isUnix
[Pipeline] sh
15:43:05 + docker pull dockerpinata/docker-py:sshdind-1bf7c5d6092f120b0e500916052212348e7dbef1
$ 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-3010@tmp/3bde8612-1a88-48f7-a7e9-0d14baec8221/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
15:43:06 Error response from daemon: manifest for dockerpinata/docker-py:sshdind-1bf7c5d6092f120b0e500916052212348e7dbef1 not found: manifest unknown: manifest unknown
[Pipeline] isUnix
[Pipeline] sh
15:43:06 + docker build -t dockerpinata/docker-py:sshdind-1bf7c5d6092f120b0e500916052212348e7dbef1 -f tests/Dockerfile-ssh-dind .
15:43:06 Sending build context to Docker daemon  1.376MB

15:43:06 Step 1/11 : ARG API_VERSION=1.41
15:43:06 Step 2/11 : ARG ENGINE_VERSION=20.10.17
15:43:06 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind
15:43:06  ---> e9bf5bfbaf86
15:43:06 Step 4/11 : RUN apk add --no-cache 		openssh
15:43:06  ---> Running in d032bf76dc08
15:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
15:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
15:43:08 ERROR: unable to select packages:
15:43:08   openssh-client-common-9.0_p1-r1:
15:43:08     breaks: openssh-client-default-9.0_p1-r2[openssh-client-common=9.0_p1-r2]
15:43:08 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