bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37748: 'guix' fails tests on non-x86_64 systems


From: Marius Bakke
Subject: bug#37748: 'guix' fails tests on non-x86_64 systems
Date: Mon, 14 Oct 2019 18:30:51 +0200
User-agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]