Does it succeed with the command line git provider, or is it failing with
both command line and jgit?

I thought "missing commit" usually meant that the git repository was
corrupt and needed to be rebuilt.

Which of the repositories contain that SHA1?  (Is it in the Gerrit repo and
not in the Jenkins repo, or vice versa)?

Mark Waite


On Mon, Oct 28, 2013 at 7:01 AM, Nigel Magnay <nigel.mag...@gmail.com>wrote:

> Has anyone got the above combination to work?
>
> Our jenkins seems obsessed with building wrong versions. I'm not sure
> which of the vague "Usage with the Git plugin" options (here
> https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger) are valid,
> and our gerrit server is spitting errors such as:
>
> [2013-10-28 12:58:36,274] ERROR com.google.gerrit.sshd.BaseCommand :
> Internal server error (user jenkins account 1000001) during git-upload-pack
> '/realtime'
>
> org.eclipse.jgit.transport.UploadPackInternalServerErrorException
>
>         at
> org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1041)
>
>         at
> org.eclipse.jgit.transport.UploadPack.service(UploadPack.java:612)
>
>         at
> org.eclipse.jgit.transport.UploadPack.upload(UploadPack.java:521)
>
>         at com.google.gerrit.sshd.commands.Upload.runImpl(Upload.java:57)
>
>         at
> com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:101)
>
>         at
> com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:32)
>
>         at
> com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:70)
>
>         at
> com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:429)
>
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
>
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
>
>         at
> com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:337)
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
>         at java.lang.Thread.run(Thread.java:662)
>
> Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing commit
> 58d4ae5cb97e1a946f8ddeb168baaa6d781c7775
>
>         at
> org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:149)
>
>         at
> org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:853)
>
>         at
> org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:142)
>
>         at
> org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)
>
>         at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:414)
>
>         at org.eclipse.jgit.revwalk.ObjectWalk.next(ObjectWalk.java:261)
>
>         at
> org.eclipse.jgit.internal.storage.pack.PackWriter.findObjectsToPack(PackWriter.java:1753)
>
>         at
> org.eclipse.jgit.internal.storage.pack.PackWriter.preparePack(PackWriter.java:797)
>
>         at
> org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1150)
>
>         at
> org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1035)
>
>         ... 16 more
>
>
> Which is odd, as that's not the SHA1 the change set is trying to build...
>
>
>  --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to