Subject: bug#64598: Test fail: tests/store-roots.scm

From: wolf <[email-masked]>
Date: Thu, 13 Jul 2023 17:29:01 +0200

Hi,

I am experiencing a test failure on a Guix build from the git in the
tests/store-roots.scm test file.  Excerpt (whole log file attached):

    test-name: gc-roots, initial
    location: /home/wolf/devel/guix/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/wolf/devel/guix/test-tmp/var/15530/profiles")
    actual-value: #f
    actual-error:
    + (system-error
    +   "lstat"
    +   "~A: ~S"
    +   ("No such file or directory"
    +    "/home/wolf/devel/guix/test-tmp/var/15530/profiles")
    +   (2))
    result: FAIL

Commit: 3b524cde7115a6e89a438c1fd230093e6f30442f

Build was done inside guix shell -D guix --pure.

W.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.