unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53253: Guix home test failing
@ 2022-01-14 13:11 Gábor Boskovits
  2022-01-14 15:17 ` Ludovic Courtès
  2022-01-15 16:44 ` bug#53253: Guix home test failing additional information Gábor Boskovits
  0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2022-01-14 13:11 UTC (permalink / raw)
  To: 53253

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

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 #2: Type: text/html, Size: 1301 bytes --]

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

* bug#53253: Guix home test failing
  2022-01-14 13:11 bug#53253: Guix home test failing Gábor Boskovits
@ 2022-01-14 15:17 ` Ludovic Courtès
  2022-01-15 16:44 ` bug#53253: Guix home test failing additional information Gábor Boskovits
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-01-14 15:17 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 53253

Hi,

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

> 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’.




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

* bug#53253: Guix home test failing additional information
  2022-01-14 13:11 bug#53253: Guix home test failing Gábor Boskovits
  2022-01-14 15:17 ` Ludovic Courtès
@ 2022-01-15 16:44 ` Gábor Boskovits
  1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2022-01-15 16:44 UTC (permalink / raw)
  To: 53253

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

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 #2: Type: text/html, Size: 324 bytes --]

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

end of thread, other threads:[~2022-01-15 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 13:11 bug#53253: Guix home test failing Gábor Boskovits
2022-01-14 15:17 ` Ludovic Courtès
2022-01-15 16:44 ` bug#53253: Guix home test failing additional information Gábor Boskovits

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).