public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Florian Weimer <fweimer@redhat.com>
Cc: Arjun Shankar <arjun@redhat.com>, Lukasz Majewski <lukma@denx.de>,
	Joseph Myers <joseph@codesourcery.com>,
	DJ Delorie <dj@redhat.com>,
	GNU C Library <libc-alpha@sourceware.org>,
	Florian Weimer <fw@deneb.enyo.de>,
	Alistair Francis <alistair.francis@wdc.com>
Subject: Re: [PATCH] tst: Add test for utime
Date: Mon, 8 Mar 2021 10:55:10 -0300	[thread overview]
Message-ID: <51e962b2-cd02-40bb-f4ba-9b35827ca4f7@linaro.org> (raw)
In-Reply-To: <87r1kpdahj.fsf@oldenburg.str.redhat.com>



On 08/03/2021 10:46, Florian Weimer wrote:
> * Adhemerval Zanella:
> 
>> On 05/03/2021 17:29, Florian Weimer wrote:
>>> * Adhemerval Zanella:
>>>
>>>> Maybe fix the kernel or/and use a non buggy FS instead? IMHO the test is
>>>> doing *exactly* is meant to do: trigger and expose an unexpected return
>>>> from the kernel or the libc. I don't think hiding it using a different
>>>> FS is the right thing to do on glibc testsuite.
>>>
>>> I disagree: We want to test glibc here, not file systems.  Test outputs
>>> are already difficult enough to interpret.  We should not add known
>>> FAILs that are very difficult to fix (reformat & reinstall with another
>>> file system is definitely in that category).
>>
>> My take is since we are the first step to drive the proper y2038 support
>> and it has time limit, it is better to fail hard and signal something
>> is wrong either with glibc or kernel *now* so we iron out the issues
>> instead of fail once users actually deploy glibc on system that are meant
>> to handle y2038 issues.
> 
> We know precisely what is wrong with XFS (and the other file systems
> which need to change their disk layout).  No one gains from testing this
> during glibc builds.

No, but indicates that your system need to be fixed if you intend to
deploy a y2038 binaries on it.

> 
> Again, I do not suggest not to test this, but rather use a path which is
> required to use a specific file system (tmpfs), so that the test outcome
> is more predictable.  The glibc side and the higher VFS layers in the
> kernel are still fully covered if we use tmpfs, so I do not think this
> reduces coverage as far as glibc is concerned.

What if kernel introduce a regression on tmpfs or any other filesystem,
should we gloss over to use a different filesystem instead? Or should we
add a routine to check for the filesystem support for y2038 and disable
or return unsupported instead?

Also, this issue will most likely get fixed way before y2038 will actually
be deployed. So I am not seeing the urgency here of avoid this kind of 
transient failures.


  reply	other threads:[~2021-03-08 13:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25  0:35 Lukasz Majewski
2021-02-25 12:16 ` Adhemerval Zanella
2021-02-27 21:38   ` Lukasz Majewski
2021-03-01 18:32     ` Adhemerval Zanella
2021-03-04 16:17 ` Arjun Shankar
2021-03-04 16:22   ` Florian Weimer
2021-03-04 16:31     ` Lukasz Majewski
2021-03-04 23:58   ` Adhemerval Zanella
2021-03-05 20:29     ` Florian Weimer
2021-03-08 13:41       ` Adhemerval Zanella
2021-03-08 13:46         ` Florian Weimer
2021-03-08 13:55           ` Adhemerval Zanella [this message]
2021-03-08 14:00             ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51e962b2-cd02-40bb-f4ba-9b35827ca4f7@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=alistair.francis@wdc.com \
    --cc=arjun@redhat.com \
    --cc=dj@redhat.com \
    --cc=fw@deneb.enyo.de \
    --cc=fweimer@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=lukma@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).