-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.346.1 LTS
git forensics 1.9.0
code-coverage-api 3.0.0
I'm not sure why we see this only on some branches or PRs, but the build fails then with this error when calculating code coverage with the code coverage api plugin.
{{}}
13:37:51 [Coverage] [-ERROR-] Errors while reporting code coverage results: 13:37:51 [Coverage] [-ERROR-] Computing delta information failed with an exception: 13:37:51 [Coverage] [-ERROR-] org.eclipse.jgit.errors.MissingObjectException: Missing unknown b0bf240636ead93d427d344f994de2b36a4f64bd 13:37:51 [Coverage] [-ERROR-] at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:135) 13:37:51 [Coverage] [-ERROR-] at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:212) 13:37:51 [Coverage] [-ERROR-] at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:1068) 13:37:51 [Coverage] [-ERROR-] at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:978) 13:37:51 [Coverage] [-ERROR-] at io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.calculateDelta(DeltaRepositoryCallback.java:86) 13:37:51 [Coverage] [-ERROR-] at io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.invoke(DeltaRepositoryCallback.java:70) 13:37:51 [Coverage] [-ERROR-] at io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback.invoke(DeltaRepositoryCallback.java:41) 13:37:51 [Coverage] [-ERROR-] at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29) 13:37:51 [Coverage] [-ERROR-] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:84) 13:37:51 [Coverage] [-ERROR-] at jdk.internal.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at java.base/java.lang.reflect.Method.invoke(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:902) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:854) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.UserRequest.perform(UserRequest.java:211) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.UserRequest.perform(UserRequest.java:54) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.Request$2.run(Request.java:376) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) 13:37:51 [Coverage] [-ERROR-] at java.base/java.util.concurrent.FutureTask.run(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 13:37:51 [Coverage] [-ERROR-] at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:122) 13:37:51 [Coverage] [-ERROR-] at java.base/java.lang.Thread.run(Unknown Source) 13:37:51 [Coverage] Calculating the code delta... 13:37:51 [Coverage] -> Git delta calculator successfully created in working tree '/home/jenkins/agent/workspace/xxx'
{{}}
- links to