From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27137: make check 'FAIL: tests/guix-package-net' Date: Thu, 01 Jun 2017 13:34:52 +0200 Message-ID: <87fufk2b6r.fsf@gnu.org> References: <86y3tfs27f.fsf@gmail.com> <87k24y2vsn.fsf@gnu.org> <86o9ua6z59.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGOOd-0004Rj-Fl for bug-guix@gnu.org; Thu, 01 Jun 2017 07:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGOOY-0000Sc-Ip for bug-guix@gnu.org; Thu, 01 Jun 2017 07:36:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGOOY-0000SX-F2 for bug-guix@gnu.org; Thu, 01 Jun 2017 07:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGOOX-00089M-T9 for bug-guix@gnu.org; Thu, 01 Jun 2017 07:36:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <86o9ua6z59.fsf@gmail.com> (myglc2@gmail.com's message of "Tue, 30 May 2017 13:19:14 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: myglc2 Cc: 27137@debbugs.gnu.org Hello, myglc2 skribis: > On 05/30/2017 at 17:45 Ludovic Court=C3=A8s writes: > >> Hi myglc2, >> >> myglc2 skribis: >> >>> + test t-profile-21734-2-link =3D t-profile-21734-2-link >>> + guix package -p t-profile-21734 --switch-generation=3D-1 >>> accepted connection from pid 30492, user g1 >>> switched from generation 2 to 1 >>> guix package: warning: Your Guix installation is 13 days old. >>> guix package: warning: Consider running 'guix pull' followed by >>> 'guix package -u' to get up-to-date packages and security updates. >>> >>> ++ readlink_base t-profile-21734 >>> +++ readlink t-profile-21734 >>> ++ basename t-profile-21734-1-link >>> + test t-profile-21734-1-link =3D t-profile-21734-1-link >>> ++ seq 1 3 >>> + for i in `seq 1 3` >>> + guix package --bootstrap --roll-back -p t-profile-21734 >>> accepted connection from pid 30827, user g1 >>> guix package: error: profile 't-profile-21734' does not exist >> >> Could it be that a concurrent process removed =E2=80=98t-profile-21734= =E2=80=99 behind >> our back? > > I have no idea! This time I did ... > > make -j check > > ... but I often do ... > > make -j 10 check > > ... so I repeated ... > > make -j 10 check > > ... a few times thinking maybe another test could delete the link, but > could not reproduce the error. The t-profile-NNN name should be unique for the shell that runs tests/guix-package-net.sh, so I don=E2=80=99t think running =E2=80=98make c= heck=E2=80=99 like this can trigger the problem. The only way it could happen is if you explicitly did =E2=80=9Crm t-profile*=E2=80=9D or similar while the test wa= s running, I think. > BTW, from each 'make check' I do end up with a dangling link like ... > > t-profile-alt-10987-1-link -> > /home/g1/src/guix/test-tmp/store/hwr4xiqd60wrh033wvjljly50j6d39dg-profile > > ... is this normal? Nope, tests/guix-package-net.sh was leaving these files. I=E2=80=99ve just fixed it. >> As you can see, that symlink was available just above. >> Or is it 100% reproducible when running >> >> make check TESTS=3Dtests/guix-package-net.sh >> >> ? > > It is not reproducible ... except by deleting the profile while the test = is > running ;-) Well I=E2=80=99m closing this bug, but do reopen it if it shows up again! Thanks, Ludo=E2=80=99.