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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64779: closed ([PATCH core-updates] gnu: coreutils: Skip
 tests which are broken on btrfs)
Date: Sun, 21 Jan 2024 02:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 20 Jan 2024 21:47:11 -0500
with message-id <87wms3bdxs.fsf_-_ <at> gmail.com>
and subject line Re: bug#64779: [PATCH core-updates] gnu: coreutils: Skip tests which are broken on btrfs
has caused the debbugs.gnu.org bug report #64779,
regarding [PATCH core-updates] gnu: coreutils: Skip tests which are broken on btrfs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
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


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

Previous Next


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