Gerrit Replication Error

88 views
Skip to first unread message

Paul Oehler

unread,
May 21, 2018, 3:53:48 AM5/21/18
to Repo and Gerrit Discussion
I'm getting this error trying to replicate a gerrit repo to github.  It seems like the replication just keeps retrying and hitting this error.  Anybody have any ideas on what to try?

[2018-05-17 19:12:27,636] [864b1abd] Cannot replicate to g...@github.com:username/repo.git
org.eclipse.jgit.errors.PackProtocolException: g...@github.com:username/repo.git: expected report for ref refs/heads/ha-general not received
        at org.eclipse.jgit.transport.BasePackPushConnection.readStatusReport(BasePackPushConnection.java:415)
        at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:221)
        at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:170)
        at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:172)
        at org.eclipse.jgit.transport.Transport.push(Transport.java:1310)
        at org.eclipse.jgit.transport.Transport.push(Transport.java:1356)
        at com.googlesource.gerrit.plugins.replication.PushOne.pushVia(PushOne.java:450)
        at com.googlesource.gerrit.plugins.replication.PushOne.runImpl(PushOne.java:429)
        at com.googlesource.gerrit.plugins.replication.PushOne.runPushOperation(PushOne.java:314)
        at com.googlesource.gerrit.plugins.replication.PushOne.access$000(PushOne.java:80)
        at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:279)
        at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:276)
        at com.google.gerrit.server.util.RequestScopePropagator.lambda$cleanup$1(RequestScopePropagator.java:212)
        at com.google.gerrit.server.util.RequestScopePropagator.lambda$context$0(RequestScopePropagator.java:191)
        at com.google.gerrit.server.git.PerThreadRequestScope$Propagator.lambda$scope$0(PerThreadRequestScope.java:73)
        at com.googlesource.gerrit.plugins.replication.PushOne.run(PushOne.java:283)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:435)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)


Best,

Paul

Luca Milanesio

unread,
May 21, 2018, 3:59:32 AM5/21/18
to Paul Oehler, Luca Milanesio, Repo and Gerrit Discussion
So, happened to me as well on GerritHub.io :-(

How many refs do you have on your repo?
(git show-ref | wc -l)

If you try to perform the same push via Git CLI you will see something like:
remote: Internal Server Error

So I've already raised an incident with GitHub (I am a paying customer) and they acknowledged the bug. However, it isn't fixed yet :-(
You can definitely reproduce the problem without Gerrit.

Luca. 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages