Guix home test failing

  • Open
  • quality assurance status badge
Details
3 participants
  • Gábor Boskovits
  • Gábor Boskovits
  • Ludovic Courtès
Owner
unassigned
Submitted by
Gábor Boskovits
Severity
normal
G
G
Gábor Boskovits wrote on 14 Jan 2022 14:11
(address . bug-guix@gnu.org)
CAE4v=piBChRe6L84Ouu7nvXV=sbnB36O2xUJc7MM9c3MEJ7-6Q@mail.gmail.com
The guix home test is failing on the testsuite, when the requirement to
provide XDG_RUNTIME_DIR is not met. The test should be set up to provide a
proper environment irrespective of the setup.

The test log ends with:
+ cat
+ guix home reconfigure /tmp/tmp.zQT5LdzYx7/home.scm
/gnu/store/f8pjw90hv5176rjq126zbmy2vm2jdggw-home
guix home: error: mkdir: Permission denied
+ chmod -Rf +w /tmp/tmp.zQT5LdzYx7
+ rm -rf /tmp/tmp.zQT5LdzYx7
FAIL tests/guix-home.sh (exit status: 1)

I did not see anything interesting before these lines, but I can provide
the whole log if needed.

Regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
Attachment: file
L
L
Ludovic Courtès wrote on 14 Jan 2022 16:17
(name . Gábor Boskovits)(address . boskovits@gmail.com)(address . 53253@debbugs.gnu.org)
87mtjy4aa2.fsf@gnu.org
Hi,

Gábor Boskovits <boskovits@gmail.com> skribis:

Toggle quote (16 lines)
> The guix home test is failing on the testsuite, when the requirement to
> provide XDG_RUNTIME_DIR is not met. The test should be set up to provide a
> proper environment irrespective of the setup.
>
> The test log ends with:
> + cat
> + guix home reconfigure /tmp/tmp.zQT5LdzYx7/home.scm
> /gnu/store/f8pjw90hv5176rjq126zbmy2vm2jdggw-home
> guix home: error: mkdir: Permission denied
> + chmod -Rf +w /tmp/tmp.zQT5LdzYx7
> + rm -rf /tmp/tmp.zQT5LdzYx7
> FAIL tests/guix-home.sh (exit status: 1)
>
> I did not see anything interesting before these lines, but I can provide
> the whole log if needed.

Could you share the content of
/gnu/store/f8pjw90hv5176rjq126zbmy2vm2jdggw-home (possibly redacted to
remove personal data)?

Note that the test runs fine when doing ‘guix build guix’, so I wonder
what could be interfering here.

Thanks,
Ludo’.
G
G
Gábor Boskovits wrote on 15 Jan 2022 17:44
Guix home test failing additional information
(address . 53253@debbugs.gnu.org)
CAAqdTgNhspwwpLFtHtbVNdeTNd+xeey5KBmrTLthkQZZDKBnqw@mail.gmail.com
I managed to get the following result:

I could make the test pass by including elogind in my system.

Then I made it fail again by the following:
1. sudo unmount /run/user/1000
2. sudo rm -rf /run/user/1000
Attachment: file
?