GNU bug report logs - #37748
'guix' fails tests on non-x86_64 systems

Previous Next

Package: guix;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Mon, 14 Oct 2019 16:31:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <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 37748 in the body.
You can then email your comments to 37748 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37748; Package guix. (Mon, 14 Oct 2019 16:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 14 Oct 2019 16:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: bug-guix <at> gnu.org
Subject: 'guix' fails tests on non-x86_64 systems
Date: Mon, 14 Oct 2019 18:30:51 +0200
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




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 14 Oct 2019 20:56:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#37748; Package guix. (Mon, 14 Oct 2019 21:49:01 GMT) Full text and rfc822 format available.

Message #10 received at 37748 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 37748 <at> debbugs.gnu.org
Subject: Re: bug#37748: 'guix' fails tests on non-x86_64 systems
Date: Mon, 14 Oct 2019 23:47:51 +0200
Hi Marius,

Marius Bakke <mbakke <at> 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’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 15 Oct 2019 05:32:03 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <mbakke <at> fastmail.com>:
bug acknowledged by developer. (Tue, 15 Oct 2019 05:32:04 GMT) Full text and rfc822 format available.

Message #15 received at 37748-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 37748-done <at> debbugs.gnu.org
Subject: Re: bug#37748: 'guix' fails tests on non-x86_64 systems
Date: Tue, 15 Oct 2019 07:31:33 +0200
Ludovic Courtès <ludo <at> gnu.org> skribis:

> Marius Bakke <mbakke <at> 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'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Nov 2019 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.