Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45729

git jgit missing object exception

    Details

    • Similar Issues:

      Description

       

      org.eclipse.jgit.errors.MissingObjectException: Missing unknown c67d289233e6413f25f25464270f571ef716d757
      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 sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:324)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at hudson.remoting.Engine$1$1.run(Engine.java:63)
      at java.lang.Thread.run(Thread.java:748)
      at ......remote call to Channel to /10.166.29.53(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      at hudson.remoting.Channel.call(Channel.java:830)
      at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
      at com.sun.proxy.$Proxy77.withRepository(Unknown Source)
      at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:235)
      at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1189)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1153)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
      at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      at hudson.security.ACL.impersonate(ACL.java:260)
      at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      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:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Finished: FAILURE

      I see the above exception which continuously fails the job. I am able to successfully clone the repository in question outside of Jenkins, and I have since tried deleting the entire workspace of the Jenkins job, as well as completely re-cloned and re-uploaded the repository in question, other instances of jobs which pull this change and test appear to work as expected.

        Attachments

          Issue Links

            Activity

            jekeller Jacob Keller created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Assignee Mark Waite [ markewaite ] Jacob Keller [ jekeller ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jekeller Jacob Keller made changes -
            Description Triggered by Gerrit:
            [https://git-amr-1.devtools.intel.com/gerrit/168044]
            Checking out groovy pipeline code to read HOOKS/jenkins/pipeline/ifc.groovy
             > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
             > git config remote.origin.url ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-hooks # timeout=10
            Fetching upstream changes from ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-hooks
             > git --version # timeout=10
            using GIT_SSH to set credentials ND Linux CI Server
             > git fetch --tags --progress ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-hooks +refs/heads/*:refs/remotes/origin/*
             > git rev-parse refs/remotes/origin/master^\{commit} # timeout=10
             > git rev-parse refs/remotes/origin/origin/master^\{commit} # timeout=10
            Checking out Revision 1a2eac01cba8f94779f5528e9692ac489f27114c (refs/remotes/origin/master)
            Commit message: "sync-gerrit-mirrors: add additional channel transport check"
             > git config core.sparsecheckout # timeout=10
             > git checkout -f 1a2eac01cba8f94779f5528e9692ac489f27114c
             > git rev-list 1a2eac01cba8f94779f5528e9692ac489f27114c # timeout=10
            Loading library GroovyLib@master
             > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
             > git config remote.origin.url
            [http://gitbucket.jf.intel.com/git/jekeller/jenkins-groovy-lib.git]
             # timeout=10
            Fetching upstream changes from
            [http://gitbucket.jf.intel.com/git/jekeller/jenkins-groovy-lib.git]
             > git --version # timeout=10
            Setting http proxy: proxy-chain.intel.com:911
             > git fetch --tags --progress
            [http://gitbucket.jf.intel.com/git/jekeller/jenkins-groovy-lib.git]
             +refs/heads/*:refs/remotes/origin/*
             > git rev-parse refs/remotes/origin/master^\{commit} # timeout=10
             > git rev-parse refs/remotes/origin/origin/master^\{commit} # timeout=10
            Checking out Revision b10e58acde484439b09bea0efe8e3ed6db44f2b8 (refs/remotes/origin/master)
            Commit message: "gerritSubmodule: document the gerritSubmodule function"
             > git config core.sparsecheckout # timeout=10
             > git checkout -f b10e58acde484439b09bea0efe8e3ed6db44f2b8
             > git rev-list b10e58acde484439b09bea0efe8e3ed6db44f2b8 # timeout=10
            [Pipeline] node
            Running on fedora-rawhide-47dfd82d in /home/jenkins/workspace/ifc/pipeline@2
            [Pipeline] \{
            [Pipeline] stage
            [Pipeline] \{ (git)
            [Pipeline] checkout
            Cloning the remote Git repository
            Cloning repository ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux
             > git init /home/jenkins/workspace/ifc/pipeline@2 # timeout=10
            Fetching upstream changes from ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux
             > git --version # timeout=10
            using GIT_SSH to set credentials ND Linux CI Server
             > git fetch --tags --progress ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux +refs/heads/*:refs/remotes/origin/*
             > git config remote.origin.url ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux # timeout=10
             > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
             > git config remote.origin.url ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux # timeout=10
            Fetching upstream changes from ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux
            using GIT_SSH to set credentials ND Linux CI Server
             > git fetch --tags --progress ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_sw_cloud-ifc_linux +refs/heads/*:refs/remotes/origin/*
             > git rev-parse origin/master^\{commit} # timeout=10
            Checking out Revision ac79b0c304997975d6badb05558fbed77c245050 (origin/master)
            Commit message: "ifc: Update compat reference"
             > git config core.sparsecheckout # timeout=10
             > git checkout -f ac79b0c304997975d6badb05558fbed77c245050
             > git rev-list ac79b0c304997975d6badb05558fbed77c245050 # timeout=10
            Cleaning workspace
             > git rev-parse --verify HEAD # timeout=10
            Resetting working tree
             > git reset --hard # timeout=10
             > git clean -fdx # timeout=10
             > git submodule foreach --recursive git reset --hard # timeout=10
             > git submodule foreach --recursive git clean -fdx # timeout=10
             > git remote # timeout=10
             > git submodule init # timeout=10
             > git submodule sync # timeout=10
             > git config --get remote.origin.url # timeout=10
             > git submodule init # timeout=10
             > git config -f .gitmodules --get-regexp ^submodule\.(.*)\.url # timeout=10
             > git config --get submodule.src/SHARED.url # timeout=10
             > git remote # timeout=10
             > git config --get remote.origin.url # timeout=10
             > git config -f .gitmodules --get submodule.src/SHARED.path # timeout=10
            using GIT_SSH to set credentials ND Linux CI Server
             > git submodule update --init --recursive src/SHARED
             > git config --get submodule.src/COMPAT.url # timeout=10
             > git remote # timeout=10
             > git config --get remote.origin.url # timeout=10
             > git config -f .gitmodules --get submodule.src/COMPAT.path # timeout=10
            using GIT_SSH to set credentials ND Linux CI Server
             > git submodule update --init --recursive src/COMPAT
            [Pipeline] checkout
             > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
             > git config remote.origin.url ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-compat # timeout=10
            Fetching upstream changes from ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-compat
             > git --version # timeout=10
            using GIT_SSH to set credentials ND Linux CI Server
             > git fetch --tags --progress ssh://jbrandeb-host.jf.intel.com/home/jenkins/mirrors/nd_linux-compat refs/changes/44/168044/4
             > git rev-parse c67d289233e6413f25f25464270f571ef716d757^\{commit} # timeout=10
            Checking out Revision c67d289233e6413f25f25464270f571ef716d757 (refs/changes/44/168044/4)
            [Pipeline] }
            [Pipeline] // stage
            [Pipeline] }
            [Pipeline] // node
            [Pipeline] End of Pipeline
            org.eclipse.jgit.errors.MissingObjectException: Missing unknown c67d289233e6413f25f25464270f571ef716d757
            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 sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:498)
            at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320)
            at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295)
            at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254)
            at hudson.remoting.UserRequest.perform(UserRequest.java:121)
            at hudson.remoting.UserRequest.perform(UserRequest.java:49)
            at hudson.remoting.Request$2.run(Request.java:324)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at hudson.remoting.Engine$1$1.run(Engine.java:63)
            at java.lang.Thread.run(Thread.java:748)
            at ......remote call to Channel to /10.166.29.53(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
            at hudson.remoting.Channel.call(Channel.java:830)
            at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
            at com.sun.proxy.$Proxy77.withRepository(Unknown Source)
            at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:235)
            at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1189)
            at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1153)
            at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
            at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
            at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
            at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
            at hudson.security.ACL.impersonate(ACL.java:260)
            at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
            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:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)
            Finished: FAILURE

            I see the above exception which continuously fails the job. I am able to successfully clone the repository in question outside of Jenkins, and I have since tried deleting the entire workspace of the Jenkins job, as well as completely re-cloned and re-uploaded the repository in question, other instances of jobs which pull this change and test appear to work as expected.
             

            org.eclipse.jgit.errors.MissingObjectException: Missing unknown c67d289233e6413f25f25464270f571ef716d757
             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 sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:498)
             at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320)
             at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295)
             at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254)
             at hudson.remoting.UserRequest.perform(UserRequest.java:121)
             at hudson.remoting.UserRequest.perform(UserRequest.java:49)
             at hudson.remoting.Request$2.run(Request.java:324)
             at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
             at java.util.concurrent.FutureTask.run(FutureTask.java:266)
             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
             at hudson.remoting.Engine$1$1.run(Engine.java:63)
             at java.lang.Thread.run(Thread.java:748)
             at ......remote call to Channel to /10.166.29.53(Native Method)
             at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
             at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
             at hudson.remoting.Channel.call(Channel.java:830)
             at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
             at com.sun.proxy.$Proxy77.withRepository(Unknown Source)
             at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:235)
             at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1189)
             at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1153)
             at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
             at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
             at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
             at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
             at hudson.security.ACL.impersonate(ACL.java:260)
             at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
             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:1142)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
             at java.lang.Thread.run(Thread.java:745)
             Finished: FAILURE

            I see the above exception which continuously fails the job. I am able to successfully clone the repository in question outside of Jenkins, and I have since tried deleting the entire workspace of the Jenkins job, as well as completely re-cloned and re-uploaded the repository in question, other instances of jobs which pull this change and test appear to work as expected.
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Assignee Jacob Keller [ jekeller ] Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-46628 [ JENKINS-46628 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                markewaite Mark Waite
                Reporter:
                jekeller Jacob Keller
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: