Skip to content
Failed

Console Output

Pull request #2680 updated
17:47:52 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13+9d8cd023e88f22e701365ae4d3dccc16537f4851 (b6d1ea80eecb2e21aeed6673c1efc018303c2037)
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-02e378b5bfd52a1f6) 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/2b71f3c3-2190-4502-bdb3-faf9573d29e2/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
17:48:51 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
17:48:51 chowning workspace
[Pipeline] sh
17:48:51 + pwd
17:48:51 + id -u
17:48:51 + id -g
17:48:51 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2680:/workspace busybox chown -R 1000:1000 /workspace
17:48:51 Unable to find image 'busybox:latest' locally
17:48:51 latest: Pulling from library/busybox
17:48:51 df8698476c65: Pulling fs layer
17:48:51 df8698476c65: Verifying Checksum
17:48:52 df8698476c65: Pull complete
17:48:52 Digest: sha256:d366a4665ab44f0648d7a00ae3fae139d55e32f9712c67accd604bb55df9d05a
17:48:52 Status: Downloaded newer image for busybox:latest
[Pipeline] echo
17:48:55 Removing all docker containers
[Pipeline] sh
17:48:56 + docker container ls -aq
[Pipeline] echo
17:48:56 Docker containers have been removed
[Pipeline] echo
17:48:56 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
17:48:56 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
17:48:58 using credential docker-jenkins-github-credentials
17:48:58 Cloning the remote Git repository
17:48:58 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
17:49:00 Fetching without tags
17:49:00 Merging remotes/origin/master commit 9d8cd023e88f22e701365ae4d3dccc16537f4851 into PR head commit 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13
17:49:00 Merge succeeded, producing 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13
17:49:00 Checking out Revision 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 (PR-2680)
 > 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 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 # 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 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 # timeout=10
17:49:04 Commit message: "Update jenkins test pipeline"
 > git rev-list --no-walk d6fe4bd064ec2d1a8675869752d575107259178a # timeout=10
[Pipeline] sh
17:49:05 + git rev-parse HEAD
[Pipeline] isUnix
[Pipeline] sh
17:49:05 + docker pull ssh-dind:2c975c8f1121542c62313a7a4cfc7c2b73ff3e13
17:49:05 Error response from daemon: pull access denied for ssh-dind, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
[Pipeline] isUnix
[Pipeline] sh
17:49:06 + docker build -t ssh-dind:2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 -f tests/Dockerfile-ssh-dind .
17:49:06 Sending build context to Docker daemon  1.359MB

17:49:06 Step 1/12 : ARG API_VERSION=1.39
17:49:06 Step 2/12 : ARG ENGINE_VERSION=19.03.12
17:49:06 Step 3/12 : FROM docker:${ENGINE_VERSION}-dind
17:49:06 19.03.12-dind: Pulling from library/docker
17:49:06 df20fa9351a1: Pulling fs layer
17:49:06 25ad7478873d: Pulling fs layer
17:49:06 4684f6177b5d: Pulling fs layer
17:49:06 46e300cec669: Pulling fs layer
17:49:06 63038576ad94: Pulling fs layer
17:49:06 0fdb76c4706c: Pulling fs layer
17:49:06 cb7edeffdfd5: Pulling fs layer
17:49:06 cc28bd76800f: Pulling fs layer
17:49:06 54196fe38f7e: Pulling fs layer
17:49:06 ea71acc29633: Pulling fs layer
17:49:06 657cc4c15165: Pulling fs layer
17:49:06 0fdb76c4706c: Waiting
17:49:06 cb7edeffdfd5: Waiting
17:49:06 cc28bd76800f: Waiting
17:49:06 54196fe38f7e: Waiting
17:49:06 ea71acc29633: Waiting
17:49:06 657cc4c15165: Waiting
17:49:06 46e300cec669: Waiting
17:49:06 63038576ad94: Waiting
17:49:06 4684f6177b5d: Verifying Checksum
17:49:06 4684f6177b5d: Download complete
17:49:06 25ad7478873d: Download complete
17:49:06 63038576ad94: Verifying Checksum
17:49:06 63038576ad94: Download complete
17:49:06 0fdb76c4706c: Verifying Checksum
17:49:06 0fdb76c4706c: Download complete
17:49:06 cb7edeffdfd5: Verifying Checksum
17:49:06 cb7edeffdfd5: Download complete
17:49:06 df20fa9351a1: Verifying Checksum
17:49:06 df20fa9351a1: Download complete
17:49:06 54196fe38f7e: Verifying Checksum
17:49:06 54196fe38f7e: Download complete
17:49:06 cc28bd76800f: Verifying Checksum
17:49:06 cc28bd76800f: Download complete
17:49:06 ea71acc29633: Verifying Checksum
17:49:06 ea71acc29633: Download complete
17:49:06 657cc4c15165: Verifying Checksum
17:49:06 657cc4c15165: Download complete
17:49:07 df20fa9351a1: Pull complete
17:49:07 25ad7478873d: Pull complete
17:49:07 46e300cec669: Verifying Checksum
17:49:07 46e300cec669: Download complete
17:49:07 4684f6177b5d: Pull complete
17:49:11 46e300cec669: Pull complete
17:49:11 63038576ad94: Pull complete
17:49:11 0fdb76c4706c: Pull complete
17:49:11 cb7edeffdfd5: Pull complete
17:49:11 cc28bd76800f: Pull complete
17:49:11 54196fe38f7e: Pull complete
17:49:11 ea71acc29633: Pull complete
17:49:12 657cc4c15165: Pull complete
17:49:12 Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771
17:49:12 Status: Downloaded newer image for docker:19.03.12-dind
17:49:12  ---> 66dc2d45749a
17:49:12 Step 4/12 : RUN apk add --no-cache 		openssh
17:49:15  ---> Running in c126113381a1
17:49:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
17:49:16 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
17:49:17 (1/4) Installing openssh-sftp-server (8.3_p1-r0)
17:49:17 (2/4) Installing openssh-server-common (8.3_p1-r0)
17:49:17 (3/4) Installing openssh-server (8.3_p1-r0)
17:49:17 (4/4) Installing openssh (8.3_p1-r0)
17:49:17 Executing busybox-1.31.1-r16.trigger
17:49:17 OK: 28 MiB in 51 packages
17:49:18 Removing intermediate container c126113381a1
17:49:18  ---> 934457935ea4
17:49:18 Step 5/12 : RUN ssh-keygen -A
17:49:18  ---> Running in 78aa9222a732
17:49:19 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
17:49:19 Removing intermediate container 78aa9222a732
17:49:19  ---> 9d5745fb3372
17:49:19 Step 6/12 : RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
17:49:19  ---> Running in e0d3f31c2afa
17:49:20 Generating public/private rsa key pair.
17:49:21 Created directory '/root/.ssh'.
17:49:21 Your identification has been saved in /root/.ssh/id_rsa
17:49:21 Your public key has been saved in /root/.ssh/id_rsa.pub
17:49:21 The key fingerprint is:
17:49:21 SHA256:LWotvV1TFLoe8mMU2cYnxc8GChjFTbsgCi5jce66bbM root@e0d3f31c2afa
17:49:21 The key's randomart image is:
17:49:21 +---[RSA 3072]----+
17:49:21 |        .=.o. ...|
17:49:21 |        . o .*.o.|
17:49:21 |  . o   . ..=.*oo|
17:49:21 |   = . . o ..* o+|
17:49:21 |  + o . S o = .. |
17:49:21 | . +   + . = o   |
17:49:21 |    . + o   B    |
17:49:21 |   oo. . o o o   |
17:49:21 |  ooEo  . .      |
17:49:21 +----[SHA256]-----+
17:49:22 Removing intermediate container e0d3f31c2afa
17:49:22  ---> 49a61375b6de
17:49:22 Step 7/12 : RUN cat /root/ssh/id_rsa.pub > /root/.ssh/authorized_keys
17:49:22  ---> Running in 91e707047cac
17:49:22 cat: can't open '/root/ssh/id_rsa.pub': No such file or directory
17:49:22 The command '/bin/sh -c cat /root/ssh/id_rsa.pub > /root/.ssh/authorized_keys' returned a non-zero code: 1
[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