GNU bug report logs - #71895
Test failure in Coreutils 9.4 [During LFS Build]

Previous Next

Package: coreutils;

Reported by: 0xn00dle <0xn00dle <at> proton.me>

Date: Tue, 2 Jul 2024 05:17:03 UTC

Severity: normal

To reply to this bug, email your comments to 71895 AT debbugs.gnu.org.

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-coreutils <at> gnu.org:
bug#71895; Package coreutils. (Tue, 02 Jul 2024 05:17:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to 0xn00dle <0xn00dle <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 02 Jul 2024 05:17:03 GMT) Full text and rfc822 format available.

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

From: 0xn00dle <0xn00dle <at> proton.me>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: Test failure in Coreutils 9.4 [During LFS Build]
Date: Tue, 02 Jul 2024 01:05:51 +0000
[Message part 1 (text/plain, inline)]
Hello,

While running the test for Coreutils during my LFS build (Chapter 8.57 Coreutils-9.4: https://www.linuxfromscratch.org/lfs/view/12.1/chapter08/coreutils.html), I encountered a potential bug and the test recommended I report it.

LFS 12.1 Build, on Pop_OS! Host System
Coreutils Verson: 9.4
Kernel: 6.8.0-76060800daily20240311-generic
Architecture: x86_64

It occurred after running:

su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"

The fail details:

FAIL: tests/tty/tty
===================

++ initialcwd=/sources/coreutils-9.4
+++ testdirprefix
+++ printf gt
++ pfx=gt
+++ mktempd /sources/coreutils-9.4 gt-tty.sh.XXXX
+++ case $# in
+++ destdir=/sources/coreutils-9.4
+++ template=gt-tty.sh.XXXX
+++ MAXTRIES=4
+++ case $destdir in
+++ destdir_slash=/sources/coreutils-9.4/
+++ case $template in
++++ unset TMPDIR
+++ d=/sources/coreutils-9.4/gt-tty.sh.xcFx
+++ case $d in
+++ :
+++ test -d /sources/coreutils-9.4/gt-tty.sh.xcFx
++++ ls -dgo /sources/coreutils-9.4/gt-tty.sh.xcFx
+++ perms='drwx------ 2 4096 Jul 1 18:52 /sources/coreutils-9.4/gt-tty.sh.xcFx'
+++ case $perms in
+++ :
+++ echo /sources/coreutils-9.4/gt-tty.sh.xcFx
+++ return
--
tty: extra operand 'a'
Try 'tty --help' for more information.
+ returns 2 tty -s a
tty: extra operand 'a'
Try 'tty --help' for more information.
+ test -w /dev/full
+ test -c /dev/full
+ test -t 0
+ returns 3 tty
tty: write error: No space left on device
+ returns 3 tty
tty: write error: No space left on device
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ removetmp
+ _st=1
+ cleanup
+ :
+ test '' = yes
+ cd /sources/coreutils-9.4
+ chmod -R u+rwx /sources/coreutils-9.4/gt-tty.sh.xcFx
+ rm -rf /sources/coreutils-9.4/gt-tty.sh.xcFx
+ exit 1FAIL tests/tty/tty.sh (exit status: 1)

I applied coreutils-9.4-il8n-1.patch and a fix for a vulnerability in the split utility prior to the test.

Best,

Noelle
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#71895; Package coreutils. (Tue, 02 Jul 2024 08:12:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: 0xn00dle <0xn00dle <at> proton.me>, 71895 <at> debbugs.gnu.org
Subject: Re: bug#71895: Test failure in Coreutils 9.4 [During LFS Build]
Date: Tue, 2 Jul 2024 09:10:27 +0100
On 02/07/2024 02:05, 0xn00dle via GNU coreutils Bug Reports wrote:
> Hello,
> 
> While running the test for Coreutils during my LFS build (Chapter 8.57 Coreutils-9.4: https://www.linuxfromscratch.org/lfs/view/12.1/chapter08/coreutils.html), I encountered a potential bug and the test recommended I report it.
> 
> LFS 12.1 Build, on Pop_OS! Host System
> Coreutils Verson: 9.4
> Kernel: 6.8.0-76060800daily20240311-generic
> Architecture: x86_64
> 
> It occurred after running:
> 
> su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
> 
> The fail details:
> 
> FAIL: tests/tty/tty
> ===================


> --
> tty: extra operand 'a'
> Try 'tty --help' for more information.
> + returns 2 tty -s a
> tty: extra operand 'a'
> Try 'tty --help' for more information.
> + test -w /dev/full
> + test -c /dev/full
> + test -t 0
> + returns 3 tty
> tty: write error: No space left on device
> + returns 3 tty
> tty: write error: No space left on device
> + Exit 1
> + set +e
> + exit 1
> + exit 1
> + removetmp
> + _st=1
> + cleanup
> + :
> + test '' = yes
> + cd /sources/coreutils-9.4
> + chmod -R u+rwx /sources/coreutils-9.4/gt-tty.sh.xcFx
> + rm -rf /sources/coreutils-9.4/gt-tty.sh.xcFx
> + exit 1FAIL tests/tty/tty.sh (exit status: 1)
> 
> I applied coreutils-9.4-il8n-1.patch and a fix for a vulnerability in the split utility prior to the test.
> 
> Best,
> 
> Noelle


I can't repro.
Can you repro this test in isolation with:

  su tester -c 'make check VERBOSE=yes TESTS=tests/tty/tty.sh SUBDIRS=.'

Note some of the output of the test seemed to be elided,
so I wasn't able to see exactly the line that failed
(No space left on device is an expected case and not the issue here).

thanks,
Pádraig





Information forwarded to bug-coreutils <at> gnu.org:
bug#71895; Package coreutils. (Thu, 04 Jul 2024 20:45:02 GMT) Full text and rfc822 format available.

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

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>,
 0xn00dle <0xn00dle <at> proton.me>, 71895 <at> debbugs.gnu.org
Subject: Re: bug#71895: Test failure in Coreutils 9.4 [During LFS Build]
Date: Thu, 4 Jul 2024 22:44:05 +0200
On 7/2/24 10:10, Pádraig Brady wrote:
> Note some of the output of the test seemed to be elided,
> so I wasn't able to see exactly the line that failed
> (No space left on device is an expected case and not the issue here).

Latest 'returns_', i.e., after gnulib commit 7b8fe0cfbde, seem to have improved the
'set -x' behavior.  We have that commit already included in the gnulib submodule
of coreutils, so it would also be good to test with a distribution tarball from
latest git.

Have a nice day,
Berny




This bug report was last modified 105 days ago.

Previous Next


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