Skip to content
Failed

Console Output

Started by user Anca Iordache
Replayed #2
14:50:54 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at ce2669e3edfe5d3215ba501cc9771fc0ffad680a rather than 2426a5ffd57c49c257988df498f402978e9d901a
Obtained Jenkinsfile from ce2669e3edfe5d3215ba501cc9771fc0ffad680a
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
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0261905c3b05f29c1) in /home/ubuntu/workspace/docker-py_PR-2739
[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-2739@tmp/2a888b8a-f924-4150-815d-37fe65e715f4/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
14:50:56 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
14:50:56 chowning workspace
[Pipeline] sh
14:50:56 + pwd
14:50:56 + id -u
14:50:56 + id -g
14:50:56 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2739:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
14:50:57 Removing all docker containers
[Pipeline] sh
14:50:57 + docker container ls -aq
[Pipeline] echo
14:50:57 Docker containers have been removed
[Pipeline] echo
14:50:57 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
14:50:57 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
14:50:57 The recommended git tool is: git
14:50:57 using credential docker-jenkins-github-credentials
14:50:57 Cloning the remote Git repository
14:50:57 Cloning with configured refspecs honoured and without tags
14:50:58 Fetching without tags
Cloning repository https://github.com/docker/docker-py.git
 > git init /home/ubuntu/workspace/docker-py_PR-2739 # 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/2739/head:refs/remotes/origin/PR-2739 +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/2739/head:refs/remotes/origin/PR-2739 # 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/2739/head:refs/remotes/origin/PR-2739 +refs/heads/master:refs/remotes/origin/master # timeout=10
14:50:58 Merging remotes/origin/master commit b72926b3822e018baa8d0a82a76c32881932d6a2 into PR head commit 2426a5ffd57c49c257988df498f402978e9d901a
14:50:58 Merge succeeded, producing 2426a5ffd57c49c257988df498f402978e9d901a
14:50:58 Checking out Revision 2426a5ffd57c49c257988df498f402978e9d901a (PR-2739)
14:50:58 Commit message: "setup.py: Add support for Python 3.8 and 3.9"
[Pipeline] sh
14:50:59 + git rev-parse HEAD
[Pipeline] withDockerRegistry
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2426a5ffd57c49c257988df498f402978e9d901a # 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 b72926b3822e018baa8d0a82a76c32881932d6a2 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2426a5ffd57c49c257988df498f402978e9d901a # timeout=10
 > git rev-list --no-walk 2426a5ffd57c49c257988df498f402978e9d901a # timeout=10
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
14:51:00 + docker pull dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a
14:51:00 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
14:51:00 + docker build -t dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a -f tests/Dockerfile-ssh-dind .
14:51:00 Sending build context to Docker daemon  1.371MB

14:51:00 Step 1/11 : ARG API_VERSION=1.39
14:51:00 Step 2/11 : ARG ENGINE_VERSION=19.03.12
14:51:00 Step 3/11 : FROM docker:${ENGINE_VERSION}-dind
14:51:00  ---> 66dc2d45749a
14:51:00 Step 4/11 : RUN apk add --no-cache 		openssh
14:51:00  ---> Using cache
14:51:00  ---> 6fe2e99c7b48
14:51:00 Step 5/11 : RUN ssh-keygen -A
14:51:00  ---> Using cache
14:51:00  ---> e1a78ccd8193
14:51:00 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
14:51:00  ---> Using cache
14:51:00  ---> 948bc271f171
14:51:00 Step 7/11 : COPY tests/ssh-keys/authorized_keys /root/.ssh/authorized_keys
14:51:00  ---> Using cache
14:51:00  ---> 5e71d5fae362
14:51:00 Step 8/11 : RUN chmod 600 /root/.ssh/authorized_keys
14:51:00  ---> Using cache
14:51:00  ---> dec735a7d769
14:51:00 Step 9/11 : RUN echo "root:root" | chpasswd
14:51:00  ---> Using cache
14:51:00  ---> b0914d429f68
14:51:00 Step 10/11 : RUN ln -s /usr/local/bin/docker /usr/bin/docker
14:51:00  ---> Using cache
14:51:00  ---> 4655e17c0a73
14:51:00 Step 11/11 : EXPOSE 22
14:51:00  ---> Using cache
14:51:00  ---> 462ce6844482
14:51:00 Successfully built 462ce6844482
14:51:00 Successfully tagged dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a
[Pipeline] isUnix
[Pipeline] sh
$ 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-2739@tmp/78e5b75e-edd4-4f8f-bdc6-0a6675a78ffc/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
14:51:00 + docker tag dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a
[Pipeline] isUnix
[Pipeline] sh
14:51:01 + docker push dockerbuildbot/docker-py:sshdind-2426a5ffd57c49c257988df498f402978e9d901a
14:51:01 The push refers to repository [docker.io/dockerbuildbot/docker-py]
14:51:01 9e366edb5b8e: Preparing
14:51:01 fb106e6afe72: Preparing
14:51:01 d32ac6c369cc: Preparing
14:51:01 2fc27d79b6d6: Preparing
14:51:01 5a0e349f7b23: Preparing
14:51:01 6f1cba97e1e5: Preparing
14:51:01 04eeeedb94bd: Preparing
14:51:01 1149e736aa92: Preparing
14:51:01 39e79983ac8b: Preparing
14:51:01 da8c28465f82: Preparing
14:51:01 d1292e236c36: Preparing
14:51:01 8890c171a12b: Preparing
14:51:01 4ae5bd84d450: Preparing
14:51:01 723a561964c8: Preparing
14:51:01 78764725b56c: Preparing
14:51:01 51d6d3d09136: Preparing
14:51:01 1507bc794612: Preparing
14:51:01 50644c29ef5a: Preparing
14:51:01 6f1cba97e1e5: Waiting
14:51:01 04eeeedb94bd: Waiting
14:51:01 1149e736aa92: Waiting
14:51:01 39e79983ac8b: Waiting
14:51:01 da8c28465f82: Waiting
14:51:01 d1292e236c36: Waiting
14:51:01 8890c171a12b: Waiting
14:51:01 4ae5bd84d450: Waiting
14:51:01 723a561964c8: Waiting
14:51:01 78764725b56c: Waiting
14:51:01 51d6d3d09136: Waiting
14:51:01 1507bc794612: Waiting
14:51:01 50644c29ef5a: Waiting
14:51:01 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