Subject: Re: bug#29512: build of git-2.15.0.drv failed

From: [email-masked] (Ludovic Courtès)
Date: Fri, 01 Dec 2017 11:33:14 +0100

Hi George,

George myglc2 Clemmer <[email-masked]> skribis:

> g1@g1 ~/src/guix$ guix package -M 4 -c 4 -m ../g1.scm
> [...]
> *** t9153-git-svn-rewrite-uuid.sh ***
> not ok 4 - create new branches and tags
> #
> #		( cd git_project &&
> #			git svn branch -m "New branch 1" -d b_one New1 ) &&
> #		( cd svn_project &&
> #			svn_cmd up && test -e b_one/New1/a.file ) &&
> #
> #		( cd git_project &&
> #			git svn branch -m "New branch 2" -d b_two New2 ) &&
> #		( cd svn_project &&
> #			svn_cmd up && test -e b_two/New2/a.file ) &&
> #
> #		( cd git_project &&
> #			git svn branch -t -m "New tag 1" -d tags_A Tag1 ) &&
> #		( cd svn_project &&
> #			svn_cmd up && test -e tags_A/Tag1/a.file ) &&
> #
> #		( cd git_project &&
> #			git svn tag -m "New tag 2" -d tags_B Tag2 ) &&
> #		( cd svn_project &&
> #			svn_cmd up && test -e tags_B/Tag2/a.file )
> #
> # failed 1 among 4 test(s)
> 1..4
> make[2]: *** [Makefile:49: t9141-git-svn-multiple-branches.sh] Error 1

[...]

> Hmm... I have discovered that that works when I don't use the
> multi-job/multi-core options, e.g., as previously reported, this fails
> ...
>
> g1@g1 ~/src/guix$ guix package -M 4 -c 4 -m ../g1.scm
>
> But this ...
>
> g1@g1 ~/src/guix$ guix package  -m ../g1.scm
>
> works.

To me that sounds like an issue when running tests in parallel.  Commit
c03ba83c17c91e34e811a909fae0f63aab701ff9 ensures test run sequentially,
which hopefully solves the problem.

Thanks,
Ludo’.