FTBFS [hppa]: git: unreliable test failures
Hi,
You might have noticed that git's test suite is somewhat unreliable on
hppa.
Summary:
. Intermittent failures.
. Sometimes crashing. Would be nice to get a backtrace.
. If you have time for it, please try to reproduce, for example with
git clone git://repo.or.cz/git.git
cd git
make -j2 NO_OPENSSL=1 NO_EXPAT=1 NO_CURL=1
cd t
while ! ls trash*/core 2>/dev/null
do
sh -x t5400-send-pack.sh -v -i
done
gdb ../git trash*/core
bt full
. Ideas?
Details:
The test suite works by running quietly, stopping after the first
failing test script, then running again with more useful output, again
stopping at the end of the first failing test script.
1:1.7.2.3-2 2010-10-19 03.00 peri
5400.7 "denyNonFastforwards trumps --force" fails
5500.23 "additional simple shallow deepenings" dies with segfault[1].
5500.24 "clone shallow object count" fails as side effect.
1:1.7.2.3-2 2010-10-19 10.46 penalosa
5500.19 "clone shallow object count" hangs for 5 hours.
1:1.7.2.3-2.1 2010-11-24 23.51 penalosa
5400.7 "denyNonFastforwards trumps --force" fails
5516.15 "push with matching heads and forced update" dies with segfault[2]
1:1.7.2.3-2.1 2010-11-26 11.37 peri
(5500.19 "clone shallow object count" succeeds.)
5500.21 "clone shallow object count" hangs for 5 hours.
1:1.7.2.3-2.2 2010-12-16 17.27 penalosa
5500.18 "deepening pull in shallow repo" fails
5500.19 "clone shallow object count" fails
5500.21 "clone shallow object count" fails
5500.19 "clone shallow object count" hangs for 5 hours.
1:1.7.2.3-2.2 2010-12-16 21.35 penalosa
5400.4 "refuse pushing rewound head without --force" fails
5400.5 "push can be used to delete a ref" fails
5400.4 "refuse pushing rewound head without --force" dies with segfault[3]
5400.5 "push can be used to delete a ref" fails as side effect.
1:1.7.2.3-2.2 2010-12-16 23.53 peri
5400.7 "denyNonFastforwards trumps --force" fails
5401.2 "push" fails[4]
5401.3-8 fail, probably as side effects.
5401.12 fails[5], probably as side effect.
1:1.7.2.3-2.2 2010-12-17 02.01 peri
5516.30 "push with HEAD" fails
5400.4 "refuse pushing rewound head without --force" dies with segfault[3]
5400.5 "push can be used to delete a ref" fails as side effect.
[1] expecting success:
(
cd shallow &&
git fetch --depth=8 &&
git fetch --depth=10 &&
git fetch --depth=11
)
From
file:///build/buildd-git_1.7.2.3-2-hppa-RnzQqN/git-1.7.2.3/t/trash
directory.t5500-fetch-pack/.
27f494d..9ca64d8 B -> origin/B
Segmentation fault
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
[2] expecting success:
mk_test heads/master &&
git push testrepo : &&
git commit --amend -massaged &&
git push testrepo +: &&
! check_push_result $the_commit heads/master &&
git reset --hard $the_commit
Initialized empty Git repository in
/build/buildd-git_1.7.2.3-2.1-hppa-DwFWYN/git-1.7.2.3/t/trash
directory.t5516-fetch-push/testrepo/.git/
remote: warning: updating the current branch
To testrepo
* [new branch] b9c09d6cc74d3857142fb7c082dca65b88254c6d ->
* master
fatal: The remote end hung up unexpectedly
Segmentation fault
[3] expecting success:
pushed_head=$(git rev-parse --verify master) &&
victim_orig=$(cd victim && git rev-parse --verify master) &&
test_must_fail git send-pack ./victim master &&
victim_head=$(cd victim && git rev-parse --verify master) &&
test "$victim_head" = "$victim_orig" &&
# this should update
git send-pack --force ./victim master &&
victim_head=$(cd victim && git rev-parse --verify master) &&
test "$victim_head" = "$pushed_head"
To ./victim
! [rejected] master -> master (non-fast-forward)
fatal: The remote end hung up unexpectedly
Segmentation fault
[4] expecting success:
test_must_fail git send-pack --force ./victim.git \
master tofail >send.out 2>send.err
not ok - 2 push
[5] expecting success:
grep ^remote: send.err | sed "s/ *\$//" >actual &&
test_cmp expect actual
--- expect 2010-12-16 23:52:03.000000000 +0000
+++ actual 2010-12-16 23:52:03.000000000 +0000
@@ -1,11 +0,0 @@
-remote: STDOUT pre-receive
-remote: STDERR pre-receive
-remote: STDOUT update refs/heads/master
-remote: STDERR update refs/heads/master
-remote: STDOUT update refs/heads/tofail
-remote: STDERR update refs/heads/tofail
-remote: error: hook declined to update refs/heads/tofail
-remote: STDOUT post-receive
-remote: STDERR post-receive
-remote: STDOUT post-update
-remote: STDERR post-update
Reply to: