Push event to branch replace_paramiko Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d96666881d2ece3be7a6ea1c638f76fee4ee1af0 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 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/a02df783-2db5-4660-8c35-286da1e844d6/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 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/docker-py_replace_paramiko:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags 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 Checking out Revision d96666881d2ece3be7a6ea1c638f76fee4ee1af0 (replace_paramiko) Commit message: "fix ssh key path" [Pipeline] sh + git rev-parse HEAD [Pipeline] isUnix [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d96666881d2ece3be7a6ea1c638f76fee4ee1af0 # timeout=10 > git rev-list --no-walk 2c975c8f1121542c62313a7a4cfc7c2b73ff3e13 # timeout=10 + docker pull ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 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 + docker build -t ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 -f tests/Dockerfile-ssh-dind . Sending build context to Docker daemon 1.359MB Step 1/12 : ARG API_VERSION=1.39 Step 2/12 : ARG ENGINE_VERSION=19.03.12 Step 3/12 : FROM docker:${ENGINE_VERSION}-dind ---> 66dc2d45749a Step 4/12 : RUN apk add --no-cache openssh ---> Using cache ---> 934457935ea4 Step 5/12 : RUN ssh-keygen -A ---> Using cache ---> 9d5745fb3372 Step 6/12 : RUN ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa ---> Using cache ---> 49a61375b6de Step 7/12 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys ---> Using cache ---> 53c80cd85b1f Step 8/12 : RUN chmod 600 /root/.ssh/authorized_keys ---> Using cache ---> d06a1250b6c0 Step 9/12 : RUN echo "IgnoreUserKnownHosts yes" >> /etc/ssh/sshd_config && echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config && echo "PermitRootLogin yes" >> /etc/ssh/sshd_config ---> Using cache ---> 6d47d9921897 Step 10/12 : RUN echo "root:root" | chpasswd ---> Using cache ---> 0d649cea261b Step 11/12 : RUN ln -s /usr/local/bin/docker /usr/bin/docker ---> Using cache ---> 67147798bfe7 Step 12/12 : EXPOSE 22 ---> Using cache ---> 7a52c43e3fcc Successfully built 7a52c43e3fcc Successfully tagged ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 [Pipeline] isUnix [Pipeline] sh + docker tag ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 [Pipeline] isUnix [Pipeline] sh + docker push ssh-dind:d96666881d2ece3be7a6ea1c638f76fee4ee1af0 The push refers to repository [docker.io/library/ssh-dind] c41bc0cd7715: Preparing a4856323840d: Preparing c90929c8fdad: Preparing 9d09c55265ef: Preparing 73abe12c53fa: Preparing 8c3bbef3c1bd: Preparing e7ea566cbd60: Preparing 03f517b4ad81: Preparing 1149e736aa92: Preparing 39e79983ac8b: Preparing da8c28465f82: Preparing d1292e236c36: Preparing 8890c171a12b: Preparing 4ae5bd84d450: Preparing 723a561964c8: Preparing 78764725b56c: Preparing 51d6d3d09136: Preparing 1507bc794612: Preparing 50644c29ef5a: Preparing 8c3bbef3c1bd: Waiting e7ea566cbd60: Waiting 03f517b4ad81: Waiting 1149e736aa92: Waiting 39e79983ac8b: Waiting da8c28465f82: Waiting d1292e236c36: Waiting 8890c171a12b: Waiting 4ae5bd84d450: Waiting 723a561964c8: Waiting 78764725b56c: Waiting 51d6d3d09136: Waiting 1507bc794612: Waiting 50644c29ef5a: Waiting 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