Skip to content
Failed

Console Output

Pull request #2680 updated
09:54:16 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 54e48251eefc3c9ecdf238445c21f3e9dcd5041d+9d8cd023e88f22e701365ae4d3dccc16537f4851 (8f49ee295a624a855a322b21bdd124ded1e50595)
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
using credential jps-reader
 > git rev-parse --is-inside-work-tree # 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-1804-overlay2 (i-05b00ba86016a7bfa) in /home/ubuntu/workspace/docker-py_PR-2680
[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-2680@tmp/3facbc0e-eeb4-4791-917f-32c3229a8676/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
09:54:18 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
09:54:18 chowning workspace
[Pipeline] sh
09:54:19 + pwd
09:54:19 + id -u
09:54:19 + id -g
09:54:19 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2680:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
09:54:19 Removing all docker containers
[Pipeline] sh
09:54:20 + docker container ls -aq
[Pipeline] echo
09:54:20 Docker containers have been removed
[Pipeline] echo
09:54:20 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
09:54:20 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
09:54:20 using credential docker-jenkins-github-credentials
09:54:20 Cloning the remote Git repository
09:54:20 Cloning with configured refspecs honoured and without tags
09:54:21 Fetching without tags
Cloning repository https://github.com/docker/docker-py.git
 > git init /home/ubuntu/workspace/docker-py_PR-2680 # timeout=10
Fetching upstream changes from https://github.com/docker/docker-py.git
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2680/head:refs/remotes/origin/PR-2680 +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/2680/head:refs/remotes/origin/PR-2680 # 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 --progress -- https://github.com/docker/docker-py.git +refs/pull/2680/head:refs/remotes/origin/PR-2680 +refs/heads/master:refs/remotes/origin/master # timeout=10
09:54:21 Merging remotes/origin/master commit 9d8cd023e88f22e701365ae4d3dccc16537f4851 into PR head commit 54e48251eefc3c9ecdf238445c21f3e9dcd5041d
09:54:21 Merge succeeded, producing 54e48251eefc3c9ecdf238445c21f3e9dcd5041d
09:54:21 Checking out Revision 54e48251eefc3c9ecdf238445c21f3e9dcd5041d (PR-2680)
09:54:21 Commit message: "update Dockerfiles"
[Pipeline] sh
09:54:22 + git rev-parse HEAD
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 54e48251eefc3c9ecdf238445c21f3e9dcd5041d # 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 9d8cd023e88f22e701365ae4d3dccc16537f4851 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 54e48251eefc3c9ecdf238445c21f3e9dcd5041d # timeout=10
 > git rev-list --no-walk 491e753ea57202da720766abad5c8e4a9baf37dd # timeout=10
[Pipeline] isUnix
[Pipeline] sh
09:54:22 + docker pull sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d
09:54:22 Error response from daemon: pull access denied for sshdind, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
[Pipeline] isUnix
[Pipeline] sh
09:54:22 + docker build -t sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d -f tests/Dockerfile-ssh-dind .
09:54:22 Sending build context to Docker daemon  1.359MB

09:54:22 Step 1/12 : ARG API_VERSION=1.39
09:54:22 Step 2/12 : ARG ENGINE_VERSION=19.03.12
09:54:22 Step 3/12 : FROM docker:${ENGINE_VERSION}-dind
09:54:22  ---> 66dc2d45749a
09:54:22 Step 4/12 : RUN apk add --no-cache 		openssh
09:54:22  ---> Using cache
09:54:22  ---> 2250424ec82e
09:54:22 Step 5/12 : RUN ssh-keygen -A
09:54:22  ---> Using cache
09:54:22  ---> f02a257292c1
09:54:22 Step 6/12 : RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
09:54:22  ---> Using cache
09:54:22  ---> 3c57b9bb3504
09:54:22 Step 7/12 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys
09:54:22  ---> Using cache
09:54:22  ---> 74ab9eef6035
09:54:22 Step 8/12 : RUN chmod 600 /root/.ssh/authorized_keys
09:54:22  ---> Using cache
09:54:22  ---> 344286984bff
09:54:22 Step 9/12 : RUN echo "IgnoreUserKnownHosts yes" >> /etc/ssh/sshd_config &&   echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config &&   echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
09:54:22  ---> Using cache
09:54:22  ---> 1c32f214b651
09:54:22 Step 10/12 : RUN echo "root:root" | chpasswd
09:54:22  ---> Using cache
09:54:22  ---> 0a35fe7a822f
09:54:22 Step 11/12 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
09:54:22  ---> Using cache
09:54:22  ---> 606029e919db
09:54:22 Step 12/12 : EXPOSE 22
09:54:22  ---> Using cache
09:54:22  ---> 81d88a2e6b16
09:54:22 Successfully built 81d88a2e6b16
09:54:22 Successfully tagged sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d
[Pipeline] isUnix
[Pipeline] sh
09:54:23 + docker tag sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d
[Pipeline] isUnix
[Pipeline] sh
09:54:23 + docker push sshdind:54e48251eefc3c9ecdf238445c21f3e9dcd5041d
09:54:23 The push refers to repository [docker.io/library/sshdind]
09:54:23 ba94c19821d9: Preparing
09:54:23 e44ef33be62d: Preparing
09:54:23 758fe0f71f9f: Preparing
09:54:23 b3104c5aaf36: Preparing
09:54:23 7a262953f49f: Preparing
09:54:23 1af73a5a9dff: Preparing
09:54:23 c465a3d09594: Preparing
09:54:23 1f2b7e8a08b5: Preparing
09:54:23 1149e736aa92: Preparing
09:54:23 39e79983ac8b: Preparing
09:54:23 da8c28465f82: Preparing
09:54:23 d1292e236c36: Preparing
09:54:23 8890c171a12b: Preparing
09:54:23 4ae5bd84d450: Preparing
09:54:23 723a561964c8: Preparing
09:54:23 78764725b56c: Preparing
09:54:23 51d6d3d09136: Preparing
09:54:23 1507bc794612: Preparing
09:54:23 50644c29ef5a: Preparing
09:54:23 1af73a5a9dff: Waiting
09:54:23 c465a3d09594: Waiting
09:54:23 1f2b7e8a08b5: Waiting
09:54:23 1149e736aa92: Waiting
09:54:23 39e79983ac8b: Waiting
09:54:23 da8c28465f82: Waiting
09:54:23 d1292e236c36: Waiting
09:54:23 8890c171a12b: Waiting
09:54:23 4ae5bd84d450: Waiting
09:54:23 723a561964c8: Waiting
09:54:23 78764725b56c: Waiting
09:54:23 51d6d3d09136: Waiting
09:54:23 1507bc794612: Waiting
09:54:23 50644c29ef5a: Waiting
09:54:23 denied: requested access to the resource is denied
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE