Hi all, After upgrading to Jenkins 2.60.2 (with git client plugin 2.5.0 and git-plugin from 3.5.1), we noticed a JGit issue whith multibranch pipeline trying to fetch the git reference matching the latest Pull Request from Bitbucket, here is the stacktrace:
[Bitbucket] Build result notified > org.eclipse.jgit.errors.MissingObjectException: Missing unknown > 448a6f19a4cf288969715abf248eddd174db63a7 > at > org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:158) > at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:227) > at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:859) > at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:772) > at > hudson.plugins.git.util.RevCommitRepositoryCallback.invoke(RevCommitRepositoryCallback.java:25) > at > hudson.plugins.git.util.RevCommitRepositoryCallback.invoke(RevCommitRepositoryCallback.java:13) > at > org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29) > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:71) > at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1195) > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1159) > at > org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) > at > org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130) > at > org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120) > at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:263) > at hudson.model.ResourceController.execute(ResourceController.java:97) > at hudson.model.Executor.run(Executor.java:405) > In the other and, the mentionned sha1 exists and git fsck does not report any corruption symptoms. Moreover, C-git (installed on the agent) is able to fetch this sha1. The issue and the stacktrace we've got are too close to what was reported in the link below: https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-45729 However, the fix provided right there is more for another problem with git submodules rather than PRs. Could you please advise ? Thank you. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9e757f8a-d203-4091-a89f-97bb7d091060%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
