Subject: bug#29546: Intermittent test failures in 'git'

From: [email-masked] (Ludovic Courtès)
Date: Mon, 04 Dec 2017 16:37:13 +0100

[email-masked] (Ludovic Courtès) skribis:

> Hi Mark,
>
> Mark H Weaver <[email-masked]> skribis:
>
>> On Hydra, the following intermittent test failure in 'git' has occurred
>> twice in the last two days, and twice about a month ago:
>
> This was discussed in <https://bugs.gnu.org/29512>, which led to commit
> c03ba83c17c91e34e811a909fae0f63aab701ff9 to run tests sequentially.
>
> Currently that seems to work well:
>
>   https://hydra.gnu.org/job/gnu/master/git-2.15.1.x86_64-linux
>   https://hydra.gnu.org/job/gnu/master/git-2.15.1.i686-linux
>
> The ARM build is still running though:
>
>   https://hydra.gnu.org/job/gnu/master/git-2.15.1.armhf-linux

Bad news, it failed (see
<https://hydra.gnu.org/build/2367151/nixlog/2/tail-reload>):

--8<---------------cut here---------------start------------->8---
*** t9167-git-svn-cmd-branch-subproject.sh ***
ok 1 - initialize svnrepo
ok 2 - import into git
not ok 3 - git svn branch tests
#	
#		test_must_fail git svn branch a &&
#		git svn branch --parents a &&
#		test_must_fail git svn branch -t tag1 &&
#		git svn branch --parents -t tag1 &&
#		test_must_fail git svn branch --tag tag2 &&
#		git svn branch --parents --tag tag2 &&
#		test_must_fail git svn tag tag3 &&
#		git svn tag --parents tag3
#	
# failed 1 among 3 test(s)
1..3
make[2]: *** [Makefile:49: t9167-git-svn-cmd-branch-subproject.sh] Error 1
--8<---------------cut here---------------end--------------->8---

I tried building it for i686 on my laptop and it failed similarly.

This bug report seems to be relevant, and it suggests bugs in the Perl
bindings of Subversion:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871562

For now I’ve disabled three of the git-svn tests that were reported to
fail intermittently in commit c7699ebeb4233d81f294ff7e8b8eb3676119ae4a,
so that we can hopefully build Git more reliably.

Ludo’.