* bug#37748: 'guix' fails tests on non-x86_64 systems
@ 2019-10-14 16:30 Marius Bakke
2019-10-14 21:47 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2019-10-14 16:30 UTC (permalink / raw)
To: 37748
Hello,
The 'guix' package fails a single test on all architectures except
x86_64:
https://ci.guix.gnu.org/search?query=guix-1.0.1-7+spec%3Aguix-master
Here is a more stable URL with a log file:
https://ci.guix.gnu.org/build/1823863/details
Test output:
test-name: fold-available-packages with/without cache
location: /tmp/guix-build-guix-1.0.1-7.fc1fe72.drv-0/source/tests/packages.scm:1110
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37748: 'guix' fails tests on non-x86_64 systems
2019-10-14 16:30 bug#37748: 'guix' fails tests on non-x86_64 systems Marius Bakke
@ 2019-10-14 21:47 ` Ludovic Courtès
2019-10-15 5:31 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-10-14 21:47 UTC (permalink / raw)
To: Marius Bakke; +Cc: 37748
Hi Marius,
Marius Bakke <mbakke@fastmail.com> skribis:
> test-name: fold-available-packages with/without cache
> location: /tmp/guix-build-guix-1.0.1-7.fc1fe72.drv-0/source/tests/packages.scm:1110
> 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
Oops! Commit 88da011592a679776088b64b8d11575563c3f867 fixes it.
I’m testing ‘guix’ packages updated to that commit and will push
tomorrow if everything goes well and nobody beats me at it.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37748: 'guix' fails tests on non-x86_64 systems
2019-10-14 21:47 ` Ludovic Courtès
@ 2019-10-15 5:31 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-10-15 5:31 UTC (permalink / raw)
To: Marius Bakke; +Cc: 37748-done
Ludovic Courtès <ludo@gnu.org> skribis:
> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> test-name: fold-available-packages with/without cache
>> location: /tmp/guix-build-guix-1.0.1-7.fc1fe72.drv-0/source/tests/packages.scm:1110
>> 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
>
> Oops! Commit 88da011592a679776088b64b8d11575563c3f867 fixes it.
>
> I’m testing ‘guix’ packages updated to that commit and will push
> tomorrow if everything goes well and nobody beats me at it.
Done in 062158cd7e89ccd40381ca96ce016c841507cedb.
Ludo'.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-15 5:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 16:30 bug#37748: 'guix' fails tests on non-x86_64 systems Marius Bakke
2019-10-14 21:47 ` Ludovic Courtès
2019-10-15 5:31 ` Ludovic Courtès
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).