Skip to content
Failed

Console Output

Pull request #2680 updated
09:47:52 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 491e753ea57202da720766abad5c8e4a9baf37dd+9d8cd023e88f22e701365ae4d3dccc16537f4851 (9e8ca1cd90ea6b11ef04721487ff7f109d18a3f7)
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/04174e09-7193-41bc-bd6c-b1ece855ec23/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:47:55 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
09:47:55 chowning workspace
[Pipeline] sh
09:47:55 + pwd
09:47:55 + id -u
09:47:55 + id -g
09:47:55 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2680:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
09:47:55 Removing all docker containers
[Pipeline] sh
09:47:56 + docker container ls -aq
[Pipeline] echo
09:47:56 Docker containers have been removed
[Pipeline] echo
09:47:56 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
09:47:56 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
09:47:56 using credential docker-jenkins-github-credentials
09:47:56 Cloning the remote Git repository
09:47:56 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-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
09:47:57 Fetching without tags
09:47:57 Merging remotes/origin/master commit 9d8cd023e88f22e701365ae4d3dccc16537f4851 into PR head commit 491e753ea57202da720766abad5c8e4a9baf37dd
 > 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
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 491e753ea57202da720766abad5c8e4a9baf37dd # timeout=10
09:47:57 Merge succeeded, producing 491e753ea57202da720766abad5c8e4a9baf37dd
09:47:57 Checking out Revision 491e753ea57202da720766abad5c8e4a9baf37dd (PR-2680)
09:47:57 Commit message: "update image name for ssh dind"
09:47:57 First time build. Skipping changelog.
[Pipeline] sh
09:47:58 + git rev-parse HEAD
 > 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 491e753ea57202da720766abad5c8e4a9baf37dd # timeout=10
 > git rev-list --no-walk ae31e7451fd5b52b4ead05064d0dd83cc251dbf7 # timeout=10
[Pipeline] isUnix
[Pipeline] sh
09:47:58 + docker pull sshdind:491e753ea57202da720766abad5c8e4a9baf37dd
09:47:58 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:47:59 + docker build -t sshdind:491e753ea57202da720766abad5c8e4a9baf37dd -f tests/Dockerfile-ssh-dind .
09:47:59 Sending build context to Docker daemon   1.36MB

09:47:59 Step 1/12 : ARG API_VERSION=1.39
09:47:59 Step 2/12 : ARG ENGINE_VERSION=19.03.12
09:47:59 Step 3/12 : FROM docker:${ENGINE_VERSION}-dind
09:47:59 19.03.12-dind: Pulling from library/docker
09:47:59 df20fa9351a1: Already exists
09:47:59 25ad7478873d: Already exists
09:47:59 4684f6177b5d: Already exists
09:47:59 46e300cec669: Pulling fs layer
09:47:59 63038576ad94: Pulling fs layer
09:47:59 0fdb76c4706c: Pulling fs layer
09:47:59 cb7edeffdfd5: Pulling fs layer
09:47:59 cc28bd76800f: Pulling fs layer
09:47:59 54196fe38f7e: Pulling fs layer
09:47:59 ea71acc29633: Pulling fs layer
09:47:59 657cc4c15165: Pulling fs layer
09:47:59 cc28bd76800f: Waiting
09:47:59 54196fe38f7e: Waiting
09:47:59 ea71acc29633: Waiting
09:47:59 657cc4c15165: Waiting
09:47:59 cb7edeffdfd5: Waiting
09:47:59 63038576ad94: Verifying Checksum
09:47:59 63038576ad94: Download complete
09:47:59 cb7edeffdfd5: Verifying Checksum
09:47:59 cb7edeffdfd5: Download complete
09:47:59 0fdb76c4706c: Verifying Checksum
09:47:59 0fdb76c4706c: Download complete
09:47:59 cc28bd76800f: Verifying Checksum
09:47:59 cc28bd76800f: Download complete
09:47:59 54196fe38f7e: Verifying Checksum
09:47:59 54196fe38f7e: Download complete
09:47:59 ea71acc29633: Verifying Checksum
09:47:59 ea71acc29633: Download complete
09:48:00 657cc4c15165: Verifying Checksum
09:48:00 657cc4c15165: Download complete
09:48:00 46e300cec669: Verifying Checksum
09:48:00 46e300cec669: Download complete
09:48:02 46e300cec669: Pull complete
09:48:02 63038576ad94: Pull complete
09:48:02 0fdb76c4706c: Pull complete
09:48:02 cb7edeffdfd5: Pull complete
09:48:02 cc28bd76800f: Pull complete
09:48:02 54196fe38f7e: Pull complete
09:48:02 ea71acc29633: Pull complete
09:48:02 657cc4c15165: Pull complete
09:48:02 Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771
09:48:02 Status: Downloaded newer image for docker:19.03.12-dind
09:48:02  ---> 66dc2d45749a
09:48:02 Step 4/12 : RUN apk add --no-cache 		openssh
09:48:04  ---> Running in db39c80754ba
09:48:04 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
09:48:05 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
09:48:05 (1/4) Installing openssh-sftp-server (8.3_p1-r0)
09:48:05 (2/4) Installing openssh-server-common (8.3_p1-r0)
09:48:05 (3/4) Installing openssh-server (8.3_p1-r0)
09:48:05 (4/4) Installing openssh (8.3_p1-r0)
09:48:05 Executing busybox-1.31.1-r16.trigger
09:48:05 OK: 28 MiB in 51 packages
09:48:06 Removing intermediate container db39c80754ba
09:48:06  ---> 2250424ec82e
09:48:06 Step 5/12 : RUN ssh-keygen -A
09:48:06  ---> Running in 08f106eebb9b
09:48:06 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
09:48:07 Removing intermediate container 08f106eebb9b
09:48:07  ---> f02a257292c1
09:48:07 Step 6/12 : RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
09:48:07  ---> Running in 9459f6edeb76
09:48:07 Generating public/private rsa key pair.
09:48:07 Created directory '/root/.ssh'.
09:48:07 Your identification has been saved in /root/.ssh/id_rsa
09:48:07 Your public key has been saved in /root/.ssh/id_rsa.pub
09:48:07 The key fingerprint is:
09:48:07 SHA256:Pqs8gD0IQv8dUHx3EwttD+K8JcZfTIGuoDdaPg0GwEw root@9459f6edeb76
09:48:07 The key's randomart image is:
09:48:07 +---[RSA 3072]----+
09:48:07 |    +Eo.   ...o..|
09:48:07 | .   = . . o.B.. |
09:48:07 |. .   o . = =.*  |
09:48:07 |o  .   o . * o + |
09:48:07 |.. +. . S o * .  |
09:48:07 |  o +. + * o .   |
09:48:07 |     o  O +      |
09:48:07 |     ... = .     |
09:48:07 |      oo. .      |
09:48:07 +----[SHA256]-----+
09:48:08 Removing intermediate container 9459f6edeb76
09:48:08  ---> 3c57b9bb3504
09:48:08 Step 7/12 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys
09:48:08  ---> Running in 907e2abf1807
09:48:08 Removing intermediate container 907e2abf1807
09:48:08  ---> 74ab9eef6035
09:48:08 Step 8/12 : RUN chmod 600 /root/.ssh/authorized_keys
09:48:08  ---> Running in 2f6877b6510f
09:48:09 Removing intermediate container 2f6877b6510f
09:48:09  ---> 344286984bff
09:48:09 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:48:09  ---> Running in d5066a446767
09:48:10 Removing intermediate container d5066a446767
09:48:10  ---> 1c32f214b651
09:48:10 Step 10/12 : RUN echo "root:root" | chpasswd
09:48:10  ---> Running in 05c9dc3939e6
09:48:10 chpasswd: password for 'root' changed
09:48:10 Removing intermediate container 05c9dc3939e6
09:48:10  ---> 0a35fe7a822f
09:48:10 Step 11/12 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
09:48:10  ---> Running in 3118fdbef817
09:48:11 Removing intermediate container 3118fdbef817
09:48:11  ---> 606029e919db
09:48:11 Step 12/12 : EXPOSE 22
09:48:11  ---> Running in 1d0d8ffdd492
09:48:11 Removing intermediate container 1d0d8ffdd492
09:48:11  ---> 81d88a2e6b16
09:48:11 Successfully built 81d88a2e6b16
09:48:11 Successfully tagged sshdind:491e753ea57202da720766abad5c8e4a9baf37dd
[Pipeline] isUnix
[Pipeline] sh
09:48:12 + docker tag sshdind:491e753ea57202da720766abad5c8e4a9baf37dd sshdind:491e753ea57202da720766abad5c8e4a9baf37dd
[Pipeline] isUnix
[Pipeline] sh
09:48:12 + docker push sshdind:491e753ea57202da720766abad5c8e4a9baf37dd
09:48:12 The push refers to repository [docker.io/library/sshdind]
09:48:12 ba94c19821d9: Preparing
09:48:12 e44ef33be62d: Preparing
09:48:12 758fe0f71f9f: Preparing
09:48:12 b3104c5aaf36: Preparing
09:48:12 7a262953f49f: Preparing
09:48:12 1af73a5a9dff: Preparing
09:48:12 c465a3d09594: Preparing
09:48:12 1f2b7e8a08b5: Preparing
09:48:12 1149e736aa92: Preparing
09:48:12 39e79983ac8b: Preparing
09:48:12 da8c28465f82: Preparing
09:48:12 d1292e236c36: Preparing
09:48:12 8890c171a12b: Preparing
09:48:12 4ae5bd84d450: Preparing
09:48:12 723a561964c8: Preparing
09:48:12 78764725b56c: Preparing
09:48:12 51d6d3d09136: Preparing
09:48:12 1507bc794612: Preparing
09:48:12 50644c29ef5a: Preparing
09:48:12 1af73a5a9dff: Waiting
09:48:12 c465a3d09594: Waiting
09:48:12 1f2b7e8a08b5: Waiting
09:48:12 1149e736aa92: Waiting
09:48:12 39e79983ac8b: Waiting
09:48:12 da8c28465f82: Waiting
09:48:12 d1292e236c36: Waiting
09:48:12 8890c171a12b: Waiting
09:48:12 4ae5bd84d450: Waiting
09:48:12 723a561964c8: Waiting
09:48:12 78764725b56c: Waiting
09:48:12 51d6d3d09136: Waiting
09:48:12 1507bc794612: Waiting
09:48:12 50644c29ef5a: Waiting
09:48:12 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