GNU bug report logs - #75613
tail-c test fails on CentOS 6

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 16 Jan 2025 19:51:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.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 75613 in the body.
You can then email your comments to 75613 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 bug-coreutils <at> gnu.org:
bug#75613; Package coreutils. (Thu, 16 Jan 2025 19:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 16 Jan 2025 19:51:02 GMT) Full text and rfc822 format available.

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

From: Bruno Haible <bruno <at> clisp.org>
To: bug-coreutils <at> gnu.org
Subject: tail-c test fails on CentOS 6
Date: Thu, 16 Jan 2025 20:50:29 +0100
[Message part 1 (text/plain, inline)]
On CentOS 6, there is a test failure:

FAIL: tests/tail/tail-c.sh

Log is attached. The command that fails is:

  timeout --verbose 1 tail -c 4096 /dev/urandom

And indeed, I can reproduce it manually:

  $ timeout --verbose 1 src/tail -c 4096 /dev/urandom
  timeout: Unrecognized option '--verbose'
  Try `timeout --help' for more information.

  $ src/timeout --verbose 1 src/tail -c 4096 /dev/urandom
  timeout: sending signal TERM to command 'src/tail'
  $ echo $?
  124

[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#75613; Package coreutils. (Thu, 16 Jan 2025 20:20:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 75613 <at> debbugs.gnu.org
Subject: Re: bug#75613: tail-c test fails on CentOS 6
Date: Thu, 16 Jan 2025 12:19:31 -0800
On 2025-01-16 11:50, Bruno Haible via GNU coreutils Bug Reports wrote:
>    $ src/timeout --verbose 1 src/tail -c 4096 /dev/urandom
>    timeout: sending signal TERM to command 'src/tail'
>    $ echo $?
>    124

Wikipedia[1] says that CentOS versions through CentOS 8 have reached 
end-of-life and are no longer supported, so I doubt whether it's worth 
our time to debug this merely for them. The oldest CentOSish version 
still supported is CentOS Stream 9[2].

[1]: https://en.wikipedia.org/wiki/CentOS#End-of-support_schedule
[2]: https://en.wikipedia.org/wiki/CentOS_Stream#Release_history




Information forwarded to bug-coreutils <at> gnu.org:
bug#75613; Package coreutils. (Thu, 16 Jan 2025 21:12:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Bruno Haible <bruno <at> clisp.org>
Cc: 75613 <at> debbugs.gnu.org
Subject: Re: bug#75613: tail-c test fails on CentOS 6
Date: Thu, 16 Jan 2025 21:11:20 +0000
[Message part 1 (text/plain, inline)]
On 16/01/2025 20:19, Paul Eggert wrote:
> On 2025-01-16 11:50, Bruno Haible via GNU coreutils Bug Reports wrote:
>>     $ src/timeout --verbose 1 src/tail -c 4096 /dev/urandom
>>     timeout: sending signal TERM to command 'src/tail'
>>     $ echo $?
>>     124
> 
> Wikipedia[1] says that CentOS versions through CentOS 8 have reached
> end-of-life and are no longer supported, so I doubt whether it's worth
> our time to debug this merely for them. The oldest CentOSish version
> still supported is CentOS Stream 9[2].
> 
> [1]: https://en.wikipedia.org/wiki/CentOS#End-of-support_schedule
> [2]: https://en.wikipedia.org/wiki/CentOS_Stream#Release_history

Right. Behavior of `tail -c /dev/pseudo` is quite system dependent really,
so that test is quite brittle as is. We already allow for Solaris
specific behavior in the test, so I propose we at least adjust the test
to skip failures on older kernels, as in the attached.

cheers,
Pádraig
[tests-tail-centos6.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#75613; Package coreutils. (Thu, 16 Jan 2025 21:17:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>,
 Bruno Haible <bruno <at> clisp.org>
Cc: 75613 <at> debbugs.gnu.org
Subject: Re: bug#75613: tail-c test fails on CentOS 6
Date: Thu, 16 Jan 2025 13:16:52 -0800
On 2025-01-16 13:11, Pádraig Brady wrote:
> I propose we at least adjust the test
> to skip failures on older kernels, as in the attached.

Thanks, that looks good to me too.




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Thu, 16 Jan 2025 22:20:01 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Thu, 16 Jan 2025 22:20:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Bruno Haible <bruno <at> clisp.org>
Cc: 75613-done <at> debbugs.gnu.org
Subject: Re: bug#75613: tail-c test fails on CentOS 6
Date: Thu, 16 Jan 2025 22:19:14 +0000
On 16/01/2025 21:16, Paul Eggert wrote:
> On 2025-01-16 13:11, Pádraig Brady wrote:
>> I propose we at least adjust the test
>> to skip failures on older kernels, as in the attached.
> 
> Thanks, that looks good to me too.

Pushed.

Marking this as done.

cheers,
Pádraig




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

This bug report was last modified 181 days ago.

Previous Next


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