GNU bug report logs - #74203
Coreutils test failure on Btrfs

Previous Next

Package: guix;

Reported by: "Collin J. Doering" <collin <at> rekahsoft.ca>

Date: Mon, 4 Nov 2024 15:39:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74203: closed (Coreutils test failure on Btrfs)
Date: Sat, 22 Mar 2025 22:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 22 Mar 2025 23:32:40 +0100
with message-id <87y0ww4rxz.fsf <at> gnu.org>
and subject line Re: bug#74203: [PATCH] gnu: coreutils: Disable cp/reflink-auto.sh as it can fail on btrfs
has caused the debbugs.gnu.org bug report #74203,
regarding Coreutils test failure on Btrfs
to be marked as done.

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


-- 
74203: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74203
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Collin J. Doering" <collin <at> rekahsoft.ca>
To: bug-guix <at> gnu.org
Subject: coreutils fails to build
Date: Mon, 04 Nov 2024 10:37:53 -0500
[Message part 3 (text/plain, inline)]
Hi lovely maintainers of Guix!

Some time ago I announced the availability of a guix build farm running out of the University of Tennessee[1]. Some time ago, builds started failing due to a failure to build coreutils[2]; investigation showed a unexpected failing test:

--8<---------------cut here---------------start------------->8---
FAIL tests/cp/reflink-auto.sh (exit status: 1)
--8<---------------cut here---------------end--------------->8---

I found that on other guix systems, this is not occurring. After some online sleuthing, it appears that the nix folks have seen this before[3]. They opted to disable the test 'tests/cp/reflink-auto.sh' as it can fail when using btrfs. On the guix system impacted, disabling coreutils tests makes the package build.

For reference, coreutils was building on cuirass.genenetwork.org on guix commit `0c908518375aea50be6dec703367c01944c8c721` and stopped building on `66611696975409a52478b95a862a464daeaefe2a`.

I suggest we follow what the nix folks did (disable `tests/cp/reflink-auto.sh`). In a following email you will find a patch that does so, however, because it changes coreutils, this will cause many packages to be rebuilt, so I'm unsure whats the best way to correct this without having to wait for core-updates to be merged.

Any advise or insight appreciated.

[1]: https://lists.gnu.org/archive/html/guix-devel/2024-07/msg00033.html
[2]: https://cuirass.genenetwork.org/eval/157119/log/raw
[3]: https://github.com/NixOS/nixpkgs/pull/190211

-- 
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: "Collin J. Doering" <collin <at> rekahsoft.ca>
Cc: Andreas Enge <andreas <at> enge.fr>, 74203-done <at> debbugs.gnu.org
Subject: Re: bug#74203: [PATCH] gnu: coreutils: Disable cp/reflink-auto.sh
 as it can fail on btrfs
Date: Sat, 22 Mar 2025 23:32:40 +0100
Hi Collin,

"Collin J. Doering" <collin <at> rekahsoft.ca> skribis:

> * gnu/packages/base.scm: Similarly to
> nix (https://github.com/NixOS/nixpkgs/pull/190211), disable
> tests/cp/reflink-auto.sh test as it can fail on btrfs. This was discovered by
> the cuirass.genenetwork.org build farm.
>
> Change-Id: If1cc3d516c5807e580ec64ab93670e30090581a7

Finally applied, thanks!

Ludo’.


This bug report was last modified 62 days ago.

Previous Next


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