unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27137: make check 'FAIL: tests/guix-package-net'
@ 2017-05-29 22:55 myglc2
  2017-05-30 15:45 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: myglc2 @ 2017-05-29 22:55 UTC (permalink / raw)
  To: 27137

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

'make check' failed on commit: 98b9732cb gnu: asciinema: Update to 1.4.0.

Failure:
========
g1@g1 ~/src/guix$ cd ~/src/guix && guix environment -M 4 -c 4 -e "(@ (gnu packages package-management) guix)"
[...]
g1@g1 ~/src/guix [env]$ make -j 10
[...]
g1@g1 ~/src/guix [env]$ make -j check
[...]
============================================================================
Testsuite summary for GNU Guix 0.12.0.3894-6f543
============================================================================
# TOTAL: 710
# PASS:  701
# SKIP:  8
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================
make[4]: *** [Makefile:4416: test-suite.log] Error 1
make[4]: Leaving directory '/home/g1/src/guix'
make[3]: *** [Makefile:4524: check-TESTS] Error 2
make[3]: Leaving directory '/home/g1/src/guix'
make[2]: *** [Makefile:4764: check-am] Error 2
make[2]: Leaving directory '/home/g1/src/guix'
make[1]: *** [Makefile:4301: check-recursive] Error 1
make[1]: Leaving directory '/home/g1/src/guix'
make: *** [Makefile:4766: check] Error 2
g1@g1 ~/src/guix [env]$ exit

Commit:
=======
g1@g1 ~/src/guix$ git -C ~/.config/guix/latest describe
v0.13.0-323-g98b9732cb
g1@g1 ~/src/guix$ stat ~/.config/guix/latest | grep File:
  File: /home/g1/.config/guix/latest -> /home/g1/src/guix/
g1@g1 ~/src/guix$

./test-suite.log
================

[-- Attachment #2: test-suite.log.gz --]
[-- Type: application/octet-stream, Size: 15736 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27137: make check 'FAIL: tests/guix-package-net'
  2017-05-29 22:55 bug#27137: make check 'FAIL: tests/guix-package-net' myglc2
@ 2017-05-30 15:45 ` Ludovic Courtès
  2017-05-30 17:19   ` myglc2
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-30 15:45 UTC (permalink / raw)
  To: myglc2; +Cc: 27137

Hi myglc2,

myglc2 <myglc2@gmail.com> skribis:

> + test t-profile-21734-2-link = t-profile-21734-2-link
> + guix package -p t-profile-21734 --switch-generation=-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 = 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 ‘t-profile-21734’ behind
our back?  As you can see, that symlink was available just above.

Or is it 100% reproducible when running

  make check TESTS=tests/guix-package-net.sh

?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27137: make check 'FAIL: tests/guix-package-net'
  2017-05-30 15:45 ` Ludovic Courtès
@ 2017-05-30 17:19   ` myglc2
  2017-06-01 11:34     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: myglc2 @ 2017-05-30 17:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27137

On 05/30/2017 at 17:45 Ludovic Courtès writes:

> Hi myglc2,
>
> myglc2 <myglc2@gmail.com> skribis:
>
>> + test t-profile-21734-2-link = t-profile-21734-2-link
>> + guix package -p t-profile-21734 --switch-generation=-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 = 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 ‘t-profile-21734’ 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. 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?

> As you can see, that symlink was available just above.
> Or is it 100% reproducible when running
>
>   make check TESTS=tests/guix-package-net.sh
>
> ?

It is not reproducible ... except by deleting the profile while the test is
running ;-)

HTH - George

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27137: make check 'FAIL: tests/guix-package-net'
  2017-05-30 17:19   ` myglc2
@ 2017-06-01 11:34     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-06-01 11:34 UTC (permalink / raw)
  To: myglc2; +Cc: 27137

Hello,

myglc2 <myglc2@gmail.com> skribis:

> On 05/30/2017 at 17:45 Ludovic Courtès writes:
>
>> Hi myglc2,
>>
>> myglc2 <myglc2@gmail.com> skribis:
>>
>>> + test t-profile-21734-2-link = t-profile-21734-2-link
>>> + guix package -p t-profile-21734 --switch-generation=-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 = 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 ‘t-profile-21734’ 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’t think running ‘make check’ like
this can trigger the problem.  The only way it could happen is if you
explicitly did “rm t-profile*” or similar while the test was 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’ve just
fixed it.

>> As you can see, that symlink was available just above.
>> Or is it 100% reproducible when running
>>
>>   make check TESTS=tests/guix-package-net.sh
>>
>> ?
>
> It is not reproducible ... except by deleting the profile while the test is
> running ;-)

Well I’m closing this bug, but do reopen it if it shows up again!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-01 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-29 22:55 bug#27137: make check 'FAIL: tests/guix-package-net' myglc2
2017-05-30 15:45 ` Ludovic Courtès
2017-05-30 17:19   ` myglc2
2017-06-01 11:34     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).