Subject: bug#64760: make check fails on 182be30fb1a8b847c30492462ec22c08ec7a9849

From: Ludovic Courtès <[email-masked]>
Date: Wed, 09 Aug 2023 23:41:20 +0200

Hello!

Janneke Nieuwenhuizen <[email-masked]> skribis:

> test-name: gc-roots, initial
> location: /home/janneke/src/guix/master/tests/store-roots.scm:33
> source:
> + (test-equal
> +   "gc-roots, initial"
> +   (list (string-append %state-directory "/profiles"))
> +   (begin
> +     (delete-file-recursively
> +       (string-append %state-directory "/profiles"))
> +     (gc-roots)))
> expected-value: ("/home/janneke/src/guix/master/test-tmp/var/9734/profiles")
> actual-value: #f
> actual-error:
> + (system-error
> +   "lstat"
> +   "~A: ~S"
> +   ("No such file or directory"
> +    "/home/janneke/src/guix/master/test-tmp/var/9734/profiles")
> +   (2))
> result: FAIL

Hmm, this test passes for me.

Could you get a backtrace so we see where the ‘lstat’ exception comes
from?  (To get the backtrace, you can raise (begin …) out of
‘test-equal’ and then “make check TESTS=tests/store-root.scm”.)

Thanks,
Ludo’.