Hi All,
I am trying to use one of the branch & tag into our gerrit instance. But i am getting fatal error while pushing the branch and tag together by using the below steps.
The SSH idletimeout value has been given as 10M in the gerrit.config.
Please let me know if i am missing any thing here.
Steps:
git clone ssh://<user_name>@<hostname>:8282/test_repo
cd test_repo
git fetch upstream
git checkout v5.1.15
git checkout -b 5.1.x/master v5.1.15
git push origin 5.1.x/master v5.1.15
Error:
time git push origin 5.1.x/master
Total 0 (delta 0), reused 0 (delta 0)
Connection to hostname closed by remote host.
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
real 10m0.492s
user 0m0.195s
sys 0m0.108s
Error Log:
[2019-07-17 13:23:39,003] [sshd-SshServer[74727e41]-nio2-thread-15] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[ID@/IP:47200])[state=Opened] InterruptedByTimeoutException: null
[2019-07-17 13:23:39,003] [SSH git-receive-pack /REPO (ID)] WARN com.google.gerrit.server.git.AsyncReceiveCommits : Error in ReceiveCommits while processing changes for project REPO
java.util.concurrent.ExecutionException: java.lang.InterruptedException
at com.google.gerrit.server.git.MultiProgressMonitor.waitFor(MultiProgressMonitor.java:208)
at com.google.gerrit.server.git.AsyncReceiveCommits.onPreReceive(AsyncReceiveCommits.java:153)
at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:266)
at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:208)
at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:93)
at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:97)
at com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:30)
at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:63)
at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:453)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:528)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Unknown Source)
at java.util.concurrent.TimeUnit.timedWait(Unknown Source)
at com.google.gerrit.server.git.MultiProgressMonitor.waitFor(MultiProgressMonitor.java:206)
... 16 more
[2019-07-17 13:23:39,009] [SSH git-receive-pack project (user)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user account id) during git-receive-pack '/repo'
org.apache.sshd.common.SshException: write(ChannelOutputStream[ChannelSession[id=0, recipient=0]-ServerSessionImpl[user@/IP:47200]] SSH_MSG_CHANNEL_DATA) len=65520 - channel already closed
at org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:106)
at org.eclipse.jgit.transport.SideBandOutputStream.writeBuffer(SideBandOutputStream.java:171)
at org.eclipse.jgit.transport.SideBandOutputStream.flushBuffer(SideBandOutputStream.java:127)
at org.eclipse.jgit.transport.BaseReceivePack.close(BaseReceivePack.java:1790)
at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:211)
at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:93)
at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:97)
at com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:30)
at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:63)
at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:453)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:528)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)