Skip to content
Failed

Console Output

Started by user Anca Iordache
Replayed #2
09:06:06 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956+f0517f842b1d2e6c39380f60b326273e9b770794 (612b04c9d03256c06bba9d758a9ddf73a08b13ec)
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 --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
‘EC2 (managed-agents) - ubuntu-1804-overlay2 (i-062eaa1961d087a37)’ is offline
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0ef2a06980199a63a) in /home/ubuntu/workspace/docker-py_PR-2755
[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-2755@tmp/01c7fafe-d041-4566-92b2-24ddb0294ae3/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:07:16 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
09:07:16 chowning workspace
[Pipeline] sh
09:07:17 + pwd
09:07:17 + id -u
09:07:17 + id -g
09:07:17 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2755:/workspace busybox chown -R 1000:1000 /workspace
09:07:17 Unable to find image 'busybox:latest' locally
09:07:17 latest: Pulling from library/busybox
09:07:17 4c892f00285e: Pulling fs layer
09:07:17 4c892f00285e: Verifying Checksum
09:07:17 4c892f00285e: Download complete
09:07:18 4c892f00285e: Pull complete
09:07:18 Digest: sha256:e1488cb900233d035575f0a7787448cb1fa93bed0ccc0d4efc1963d7d72a8f17
09:07:18 Status: Downloaded newer image for busybox:latest
[Pipeline] echo
09:07:20 Removing all docker containers
[Pipeline] sh
09:07:20 + docker container ls -aq
[Pipeline] echo
09:07:20 Docker containers have been removed
[Pipeline] echo
09:07:20 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
09:07:20 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
09:07:20 The recommended git tool is: git
09:07:22 using credential docker-jenkins-github-credentials
09:07:22 Cloning the remote Git repository
09:07:22 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-2755 # 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/2755/head:refs/remotes/origin/PR-2755 +refs/heads/master:refs/remotes/origin/master # timeout=10
09:07:24 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/2755/head:refs/remotes/origin/PR-2755 # 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/2755/head:refs/remotes/origin/PR-2755 +refs/heads/master:refs/remotes/origin/master # timeout=10
09:07:24 Merging remotes/origin/master commit ce2669e3edfe5d3215ba501cc9771fc0ffad680a into PR head commit ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
09:07:25 Merge succeeded, producing ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
09:07:25 Checking out Revision ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956 (PR-2755)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956 # 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 ce2669e3edfe5d3215ba501cc9771fc0ffad680a # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956 # timeout=10
09:07:28 Commit message: "Fix host trimming and remove quiet flag for the ssh connection"
09:07:28 First time build. Skipping changelog.
[Pipeline] sh
09:07:29 + git rev-parse HEAD
[Pipeline] withDockerRegistry
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
09:07:30 + docker pull dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
09:07:30 Error response from daemon: pull access denied for dockerbuildbot/docker-py, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
[Pipeline] isUnix
[Pipeline] sh
09:07:30 + docker build -t dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956 -f tests/Dockerfile-ssh-dind .
09:07:30 Sending build context to Docker daemon  1.371MB

09:07:30 Step 1/11 : ARG API_VERSION=1.39
09:07:30 Step 2/11 : ARG ENGINE_VERSION=19.03.12
09:07:30 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind
$ 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-2755@tmp/c94f6f4f-6e26-4a62-98ad-53b15063f4ac/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
09:07:30 19.03.12-dind: Pulling from library/docker
09:07:30 df20fa9351a1: Pulling fs layer
09:07:30 25ad7478873d: Pulling fs layer
09:07:30 4684f6177b5d: Pulling fs layer
09:07:30 46e300cec669: Pulling fs layer
09:07:30 63038576ad94: Pulling fs layer
09:07:30 0fdb76c4706c: Pulling fs layer
09:07:30 cb7edeffdfd5: Pulling fs layer
09:07:30 cc28bd76800f: Pulling fs layer
09:07:30 54196fe38f7e: Pulling fs layer
09:07:30 ea71acc29633: Pulling fs layer
09:07:30 657cc4c15165: Pulling fs layer
09:07:30 0fdb76c4706c: Waiting
09:07:30 cb7edeffdfd5: Waiting
09:07:30 cc28bd76800f: Waiting
09:07:30 54196fe38f7e: Waiting
09:07:30 ea71acc29633: Waiting
09:07:30 657cc4c15165: Waiting
09:07:30 46e300cec669: Waiting
09:07:30 63038576ad94: Waiting
09:07:30 4684f6177b5d: Verifying Checksum
09:07:30 4684f6177b5d: Download complete
09:07:30 df20fa9351a1: Verifying Checksum
09:07:30 df20fa9351a1: Download complete
09:07:30 25ad7478873d: Verifying Checksum
09:07:30 25ad7478873d: Download complete
09:07:31 63038576ad94: Verifying Checksum
09:07:31 63038576ad94: Download complete
09:07:31 0fdb76c4706c: Verifying Checksum
09:07:31 0fdb76c4706c: Download complete
09:07:31 cb7edeffdfd5: Verifying Checksum
09:07:31 cb7edeffdfd5: Download complete
09:07:31 54196fe38f7e: Verifying Checksum
09:07:31 54196fe38f7e: Download complete
09:07:31 cc28bd76800f: Verifying Checksum
09:07:31 cc28bd76800f: Download complete
09:07:31 657cc4c15165: Verifying Checksum
09:07:31 657cc4c15165: Download complete
09:07:31 ea71acc29633: Verifying Checksum
09:07:31 ea71acc29633: Download complete
09:07:31 df20fa9351a1: Pull complete
09:07:32 46e300cec669: Verifying Checksum
09:07:32 46e300cec669: Download complete
09:07:32 25ad7478873d: Pull complete
09:07:32 4684f6177b5d: Pull complete
09:07:35 46e300cec669: Pull complete
09:07:36 63038576ad94: Pull complete
09:07:36 0fdb76c4706c: Pull complete
09:07:36 cb7edeffdfd5: Pull complete
09:07:37 cc28bd76800f: Pull complete
09:07:37 54196fe38f7e: Pull complete
09:07:37 ea71acc29633: Pull complete
09:07:37 657cc4c15165: Pull complete
09:07:37 Digest: sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771
09:07:37 Status: Downloaded newer image for docker:19.03.12-dind
09:07:37  ---> 66dc2d45749a
09:07:37 Step 4/11 : RUN apk add --no-cache 		openssh
09:07:40  ---> Running in fe9050706f6b
09:07:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
09:07:42 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
09:07:42 (1/4) Installing openssh-sftp-server (8.3_p1-r1)
09:07:42 (2/4) Installing openssh-server-common (8.3_p1-r1)
09:07:42 (3/4) Installing openssh-server (8.3_p1-r1)
09:07:42 (4/4) Installing openssh (8.3_p1-r1)
09:07:42 Executing busybox-1.31.1-r16.trigger
09:07:42 OK: 28 MiB in 51 packages
09:07:43 Removing intermediate container fe9050706f6b
09:07:43  ---> a90b3df909d2
09:07:43 Step 5/11 : RUN ssh-keygen -A
09:07:43  ---> Running in f1b932cae8ea
09:07:44 ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
09:07:44 Removing intermediate container f1b932cae8ea
09:07:44  ---> 925491463e33
09:07:44 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
09:07:44  ---> Running in c3b5a7c1f2dd
09:07:45 Removing intermediate container c3b5a7c1f2dd
09:07:45  ---> b83b528bb5ea
09:07:45 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys
09:07:45  ---> aec522a24c03
09:07:45 Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys
09:07:45  ---> Running in 67ca23a65f90
09:07:47 Removing intermediate container 67ca23a65f90
09:07:47  ---> ac39c882e246
09:07:47 Step 9/11 : RUN echo "root:root" | chpasswd
09:07:47  ---> Running in 83cb5e2bdbc3
09:07:47 chpasswd: password for 'root' changed
09:07:48 Removing intermediate container 83cb5e2bdbc3
09:07:48  ---> d6302870be3e
09:07:48 Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
09:07:48  ---> Running in 72e33ab6e0c4
09:07:49 Removing intermediate container 72e33ab6e0c4
09:07:49  ---> 03e7188f0aa6
09:07:49 Step 11/11 : EXPOSE 22
09:07:49  ---> Running in 36f5ac51791a
09:07:49 Removing intermediate container 36f5ac51791a
09:07:49  ---> aef0e936d77d
09:07:49 Successfully built aef0e936d77d
09:07:49 Successfully tagged dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
[Pipeline] isUnix
[Pipeline] sh
09:07:49 + docker tag dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956 dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
[Pipeline] isUnix
[Pipeline] sh
09:07:50 + docker push dockerbuildbot/docker-py:sshdind-ccbb4ab9fff9eede600cbcbb7ec96da22cf1b956
09:07:50 The push refers to repository [docker.io/dockerbuildbot/docker-py]
09:07:50 2ea100f9163a: Preparing
09:07:50 008308f9c3e6: Preparing
09:07:50 53bd630fc96c: Preparing
09:07:50 799e673fa01a: Preparing
09:07:50 59095a3b94aa: Preparing
09:07:50 d0d2a4641a72: Preparing
09:07:50 a13cc315c8d3: Preparing
09:07:50 1149e736aa92: Preparing
09:07:50 39e79983ac8b: Preparing
09:07:50 da8c28465f82: Preparing
09:07:50 d1292e236c36: Preparing
09:07:50 8890c171a12b: Preparing
09:07:50 4ae5bd84d450: Preparing
09:07:50 723a561964c8: Preparing
09:07:50 78764725b56c: Preparing
09:07:50 51d6d3d09136: Preparing
09:07:50 1507bc794612: Preparing
09:07:50 50644c29ef5a: Preparing
09:07:50 d0d2a4641a72: Waiting
09:07:50 a13cc315c8d3: Waiting
09:07:50 1149e736aa92: Waiting
09:07:50 39e79983ac8b: Waiting
09:07:50 da8c28465f82: Waiting
09:07:50 d1292e236c36: Waiting
09:07:50 8890c171a12b: Waiting
09:07:50 4ae5bd84d450: Waiting
09:07:50 723a561964c8: Waiting
09:07:50 78764725b56c: Waiting
09:07:50 51d6d3d09136: Waiting
09:07:50 1507bc794612: Waiting
09:07:50 50644c29ef5a: Waiting
09:07:50 denied: requested access to the resource is denied
[Pipeline] }
[Pipeline] // withDockerRegistry
[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