GNU bug report logs - #64779
[PATCH core-updates] gnu: coreutils: Skip tests which are broken on btrfs

Previous Next

Package: guix-patches;

Reported by: Ryan Sundberg <ryan <at> arctype.co>

Date: Sat, 22 Jul 2023 00:57:02 UTC

Severity: normal

Tags: patch, unreproducible

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 64779 in the body.
You can then email your comments to 64779 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 guix-patches <at> gnu.org:
bug#64779; Package guix-patches. (Sat, 22 Jul 2023 00:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ryan Sundberg <ryan <at> arctype.co>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 22 Jul 2023 00:57:02 GMT) Full text and rfc822 format available.

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

From: Ryan Sundberg <ryan <at> arctype.co>
To: guix-patches <at> gnu.org
Cc: Ryan Sundberg <ryan <at> arctype.co>
Subject: [PATCH core-updates] gnu: coreutils: Skip tests which are broken on
 btrfs
Date: Fri, 21 Jul 2023 17:55:16 -0700
When building coreutils on a BTRFS filesystem, this test case
consistently fails.

* gnu/packages/base.scm (coreutils): Skip tests/cp/reflink-auto.sh
---
 gnu/packages/base.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 1fdfaf8a57..a9dab0b30f 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -464,7 +464,11 @@ (define-public coreutils
                                ;; there might be some environmental factor
                                ;; here
                                ((" test-tls\\$\\(EXEEXT\\) ") " ")))
-                           '())
+                           '((substitute*
+                               ;; This test fails on BTRFS
+                               '("tests/cp/reflink-auto.sh")
+                               (("^#!.*" all)
+                                (string-append all "exit 77;\n")))))
                      (substitute* "Makefile.in"
                        ;; fails on filesystems where inotify cannot be used,
                        ;; more info in #47935
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#64779; Package guix-patches. (Sat, 22 Jul 2023 01:56:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ryan Sundberg <ryan <at> arctype.co>
Cc: 64779 <at> debbugs.gnu.org
Subject: Re: bug#64779: [PATCH core-updates] gnu: coreutils: Skip tests
 which are broken on btrfs
Date: Fri, 21 Jul 2023 21:55:17 -0400
Hello,

Ryan Sundberg <ryan <at> arctype.co> writes:

> When building coreutils on a BTRFS filesystem, this test case
> consistently fails.
>
> * gnu/packages/base.scm (coreutils): Skip tests/cp/reflink-auto.sh
> ---
>  gnu/packages/base.scm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
> index 1fdfaf8a57..a9dab0b30f 100644
> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -464,7 +464,11 @@ (define-public coreutils
>                                 ;; there might be some environmental factor
>                                 ;; here
>                                 ((" test-tls\\$\\(EXEEXT\\) ") " ")))
> -                           '())
> +                           '((substitute*
> +                               ;; This test fails on BTRFS
> +                               '("tests/cp/reflink-auto.sh")
> +                               (("^#!.*" all)
> +                                (string-append all "exit 77;\n")))))

Could you please report the issue to upstream, and add a comment with a
reference to the open issue?

-- 
Thanks,
Maxim




Added tag(s) unreproducible. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 21 Jan 2024 02:48:01 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 21 Jan 2024 02:48:02 GMT) Full text and rfc822 format available.

Notification sent to Ryan Sundberg <ryan <at> arctype.co>:
bug acknowledged by developer. (Sun, 21 Jan 2024 02:48:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ryan Sundberg <ryan <at> arctype.co>
Cc: GNU Debbugs <control <at> debbugs.gnu.org>, 64779-done <at> debbugs.gnu.org
Subject: Re: bug#64779: [PATCH core-updates] gnu: coreutils: Skip tests
 which are broken on btrfs
Date: Sat, 20 Jan 2024 21:47:11 -0500
tags 64779 + unreproducible
quit

Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello,
>
> Ryan Sundberg <ryan <at> arctype.co> writes:
>
>> When building coreutils on a BTRFS filesystem, this test case
>> consistently fails.
>>
>> * gnu/packages/base.scm (coreutils): Skip tests/cp/reflink-auto.sh
>> ---
>>  gnu/packages/base.scm | 6 +++++-
>>  1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
>> index 1fdfaf8a57..a9dab0b30f 100644
>> --- a/gnu/packages/base.scm
>> +++ b/gnu/packages/base.scm
>> @@ -464,7 +464,11 @@ (define-public coreutils
>>                                 ;; there might be some environmental factor
>>                                 ;; here
>>                                 ((" test-tls\\$\\(EXEEXT\\) ") " ")))
>> -                           '())
>> +                           '((substitute*
>> +                               ;; This test fails on BTRFS
>> +                               '("tests/cp/reflink-auto.sh")
>> +                               (("^#!.*" all)
>> +                                (string-append all "exit 77;\n")))))
>
> Could you please report the issue to upstream, and add a comment with a
> reference to the open issue?

I've searched the upstream issue tracker, and found none about this.
I've built coreutils 9.1 and latest master from source on my Btrfs
machine, which ran the test suite fine.  I've also rebuilt the current
Guix coreutils package with success on the same machine.

I don't think the problem is with Btrfs, or at least it's not easy to
reproduce.

Closing for now.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Feb 2024 12:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 80 days ago.

Previous Next


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