GNU bug report logs - #58803
coreutils-8.32 test failure on i586-gnu

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Wed, 26 Oct 2022 17:21:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 58803 <at> debbugs.gnu.org:


Received: (at 58803) by debbugs.gnu.org; 26 Nov 2022 11:53:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 26 06:53:48 2022
Received: from localhost ([127.0.0.1]:38008 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oytki-0006nu-36
	for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 06:53:48 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <samuel.thibault@HIDDEN>) id 1oytkg-0006nf-CA
 for 58803 <at> debbugs.gnu.org; Sat, 26 Nov 2022 06:53:46 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1oytka-0008UK-3q; Sat, 26 Nov 2022 06:53:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=NrPzvhd1a/Q8C/csY+rPfSSSBSOGxCZcgB7I3OIhXoM=; b=hlgBwFOyWllg49Wo5CxT
 3JH+drkI847l41MZk83duCzaBwZD7+2kfHF42uqwq5+DWkxtLXqXsTmjQwPjDh6/yaevxaw4mAvwt
 ZNKCCnO42O0QPrOkJSKwL1rcPBUt9hSSZ8YVqJsfT0wToHvMH/VoMD3aaJr3VfrjAiPSqXJpGq2fM
 2hQHUMHh9Kg453GpfvIa9n0EWgBoiWXxzCtpRWzn+cTbir5ghbESmnQCn3dpPWJyUGy1X7QjHqTEE
 cO6aFL34GxH8lcJ+zYYLnN3UbNR0IsrpnI0lCAPk3zbtp7kGKM+2wceYg5Wn1R+TLOLRQ2/S4sgwC
 GZD1ggPZODBfTQ==;
Received: from lfbn-bor-1-376-208.w109-215.abo.wanadoo.fr ([109.215.91.208]
 helo=begin)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1oytkZ-0004yF-TW; Sat, 26 Nov 2022 06:53:39 -0500
Received: from samy by begin with local (Exim 4.96)
 (envelope-from <samuel.thibault@HIDDEN>) id 1oytkY-00DQIw-13;
 Sat, 26 Nov 2022 12:53:38 +0100
Date: Sat, 26 Nov 2022 12:53:38 +0100
From: Samuel Thibault <samuel.thibault@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 58803 <at> debbugs.gnu.org,
 bug-hurd@HIDDEN
Subject: Re: coreutils-8.32 test failure on i586-gnu
Message-ID: <20221126115338.fvkutuq3cce5ed7r@begin>
Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 58803 <at> debbugs.gnu.org, bug-hurd@HIDDEN
References: <87r0yu1ozc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87r0yu1ozc.fsf@HIDDEN>
Organization: I am not organized
User-Agent: NeoMutt/20170609 (1.8.3)
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58803
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

It seems that replying on the web interface didn't work, so replying
again here by mail.

Ludovic Courtès, le mer. 26 oct. 2022 19:20:07 +0200, a ecrit:
> ludo@childhurd ~$ mkfifo fifo
> ludo@childhurd ~$ ls -l fifo
> prw-r--r-- 1 ludo users 0 Oct 21 07:08 fifo
> ludo@childhurd ~$ df ./fifo
> df: Warning: cannot read table of mounted file systems: No such file or directory
> ^C

Using coreutils 9.1, I am not getting the issue any more:

€ mkfifo foo
€ ls -l foo
prw-r--r-- 1 samy samy 0 Nov 26 11:47 foo
€ df ./foo
Filesystem      Size  Used Avail Use% Mounted on
-                20G   18G  1.8G  91% /

> Maybe /hurd/fifo needs to implement ‘trivfs_check_open_hook’ to avoid
> actually opening?

I don't think it will change the behavior? trivfs_S_dir_lookup will call
trivfs_open after trivfs_check_open_hook anyway.

Samuel




Information forwarded to bug-guix@HIDDEN:
bug#58803; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Oct 2022 17:20:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 26 13:20:25 2022
Received: from localhost ([127.0.0.1]:55215 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1onk4m-0000kw-NG
	for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 13:20:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:56850)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1onk4h-0000kj-LG
 for submit <at> debbugs.gnu.org; Wed, 26 Oct 2022 13:20:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1onk4g-00036X-Up
 for bug-guix@HIDDEN; Wed, 26 Oct 2022 13:20:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1onk4g-0007xG-Mw
 for bug-guix@HIDDEN; Wed, 26 Oct 2022 13:20:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=00qZcptqtLwAtsgt4YCvdRTuqf9nJufJiFFz1H73afc=; b=TwBBmljEOvzSAy
 f50gho4YT/FdefVYoSMLn0rvGg8SLf+7Rs0djwVSl2+d5Q9hTCD50tO4ntOeaORgc0qtCCovrrUTw
 MdP8v05Tzk72fXeiYjKEZ+E6zagt8FcLvcuEH9fPx/j7cQxjmOSsGd7d8Qs2dcO/0kzlfMUvFk86v
 +/YX8dfxhdoiH4I9MRjnAYnVhOimpTIB7LsFy8FUH1Tdnz2lSWEnCr2aJUr2DbtWO+xRoIZz1ayoK
 bDLg4QD+flZmiKahL6xyB1AXTnr71/qVfQZohdkdFCMYSuPM1OWONcA5oEpYKwVk923+evtgY1n5g
 8GF/j2fRVwrZNpMB19ng==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1onk4Y-0004uN-Ov
 for bug-guix@HIDDEN; Wed, 26 Oct 2022 13:20:17 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: coreutils-8.32 test failure on i586-gnu
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Quintidi 5 Brumaire an 231 de la =?utf-8?Q?R=C3=A9vo?=
 =?utf-8?Q?lution=2C?= jour de l'Oie
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 26 Oct 2022 19:20:07 +0200
Message-ID: <87r0yu1ozc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Native builds of coreutils-8.32 (ca. commit
3734857fc55df2c599c2fe5cc4ae49f5d47879fc) have one test failure on
i586-gnu:

--8<---------------cut here---------------start------------->8---
+ skip_if_root_
+ uid_is_privileged_
++ id -u
+ my_uid=3D999
+ case $my_uid in
+ return 1
+ touch unreadable
+ chmod a-r unreadable
+ df unreadable
df: Warning: cannot read table of mounted file systems: No such file or dir=
ectory
Filesystem     1K-blocks    Used Available Use% Mounted on
-               12288000 2916208   8757392  25% /
+ mkfifo_or_skip_ fifo
+ test 1 =3D 1
+ mkfifo fifo
+ timeout 10 df fifo
df: Warning: cannot read table of mounted file systems: No such file or dir=
ectory
+ fail=3D1
+ test 1 =3D 1
+ dump_mount_list_
+ cat /proc/self/mountinfo
cat: /proc/self/mountinfo: No such file or directory
+ cat /proc/self/mounts
cat: /proc/self/mounts: No such file or directory
+ cat /proc/mounts
/dev/hd0s1 / ext2fs writable,store-type=3Dtyped 0 0
proc /proc /hurd/procfs defaults 0 0
none /dev/shm /hurd/tmpfs writable,no-sync,size=3D1514772K 0 0
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=3D1
+ cleanup_
+ :
+ test '' =3D yes
+ cd /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32
+ chmod -R u+rwx /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-unr=
eadable.sh.6E92
+ rm -rf /tmp/guix-build-coreutils-8.32.drv-0/coreutils-8.32/gt-unreadable.=
sh.6E92
+ exit 1
FAIL tests/df/unreadable.sh (exit status: 1)
--8<---------------cut here---------------end--------------->8---

Indeed, =E2=80=98df=E2=80=99 seems to read FIFOs as if they were regular fi=
les:

--8<---------------cut here---------------start------------->8---
ludo@childhurd ~$ mkfifo fifo
ludo@childhurd ~$ ls -l fifo
prw-r--r-- 1 ludo users 0 Oct 21 07:08 fifo
ludo@childhurd ~$ df ./fifo
df: Warning: cannot read table of mounted file systems: No such file or dir=
ectory
^C
--8<---------------cut here---------------end--------------->8---

It would seem that it=E2=80=99s stuck on a =E2=80=98dir_lookup=E2=80=99 RPC:

--8<---------------cut here---------------start------------->8---
  135<--132(pid83)->io_identity_request () =3D 0    137<--136(pid83)    131=
<--133(pid83) 29419
task109(pid83)-> 3206 (pn{ 18}) =3D 0=20
task109(pid83)-> 3206 (pn{ 19}) =3D 0=20
task109(pid83)-> 3206 (pn{ 17}) =3D 0=20
task109(pid83)-> 3206 (pn{ 19}) =3D 0=20
task109(pid83)-> 3206 (pn{ 17}) =3D 0=20
task109(pid83)-> 3206 (pn{ 16}) =3D 0=20
task109(pid83)-> 3206 (pn{ 14}) =3D 0=20
task109(pid83)-> 3206 (pn{ 17}) =3D 0=20
task109(pid83)-> 3206 (pn{ 14}) =3D 0=20
task109(pid83)-> 2023 (17022976 4096) =3D 0=20
  86<--120(pid83)->dir_lookup ("home/ludo/fifo" 65 0) ...113
task109(pid83)-> 2021 (0 4096 1) =3D 0 17018880
task109(pid83)-> 3208 (pn{ 13} 0 1) =3D 0=20
task109(pid83)-> 3206 (pn{ 13}) =3D 0=20
--8<---------------cut here---------------end--------------->8---

=E2=80=A6 where 65 =3D O_NOTRANS | O_RDONLY.

Passing O_NOTRANS (without O_RDONLY) like the =E2=80=98stat=E2=80=99 comman=
d does works
fine.

Maybe /hurd/fifo needs to implement =E2=80=98trivfs_check_open_hook=E2=80=
=99 to avoid
actually opening?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#58803; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 26 Nov 2022 12:00:02 UTC

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