On 21 Aug 2019, at 09:12, young yang <njitdk...@gmail.com> wrote:Hello Luca,I checked the error_log, and it shows:[2019-08-21 07:55:57,204] [SSH git-upload-pack /tools/repo.git (jenkinsSZ)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user jenkinsSZ account 1000083) during git-upload-pack '/tools/repo.git'
org.apache.sshd.common.channel.exception.SshChannelClosedException: write(ChannelOutputStream[ChannelSession[id=0, recipient=0]-ServerSessionImpl[jenkinsSZ@/172.31.48.13:50498]] SSH_MSG_CHANNEL_DATA) len=65520 - channel already closed
at org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:110)
at org.eclipse.jgit.transport.UploadPack$ResponseBufferedOutputStream.write(UploadPack.java:2183)
at org.eclipse.jgit.transport.SideBandOutputStream.writeBuffer(SideBandOutputStream.java:174)
at org.eclipse.jgit.transport.SideBandOutputStream.write(SideBandOutputStream.java:153)
at org.eclipse.jgit.internal.storage.pack.PackOutputStream.write(PackOutputStream.java:132)
at org.eclipse.jgit.internal.storage.file.ByteArrayWindow.write(ByteArrayWindow.java:91)
at org.eclipse.jgit.internal.storage.file.PackFile.copyAsIs2(PackFile.java:561)
at org.eclipse.jgit.internal.storage.file.PackFile.copyAsIs(PackFile.java:413)
at org.eclipse.jgit.internal.storage.file.WindowCursor.copyObjectAsIs(WindowCursor.java:221)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1644)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeBase(PackWriter.java:1686)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1637)and the gerrit.config looks like:[sshd]
listenAddress = *:29418
maxConnectionsPerUser = 0
On 21 Aug 2019, at 09:33, young yang <njitdk...@gmail.com> wrote:
Hello Luca,
It seems it has no effect, I set the waitTimeout to 300s, and it failed again, and I also calculate the command time:jenkins-slave@CH3UU0008:/tmp$ time git clone ssh://jenk...@review.android.honeywell.com:29418/tools/repo.git
Cloning into 'repo'...
remote: Counting objects: 2863, done
remote: Finding sources: 100% (2863/2863)
Connection to review.android.honeywell.com closed by remote host.
fatal: The remote end hung up unexpectedly1 KiB | 65.00 KiB/s
fatal: early EOFs: 63% (1804/2863), 323.91 KiB | 65.00 KiB/s
fatal: index-pack failed
On 21 Aug 2019, at 09:45, young yang <njitdk...@gmail.com> wrote:Hello Luca:In order to reproduce this issue, I deleted the error_log, and run the command again:# time git clone ssh://jenk...@review.android.honeywell.com:29418/tools/repo.git
Cloning into 'repo'...
remote: Counting objects: 2863, done
remote: Finding sources: 100% (2863/2863)
Connection to review.android.honeywell.com closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
real 0m10.288s
user 0m0.048s
sys 0m0.012sBut I checked the folder log, no error_log file generated:[gerrit@de08u1881 logs]$ ls error_log
ls: cannot access error_log: No such file or directory
On 21 Aug 2019, at 10:11, young yang <njitdk...@gmail.com> wrote:
Hello Luca:
Gerrit is in server: 10.218.130.193 and review.android.honeywell.com is the domain for this ip./home/gerrit/gerrit_hsm8x74/ is the gerrit site.[gerrit@de08u1881 gerrit_hsm8x74]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:BD:1B:F4
inet addr:10.218.130.193 Bcast:10.218.131.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1718742101 errors:0 dropped:0 overruns:0 frame:0
TX packets:1433190318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:323405752993 (301.1 GiB) TX bytes:3782580412412 (3.4 TiB)BR,
On 21 Aug 2019, at 10:24, young yang <njitdk...@gmail.com> wrote:
Hello Luca:
Yes, it should be error_log in the $GERRIT_SITE/logs/, but I don't see any logs here, it should be a bug, any other ways I can debug with this issue?
Hello Luca:In order to reproduce this issue, I deleted the error_log, and run the command again:
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/15f8254e-6993-47ff-b770-9a3049712ae6%40googlegroups.com.
Hello Björn:I made a mistake, I deleted the files under log folder, and gerrit.pid is deleted, so when I restart the gerrit, another gerrit restarted, no logs output.Now, I killed all gerrit, and restart again, log appears.I attached the log, please help check, and the issue is not fixed.
On 22 Aug 2019, at 03:16, young yang <njitdk...@gmail.com> wrote:Hi Matthias:Thanks for your advice, and I have installed delete-projects and reviewers plugins , and I downloaded from https://gerrit-ci.gerritforge.com,The version didn't show 2.16.9, it shows v2.16-140-g1d528f2e6b and 23fea1744b, where can I get the version 2.16.9 for these two plugins?But the first thing I want to solve is the clone error:#git clone ssh://jenk...@review.android.honeywell.com:29418/tools/repo.git
Cloning into 'repo'...
remote: Counting objects: 2863, done
remote: Finding sources: 100% (2863/2863)
Connection to review.android.honeywell.com closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failedI don't know how to solve this problem, any configuration I missed ?
GIT_SSH_COMMAND="ssh -vvv" git clone ...BR,On Thu, Aug 22, 2019 at 3:19 AM Matthias Sohn <matthi...@gmail.com> wrote:On Wed, Aug 21, 2019 at 4:27 PM young yang <njitdk...@gmail.com> wrote:Hello Björn:I made a mistake, I deleted the files under log folder, and gerrit.pid is deleted, so when I restart the gerrit, another gerrit restarted, no logs output.Now, I killed all gerrit, and restart again, log appears.I attached the log, please help check, and the issue is not fixed.The error appearing many times in your logWARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/gerrit/gerrit_hsm8x74/etc/ssh_host_ecdsa_521_key: Invalid DER: object is not an OID: SEQUENCElooks similar toThe delete-projects and reviewers plugins didn't start, looks like you missed to upgrade them to 2.16.Why didn't you upgrade to 2.16.9 and not to the latest 2.16 release which is 2.16.10 ?-Matthias
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAMq6a3y8bBfE%3DkP7Lw4J3QNvMQ9maaKKULvyxYuniJWbBOGekg%40mail.gmail.com.
On 22 Aug 2019, at 17:14, young yang <njitdk...@gmail.com> wrote:Hi Luca:I did as you said, I upgraded gerrit from 2.16.9 to 2.16.10,
and no key warning appears now.I tried again, and get the error message from errror_log, could you help me what the problem is?#git clone "ssh://h12...@review.android.honeywell.com:29418/tools/repo"
Cloning into 'repo'...
remote: Counting objects: 2867, done
remote: Finding sources: 100% (2867/2867)
Connection to review.android.honeywell.com closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed