Push fails silently - tests fail but not sure why

49 views
Skip to first unread message

Matt Durak

unread,
Oct 2, 2013, 11:41:39 PM10/2/13
to gito...@googlegroups.com
I've got gitolite setup and I'm able to clone the repo. But when I add keys and change the config and commit, the push fails silently. It looks successful on the client, but the files are not added on the server. I wasn't able to figure out why or what to look for. The system is CentOS 6 and I have tried disabling SELinux but the problem persists.

The logs show this:

2013-09-29.11:18:49 25508 ssh ARGV=gitolite SOC=git-receive-pack 'gitolite-admin' FROM=192.168.1.201
2013-09-29.11:18:49 25508 access(gitolite-admin, gitolite, W, 'any'),-> refs/.*
2013-09-29.11:18:49 25508 trigger,Writable,access_1,ACCESS_1,gitolite-admin,gitolite,W,any,refs/.*
2013-09-29.11:18:49 25508 pre_git gitolite-admin gitolite W any refs/.*
2013-09-29.11:18:49 25508 system,git,shell,-c,git-receive-pack '/var/lib/gitolite/repositories/gitolite-admin.git'
2013-09-29.11:18:49 25508 END

The test results for t/ssh*

[gittest@srv gitolite]$ GITOLITE_TEST=y prove t/ssh*
t/ssh-authkeys.t .. 16/49 # FAIL: /carol.pub duplicates.*non-gitolite key/
test number 25
L: 27: gitolite ../triggers/post-compile/ssh-authkeys; ok; /carol.pub duplicates.*non-gitolite key/
results:
# FAIL: /carol.pub duplicates.*non-gitolite key/
test number 33
L: 36: gitolite ../triggers/post-compile/ssh-authkeys; ok; /carol.pub duplicates.*non-gitolite key/
results:
# FAIL: /dave.pub duplicates.*non-gitolite key/
test number 34
L: 37: /dave.pub duplicates.*non-gitolite key/
results:
# FAIL: !ok, rc=0 from gitolite ../triggers/post-compile/ssh-authkeys
test number 37
L: 42: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /fingerprinting failed for \'keydir/bad.pub\'/
test number 38
L: 42: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: !ok, rc=0 from gitolite ../triggers/post-compile/ssh-authkeys
test number 41
L: 46: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /fingerprinting failed for \'keydir/bad.pub\'/
test number 42
L: 46: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /^ *9 .*/
test number 44
L: 47: wc < /var/lib/gittest/.ssh/authorized_keys; ok; /^ *9 .*/;
results:
10 40 3761
# FAIL: /robert.pub duplicates.*bob.pub/
test number 49
L: 55: gitolite ../triggers/post-compile/ssh-authkeys; ok; /robert.pub duplicates.*bob.pub/
results:
# 9 error(s)
t/ssh-authkeys.t .. Failed 9/49 subtests[gittest@srv gitolite]$ GITOLITE_TEST=y prove t/ssh*
t/ssh-authkeys.t .. 16/49 # FAIL: /carol.pub duplicates.*non-gitolite key/
test number 25
L: 27: gitolite ../triggers/post-compile/ssh-authkeys; ok; /carol.pub duplicates.*non-gitolite key/
results:
# FAIL: /carol.pub duplicates.*non-gitolite key/
test number 33
L: 36: gitolite ../triggers/post-compile/ssh-authkeys; ok; /carol.pub duplicates.*non-gitolite key/
results:
# FAIL: /dave.pub duplicates.*non-gitolite key/
test number 34
L: 37: /dave.pub duplicates.*non-gitolite key/
results:
# FAIL: !ok, rc=0 from gitolite ../triggers/post-compile/ssh-authkeys
test number 37
L: 42: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /fingerprinting failed for \'keydir/bad.pub\'/
test number 38
L: 42: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: !ok, rc=0 from gitolite ../triggers/post-compile/ssh-authkeys
test number 41
L: 46: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /fingerprinting failed for \'keydir/bad.pub\'/
test number 42
L: 46: gitolite ../triggers/post-compile/ssh-authkeys; !ok; /fingerprinting failed for \'keydir/bad.pub\'/
results:
WARNING: keydir/bad.pub does not contain exactly 1 line; ignoring
# FAIL: /^ *9 .*/
test number 44
L: 47: wc < /var/lib/gittest/.ssh/authorized_keys; ok; /^ *9 .*/;
results:
10 40 3761
# FAIL: /robert.pub duplicates.*bob.pub/
test number 49
L: 55: gitolite ../triggers/post-compile/ssh-authkeys; ok; /robert.pub duplicates.*bob.pub/
results:
# 9 error(s)
t/ssh-authkeys.t .. Failed 9/49 subtests

Sitaram Chamarty

unread,
Oct 3, 2013, 4:52:19 AM10/3/13
to Matt Durak, gito...@googlegroups.com
On 10/03/2013 09:11 AM, Matt Durak wrote:

> The test results for t/ssh*
>
> [gittest@srv gitolite]$ GITOLITE_TEST=y prove t/ssh*
> t/ssh-authkeys.t .. 16/49 # FAIL: /carol.pub duplicates.*non-gitolite key/

please do not run the test scripts on a running system. There is a
warning in BOLD and RED font to this effect in the testing.html page.

Matt Durak

unread,
Oct 3, 2013, 11:41:00 AM10/3/13
to gito...@googlegroups.com, Matt Durak

Yup, I read that " so be sure to use a throwaway userid."

Anyway, I'll just ignore this and try other ways to get this up and running (sorry for the two separate threads, I didn't realize this was moderated and thought the first message didn't get posted).

Reply all
Reply to author
Forward
0 new messages