GNU bug report logs -
#42794
make check fails test "tests/packages.scm fold-available-packages with/without cache"
Previous Next
Reported by: jbranso <at> dismail.de
Date: Mon, 10 Aug 2020 10:08:02 UTC
Severity: normal
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42794 in the body.
You can then email your comments to 42794 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#42794
; Package
guix
.
(Mon, 10 Aug 2020 10:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jbranso <at> dismail.de
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 10 Aug 2020 10:08:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
My recent make check failed the tests/packages.scm
"fold-available-packages with/without cache".
After janneke confirmed that his recent make checked failed the same
test, he encouraged me to submit this bug.
He also showed me how to make a shorter test-suite.log file via
make check TESTS='tests/packages.scm', which is what I'm attaching.
Still the whole test-suite.log file is super long, so here's the main
gist that you ought to see:
test-name: fold-available-packages with/without cache
location: /home/joshua/prog/gnu/guix/guix-src/tests/packages.scm:1309
source:
+ (test-assert
+ "fold-available-packages with/without cache"
+ (let ()
+ (define no-cache
+ (fold-available-packages
+ (lambda* (name version result #:rest rest)
+ (cons (cons* name version rest) result))
+ '()))
+ (define from-cache
+ (call-with-temporary-directory
+ (lambda (cache)
+ (generate-package-cache cache)
+ (mock ((guix describe) current-profile (const cache))
+ (mock ((gnu packages)
+ cache-is-authoritative?
+ (const #t))
+ (fold-available-packages
+ (lambda* (name version result #:rest rest)
+ (cons (cons* name version rest) result))
+ '()))))))
+ (and (equal?
+ (delete-duplicates from-cache)
+ from-cache)
+ (lset= equal? no-cache from-cache))))
actual-value: #f
result: FAIL
Thanks!
Joshua
[Message part 2 (text/html, inline)]
[test-suite.log (text/plain, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#42794
; Package
guix
.
(Mon, 10 Aug 2020 12:42:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
> He also showed me how to make a shorter test-suite.log file via
> make check TESTS='tests/packages.scm', which is what I'm attaching.
>
> Still the whole test-suite.log file is super long, so here's the main
> gist that you ought to see:
Thanks for the report :)
This should be fixed with 6463578384d9101ca3f0072ca3a19ba7865f4e94.
Mathieu
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Mon, 10 Aug 2020 12:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jbranso <at> dismail.de
:
bug acknowledged by developer.
(Mon, 10 Aug 2020 12:42:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 08 Sep 2020 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 283 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.