Re: test-fdutimensat failures after 7.0.6-200.fc44.x86_64 kernel update
From: Collin Funk
Date: Sat May 23 2026 - 14:32:51 EST
Hi Christoph,
Christoph Hellwig <hch@xxxxxx> writes:
> On Fri, May 15, 2026 at 10:14:28PM -0700, Collin Funk wrote:
>> Adding some print statements in place of the comment:
>>
>> fprintf (stderr, "%jd\n", (intmax_t) st3.st_atime);
>> fprintf (stderr, "%jd\n", (intmax_t) Y2K);
>> fprintf (stderr, "----------------\n");
>
> Can you share a complete stand-alone C source file for this
> reproducer?
It would be quite difficult. The test uses a nap function that sleeps
until the system can notice a timestamp difference. It attempts to use
the smallest interval possible, which requires a bit of work [1].
Apologies for the late reply, I haven't been able to reproduce this
since my original report. I'll let you know if it occurs again and
hopefully I can create a simple reproducer.
Thanks,
Collin
[1] https://github.com/coreutils/gnulib/blob/5ab7a04761dac69403f677de4ee44c1940777b46/tests/nap.h