Skip to content
Failed

Console Output

Pull request #3080 opened
10:15:27 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch main at 82cf559b5a641f53e9035b44b91f829f3b4cca80 rather than ca235f015587e8f6c8198c8864705e62790ac423
Obtained Jenkinsfile from 82cf559b5a641f53e9035b44b91f829f3b4cca80
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 4f8fd6a86e521290dafaf7c28eced2a9b21b220a
The recommended git tool is: NONE
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_PR-3080@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
Avoid second fetch
Checking out Revision 4f8fd6a86e521290dafaf7c28eced2a9b21b220a (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4f8fd6a86e521290dafaf7c28eced2a9b21b220a # timeout=10
Commit message: "Merge pull request #26 from docker/add-retry-to-vpn-image-pull"
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
Still waiting to schedule task
‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-08f898d1b035e697e)’ is offline
Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-08f898d1b035e697e) in /home/ubuntu/workspace/docker-py_PR-3080
[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-3080@tmp/0e0a2ba0-18d1-4dac-904b-d9c4659dc316/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
10:17:15 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
10:17:15 chowning workspace
[Pipeline] sh
10:17:16 + pwd
10:17:16 + id -u
10:17:16 + id -g
10:17:16 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-3080:/workspace busybox chown -R 1000:1000 /workspace
10:17:16 Unable to find image 'busybox:latest' locally
10:17:16 latest: Pulling from library/busybox
10:17:16 45a0cdc5c8d3: Pulling fs layer
10:17:17 45a0cdc5c8d3: Verifying Checksum
10:17:17 45a0cdc5c8d3: Download complete
10:17:17 45a0cdc5c8d3: Pull complete
10:17:17 Digest: sha256:3b3128d9df6bbbcc92e2358e596c9fbd722a437a62bafbc51607970e9e3b8869
10:17:17 Status: Downloaded newer image for busybox:latest
[Pipeline] echo
10:17:21 Removing all docker containers
[Pipeline] sh
10:17:21 + docker container ls -aq
[Pipeline] echo
10:17:21 Docker containers have been removed
[Pipeline] echo
10:17:21 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
10:17:21 cleanWorkspace: Workspace is clean.
[Pipeline] stage
[Pipeline] { (build image)
[Pipeline] checkout
10:17:21 The recommended git tool is: git
10:17:23 using credential docker-jenkins-github-credentials
10:17:23 Cloning the remote Git repository
10:17:23 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-3080 # timeout=10
Fetching upstream changes from https://github.com/docker/docker-py.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --force --progress -- https://github.com/docker/docker-py.git +refs/pull/3080/head:refs/remotes/origin/PR-3080 +refs/heads/main:refs/remotes/origin/main # timeout=10
10:17:25 Fetching without tags
10:17:25 Merging remotes/origin/main commit 82cf559b5a641f53e9035b44b91f829f3b4cca80 into PR head commit ca235f015587e8f6c8198c8864705e62790ac423
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

Could not update commit status, please check if your scan credentials belong to a member of the organization or a collaborator of the repository and repo:status scope is selected


GitHub has been notified of this commit’s build result

hudson.plugins.git.GitException: Command "git checkout -f ca235f015587e8f6c8198c8864705e62790ac423" returned status code 128:
stdout: 
stderr: fatal: reference is not a tree: ca235f015587e8f6c8198c8864705e62790ac423

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2639)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$1100(CliGitAPIImpl.java:84)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2956)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-08f898d1b035e697e)
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
		at hudson.remoting.Channel.call(Channel.java:1001)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor853.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy478.execute(Unknown Source)
		at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:145)
		at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:111)
		at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1163)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1302)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:125)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)
		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at java.lang.Thread.run(Thread.java:748)
Caused: hudson.plugins.git.GitException: Could not checkout ca235f015587e8f6c8198c8864705e62790ac423
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2980)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:376)
	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(Thread.java:829)
Finished: FAILURE