My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3169: Gerrit crashes on the second push
2 people starred this issue and may be notified of changes. Back to list
Status:  AwaitingInformation
Owner:  ----


Sign in to add a comment
 
Reported by bad.asso...@gmail.com, Feb 9, 2015
Affected Version: 2.9.4

What steps will reproduce the problem?
1. Create a new project called "mc1"
2. Pushed my existing project called "mc" to the new gerrit project
3. Got some errors related to access rigths.. fixed them or not.. it doesn
't really matter
4. Pushed again - Gerrit killed

What is the expected output? What do you see instead?

Expected result is that Gerrit doesn't crash if nothing else.

The first push:

gerrit2@host:~/mc$ git push ssh://admin@localhost:30000/mc1 *:*
Enter passphrase for key '/home/gerrit2/.ssh/id_rsa':
Counting objects: 318, done.
Compressing objects: 100% (221/221), done.
Writing objects: 100% (318/318), 96.02 MiB | 14.42 MiB/s, done.
Total 318 (delta 65), reused 318 (delta 65)
remote: Resolving deltas: 100% (65/65)
remote: Processing changes: refs: 5, done
remote:
remote: ERROR:  In commit <some commit sha1>
remote: ERROR:  author email address <some email>
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    <my email>
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  http://<gerrit canonical url>/#/settings/contact
remote:
remote:
To ssh://admin@localhost:30000/mc1
 ! [remote rejected] master -> master (invalid author)
 ! [remote rejected] origin/3.5 -> origin/3.5 (prohibited by Gerrit)
 ! [remote rejected] origin/3.6 -> origin/3.6 (prohibited by Gerrit)
 ! [remote rejected] origin/HEAD -> origin/HEAD (prohibited by Gerrit)
 ! [remote rejected] origin/master -> origin/master (prohibited by Gerrit)
error: failed to push some refs to 'ssh://admin@localhost:30000/mc1'

The second push:

gerrit2@host:~/mc$ git push ssh://admin@localhost:30000/mc1 *:*
Enter passphrase for key '/home/gerrit2/.ssh/id_rsa':
Counting objects: 318, done.
Compressing objects: 100% (221/221), done.
Writing objects: 100% (318/318), 96.02 MiB | 14.62 MiB/s, done.
Total 318 (delta 65), reused 318 (delta 65)
Connection to localhost closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

Please provide any additional information below.

I followed this article: https://review.openstack.org/Documentation/install-quick.html#_already_existing_project

I can reproduce it anytime, so it doesn't seem to be a temporary problem related to network or something like that.

OS:
Ubuntu 14.04 LTS
KiB Mem:
1016280 total,   718232 used,   298048 free
HDD:
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1       32G  4.3G   26G  15% /


Feb 12, 2015
Project Member #1 david.pu...@sonymobile.com
Please provide logs from the server showing any exception stack traces.
Status: AwaitingInformation
Feb 13, 2015
#2 bad.asso...@gmail.com
I don't see any error stacktraces in gerrit logs.. Just let me know if you need any other logs.

logs/error_log

[2015-02-13 12:37:11,335] INFO  com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /home/gerrit2/gerrit/cache
[2015-02-13 12:37:14,368] WARN  com.google.gerrit.sshd.SshDaemon : Disabling cipher arcfour256: Parameters not supported
[2015-02-13 12:37:14,369] WARN  com.google.gerrit.sshd.SshDaemon : Disabling cipher arcfour128: Parameters not supported
[2015-02-13 12:37:14,399] WARN  com.google.gerrit.httpd.GitWebConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found)
[2015-02-13 12:37:15,802] INFO  com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 121m
[2015-02-13 12:37:15,835] INFO  com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /home/gerrit2/gerrit/plugins
[2015-02-13 12:37:16,027] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin deleteproject, version 2.9
[2015-02-13 12:37:16,536] INFO  com.google.gerrit.sshd.SshDaemon : Started Gerrit SSHD-CORE-0.9.0-4-G5967CFD on *:30000
[2015-02-13 12:37:16,614] INFO  org.eclipse.jetty.server.Server : jetty-9.1.0.v20131115
[2015-02-13 12:37:17,973] INFO  org.eclipse.jetty.server.handler.ContextHandler : Started o.e.j.s.ServletContextHandler@217c40eb{/,file:/home/gerrit2/gerrit/tmp/gerrit_1948898969557844583_app/gerrit_war/,AVAILABLE}
[2015-02-13 12:37:18,125] INFO  org.eclipse.jetty.server.ServerConnector : Started ServerConnector@10a0d371{HTTP/1.1}{0.0.0.0:8181}
[2015-02-13 12:37:18,128] INFO  com.google.gerrit.pgm.Daemon : Gerrit Code Review 2.9.4 ready

logs/sshd_log

[2015-02-13 12:40:11,751 +0000] c4bc7f19 admin a/1000000 LOGIN FROM 0:0:0:0:0:0:0:1
[2015-02-13 12:40:15,159 +0000] c4bc7f19 admin a/1000000 git-receive-pack./mc 11ms 5ms 1
[2015-02-13 12:40:15,191 +0000] c4bc7f19 admin a/1000000 LOGOUT
[2015-02-13 12:40:36,725 +0000] 64ab53d2 admin a/1000000 LOGIN FROM 0:0:0:0:0:0:0:1

Sign in to add a comment

Powered by Google Project Hosting