Skip to content
Failed

Console Output

Pull request #2680 updated
12:52:25 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from d1ed408b1fcf0507a92b4af2e62be3f8bda5a948+9d8cd023e88f22e701365ae4d3dccc16537f4851 (5bb1e09e7bd57435fc1be3ccd3e2db5a2363c060)
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
Still waiting to schedule task
All nodes of label ‘amd64&&ubuntu-1804&&overlay2’ are offline
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0a65e3c916b35b595) 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/76d85f34-5b9d-4dfe-a3de-226970d04962/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:53:29 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
12:53:29 chowning workspace
[Pipeline] sh
12:53:29 + pwd
12:53:29 + id -u
12:53:29 + id -g
12:53:29 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2680:/workspace busybox chown -R 1000:1000 /workspace
12:53:29 Unable to find image 'busybox:latest' locally
12:53:29 latest: Pulling from library/busybox
12:53:29 df8698476c65: Pulling fs layer
12:53:30 df8698476c65: Verifying Checksum
12:53:30 df8698476c65: Download complete
12:53:31 df8698476c65: Pull complete
12:53:32 Digest: sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a
12:53:32 Status: Downloaded newer image for busybox:latest
[Pipeline] echo
12:53:36 Removing all docker containers
[Pipeline] sh
12:53:36 + docker container ls -aq
[Pipeline] echo
12:53:36 Docker containers have been removed
[Pipeline] echo
12:53:36 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
12:53:36 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
12:53:38 using credential docker-jenkins-github-credentials
12:53:38 Cloning the remote Git repository
12:53:38 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
12:53:41 Fetching without tags
 > 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
12:53:41 Merging remotes/origin/master commit 9d8cd023e88f22e701365ae4d3dccc16537f4851 into PR head commit d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
12:53:41 Merge succeeded, producing d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
12:53:41 Checking out Revision d1ed408b1fcf0507a92b4af2e62be3f8bda5a948 (PR-2680)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d1ed408b1fcf0507a92b4af2e62be3f8bda5a948 # 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 d1ed408b1fcf0507a92b4af2e62be3f8bda5a948 # timeout=10
12:53:45 Commit message: "Use static ssh keys and do not generate them during build"
[Pipeline] sh
12:53:46 + git rev-parse HEAD
 > git rev-list --no-walk 54e48251eefc3c9ecdf238445c21f3e9dcd5041d # timeout=10
[Pipeline] isUnix
[Pipeline] sh
12:53:46 + docker pull sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
12:53:46 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
12:53:47 + docker build -t sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948 -f tests/Dockerfile-ssh-dind .
12:53:47 Sending build context to Docker daemon  1.359MB

12:53:47 Step 1/11 : ARG API_VERSION=1.39
12:53:47 Step 2/11 : ARG ENGINE_VERSION=19.03.12
12:53:47 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind
12:53:47 19.03.12-dind: Pulling from library/docker
12:53:47 df20fa9351a1: Pulling fs layer
12:53:47 25ad7478873d: Pulling fs layer
12:53:47 4684f6177b5d: Pulling fs layer
12:53:47 46e300cec669: Pulling fs layer
12:53:47 63038576ad94: Pulling fs layer
12:53:47 0fdb76c4706c: Pulling fs layer
12:53:47 cb7edeffdfd5: Pulling fs layer
12:53:47 cc28bd76800f: Pulling fs layer
12:53:47 54196fe38f7e: Pulling fs layer
12:53:47 ea71acc29633: Pulling fs layer
12:53:47 657cc4c15165: Pulling fs layer
12:53:47 46e300cec669: Waiting
12:53:47 63038576ad94: Waiting
12:53:47 0fdb76c4706c: Waiting
12:53:47 cb7edeffdfd5: Waiting
12:53:47 cc28bd76800f: Waiting
12:53:47 54196fe38f7e: Waiting
12:53:47 ea71acc29633: Waiting
12:53:47 657cc4c15165: Waiting
12:53:47 4684f6177b5d: Verifying Checksum
12:53:47 4684f6177b5d: Download complete
12:53:47 25ad7478873d: Download complete
12:53:47 63038576ad94: Verifying Checksum
12:53:47 63038576ad94: Download complete
12:53:47 df20fa9351a1: Verifying Checksum
12:53:47 df20fa9351a1: Download complete
12:53:47 cb7edeffdfd5: Verifying Checksum
12:53:47 cb7edeffdfd5: Download complete
12:53:47 0fdb76c4706c: Verifying Checksum
12:53:47 0fdb76c4706c: Download complete
12:53:47 54196fe38f7e: Verifying Checksum
12:53:47 54196fe38f7e: Download complete
12:53:48 cc28bd76800f: Verifying Checksum
12:53:48 cc28bd76800f: Download complete
12:53:48 657cc4c15165: Verifying Checksum
12:53:48 657cc4c15165: Download complete
12:53:48 df20fa9351a1: Pull complete
12:53:48 ea71acc29633: Verifying Checksum
12:53:48 ea71acc29633: Download complete
12:53:48 25ad7478873d: Pull complete
12:53:48 46e300cec669: Verifying Checksum
12:53:48 46e300cec669: Download complete
12:53:49 4684f6177b5d: Pull complete
12:53:51 46e300cec669: Pull complete
12:53:51 63038576ad94: Pull complete
12:53:51 0fdb76c4706c: Pull complete
12:53:51 cb7edeffdfd5: Pull complete
12:53:51 cc28bd76800f: Pull complete
12:53:51 54196fe38f7e: Pull complete
12:53:52 ea71acc29633: Pull complete
12:53:52 657cc4c15165: Pull complete
12:53:52 Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771
12:53:52 Status: Downloaded newer image for docker:19.03.12-dind
12:53:52  ---> 66dc2d45749a
12:53:52 Step 4/11 : RUN apk add --no-cache 		openssh
12:53:55  ---> Running in 6409b8655950
12:53:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
12:53:57 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
12:53:57 (1/4) Installing openssh-sftp-server (8.3_p1-r0)
12:53:57 (2/4) Installing openssh-server-common (8.3_p1-r0)
12:53:57 (3/4) Installing openssh-server (8.3_p1-r0)
12:53:57 (4/4) Installing openssh (8.3_p1-r0)
12:53:57 Executing busybox-1.31.1-r16.trigger
12:53:57 OK: 28 MiB in 51 packages
12:53:58 Removing intermediate container 6409b8655950
12:53:58  ---> 9c197ba9565c
12:53:58 Step 5/11 : RUN ssh-keygen -A
12:53:58  ---> Running in ab9894d83de5
12:53:59 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
12:53:59 Removing intermediate container ab9894d83de5
12:53:59  ---> ec9ad202ece5
12:53:59 Step 6/11 : RUN echo "IgnoreUserKnownHosts yes" >> /etc/ssh/sshd_config &&   echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config &&   echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
12:53:59  ---> Running in 8a1b6d3fad8c
12:54:01 Removing intermediate container 8a1b6d3fad8c
12:54:01  ---> 5a8e7495f7f2
12:54:01 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys
12:54:01  ---> 8087cccc2bbc
12:54:01 Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys
12:54:01  ---> Running in 24d404f80f2c
12:54:02 Removing intermediate container 24d404f80f2c
12:54:02  ---> 0f05c4ae1c31
12:54:02 Step 9/11 : RUN echo "root:root" | chpasswd
12:54:02  ---> Running in 3076e85eab73
12:54:03 chpasswd: password for 'root' changed
12:54:03 Removing intermediate container 3076e85eab73
12:54:03  ---> 1003f37b2e6f
12:54:03 Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
12:54:03  ---> Running in 90d1742f3130
12:54:04 Removing intermediate container 90d1742f3130
12:54:04  ---> cf9c90cae5db
12:54:04 Step 11/11 : EXPOSE 22
12:54:04  ---> Running in 5a4b799e80b1
12:54:04 Removing intermediate container 5a4b799e80b1
12:54:04  ---> 1f28e4c43a63
12:54:04 Successfully built 1f28e4c43a63
12:54:04 Successfully tagged sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
[Pipeline] isUnix
[Pipeline] sh
12:54:04 + docker tag sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948 sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
[Pipeline] isUnix
[Pipeline] sh
12:54:05 + docker push sshdind:d1ed408b1fcf0507a92b4af2e62be3f8bda5a948
12:54:05 The push refers to repository [docker.io/library/sshdind]
12:54:05 a61cec283cfe: Preparing
12:54:05 ffbea024d945: Preparing
12:54:05 ba52d098bc52: Preparing
12:54:05 e3ce7ef802bd: Preparing
12:54:05 5f2045eecc67: Preparing
12:54:05 c427be218779: Preparing
12:54:05 d0ea733917f9: Preparing
12:54:05 1149e736aa92: Preparing
12:54:05 39e79983ac8b: Preparing
12:54:05 da8c28465f82: Preparing
12:54:05 d1292e236c36: Preparing
12:54:05 8890c171a12b: Preparing
12:54:05 4ae5bd84d450: Preparing
12:54:05 723a561964c8: Preparing
12:54:05 78764725b56c: Preparing
12:54:05 51d6d3d09136: Preparing
12:54:05 1507bc794612: Preparing
12:54:05 50644c29ef5a: Preparing
12:54:05 c427be218779: Waiting
12:54:05 d0ea733917f9: Waiting
12:54:05 1149e736aa92: Waiting
12:54:05 39e79983ac8b: Waiting
12:54:05 da8c28465f82: Waiting
12:54:05 d1292e236c36: Waiting
12:54:05 8890c171a12b: Waiting
12:54:05 4ae5bd84d450: Waiting
12:54:05 723a561964c8: Waiting
12:54:05 78764725b56c: Waiting
12:54:05 51d6d3d09136: Waiting
12:54:05 1507bc794612: Waiting
12:54:05 50644c29ef5a: Waiting
12:54:05 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