Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MarkEWaite/9b8e04e4bba46ff1e6e076125ad94aee to your computer and use it in GitHub Desktop.
Save MarkEWaite/9b8e04e4bba46ff1e6e076125ad94aee to your computer and use it in GitHub Desktop.
Java 11 Jenkins 2.164.1 master on docker DevOptics stack trace for commit spool upload from Windows agent over ssh
Error building Git commit spool upload data for remote 'https://github.com/MarkEWaite/jenkins-bugs-private'.
com.cloudbees.devoptics.deliver.jenkins.MultiException: transfer failed with multiple-causes
java.io.EOFException
at java.base/java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:3062)
at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1561)
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:430)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.read(CommitSpoolBuilder.java:150)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.lambda$build$0(CommitSpoolBuilder.java:109)
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor.transfer(AbstractRemoteAgentExecutor.java:50)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.build(CommitSpoolBuilder.java:106)
at com.cloudbees.devoptics.deliver.gcgs.CheckoutListener.onCheckout(CheckoutListener.java:71)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
java.util.concurrent.ExecutionException: org.eclipse.jgit.errors.RevWalkException: Walk failure.
at hudson.remoting.Channel$2.adapt(Channel.java:994)
at hudson.remoting.Channel$2.adapt(Channel.java:988)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor.transfer(AbstractRemoteAgentExecutor.java:70)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.build(CommitSpoolBuilder.java:106)
at com.cloudbees.devoptics.deliver.gcgs.CheckoutListener.onCheckout(CheckoutListener.java:71)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.eclipse.jgit.errors.RevWalkException: Walk failure.
at org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1324)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.write(CommitSpoolBuilder.java:201)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.lambda$build$94e38a2b$1(CommitSpoolBuilder.java:108)
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor$1.invoke(AbstractRemoteAgentExecutor.java:46)
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor$1.invoke(AbstractRemoteAgentExecutor.java:43)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3041)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to mark-pc4-ssh
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel$2.adapt(Channel.java:992)
at hudson.remoting.Channel$2.adapt(Channel.java:988)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor.transfer(AbstractRemoteAgentExecutor.java:70)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.build(CommitSpoolBuilder.java:106)
at com.cloudbees.devoptics.deliver.gcgs.CheckoutListener.onCheckout(CheckoutListener.java:71)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing commit c2a9e211353418d8a3ead5c6e1532d209fc19b61
at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:159)
at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:903)
at org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:155)
at org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:147)
at org.eclipse.jgit.revwalk.TopoSortGenerator.<init>(TopoSortGenerator.java:78)
at org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:166)
at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:435)
at org.eclipse.jgit.revwalk.RevWalk.iterator(RevWalk.java:1322)
... 13 more
at com.cloudbees.devoptics.deliver.jenkins.AbstractRemoteAgentExecutor.transfer(AbstractRemoteAgentExecutor.java:72)
at com.cloudbees.devoptics.deliver.gcgs.CommitSpoolBuilder.build(CommitSpoolBuilder.java:106)
at com.cloudbees.devoptics.deliver.gcgs.CheckoutListener.onCheckout(CheckoutListener.java:71)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
@MarkEWaite
Copy link
Author

As far as I can tell, that is referring to a job that is building the branch named 'JENKINS-49111' from my repository 'jenkins-bugs-private'. The SHA1 hash that is being sought is in the JENKINS-49111 branch although it is not the tip of the branch, it is one commit behind the tip of the branch. If the repository were a shallow clone with a depth of 1, it is possible that the message "object not found c2a9e211353418d8a3ead5c6e1532d209fc19b61" is expected, since that commit might not have been pulled with a shallow commit.

Thus, I'm not sure if this is a real bug or just an indication that DevOptics correctly detected that a commit from the history is not available in the specific workspace it was checking.

The Java 11 Jenkins server that is running a similar set of jobs has not shown that error in its 6 GB log file. However, that may just indicate that it had not run the job within the time of the log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment