Skip to content
Failed

Console Output

Push event to branch replace_paramiko
17:49:48 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13
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
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/jps.git
 > git init /var/cloudbees-jenkins-distribution/workspace/docker-py_replace_paramiko@libs/jps # timeout=10
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
 > git config remote.origin.url https://github.com/docker/jps.git # 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/jps.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/docker/jps.git
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"
First time build. Skipping changelog.
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
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-02e378b5bfd52a1f6) in /home/ubuntu/workspace/docker-py_replace_paramiko
[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_replace_paramiko@tmp/eb9bee06-57cd-42dd-8b1d-d1e151b55187/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:49:50 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
17:49:50 chowning workspace
[Pipeline] sh
17:49:50 + pwd
17:49:50 + id -u
17:49:50 + id -g
17:49:50 + docker run --rm -v /home/ubuntu/workspace/docker-py_replace_paramiko:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
17:49:51 Removing all docker containers
[Pipeline] sh
17:49:51 + docker container ls -aq
17:49:51 + docker container rm -vf 91e707047cac
17:49:51 91e707047cac
[Pipeline] echo
17:49:51 Docker containers have been removed
[Pipeline] echo
17:49:51 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
17:49:51 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
17:49:51 using credential docker-jenkins-github-credentials
17:49:51 Cloning the remote Git repository
17:49:51 Cloning with configured refspecs honoured and without tags
17:49:52 Fetching without tags
17:49:52 Checking out Revision 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 (replace_paramiko)
Cloning repository https://github.com/docker/docker-py.git
 > git init /home/ubuntu/workspace/docker-py_replace_paramiko # 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/heads/replace_paramiko:refs/remotes/origin/replace_paramiko # timeout=10
 > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/replace_paramiko:refs/remotes/origin/replace_paramiko # 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/heads/replace_paramiko:refs/remotes/origin/replace_paramiko # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 # timeout=10
17:49:52 Commit message: "Update jenkins test pipeline"
17:49:52 First time build. Skipping changelog.
[Pipeline] sh
17:49:53 + git rev-parse HEAD
[Pipeline] isUnix
[Pipeline] sh
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0
17:49:53 + docker pull ssh-dind:2c975c8f1121542c62313a7a4cfc7c2b73ff3e13
17:49:53 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:54 + docker build -t ssh-dind:2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 -f tests/Dockerfile-ssh-dind .
17:49:54 Sending build context to Docker daemon  1.359MB

17:49:54 Step 1/12 : ARG API_VERSION=1.39
17:49:54 Step 2/12 : ARG ENGINE_VERSION=19.03.12
17:49:54 Step 3/12 : FROM docker:${ENGINE_VERSION}-dind
17:49:54  ---> 66dc2d45749a
17:49:54 Step 4/12 : RUN apk add --no-cache 		openssh
17:49:54  ---> Using cache
17:49:54  ---> 934457935ea4
17:49:54 Step 5/12 : RUN ssh-keygen -A
17:49:54  ---> Using cache
17:49:54  ---> 9d5745fb3372
17:49:54 Step 6/12 : RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
17:49:54  ---> Using cache
17:49:54  ---> 49a61375b6de
17:49:54 Step 7/12 : RUN cat /root/ssh/id_rsa.pub > /root/.ssh/authorized_keys
17:49:54  ---> Running in 5da54c1fb95c
17:49:54 cat: can't open '/root/ssh/id_rsa.pub': No such file or directory
17:49:54 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