Re: port binary dumping core on recent head in poudriere [tmpfs corruptions involving blocks of zeros that should not be all zeros]

From: Sean C. Farley <scf_at_FreeBSD.org>
Date: Sun, 01 Dec 2024 23:11:00 UTC
On Thu, 28 Nov 2024, Mark Millard wrote:

> On Nov 28, 2024, at 19:54, Sean C. Farley <scf@FreeBSD.org> wrote:
>
>> On Thu, 28 Nov 2024, Mark Millard wrote:
>>
>>> . . .
>>
>>>> System setup:
>>>> - FreeBSD 14.2-STABLE
>>>
>>> The context that I investigated --and what was fixed by a commit only
>>> applies to-- main [so; 15 as stands], not stable/14 .
>>>
>>> stable/14 has no commits mentioning "tmpfs" after 2024-Jun-04.
>>
>> Thank you.  That was my mistake.  I will continue searching for an 
>> answer.  Once I find a way to more consistently trigger it, it will 
>> be much easier.
>>
>> I ran all of the tmpfs*.sh tests from HEAD which all pass except for 
>> tmpfs24.sh.
>
> Did you notice:
>
> Thu, 28 Nov 2024
>   . . .
>    • git: 2e2699c48a7e - main - stress2: Added new tmpfs test scenarios Peter Holm
>
> that added:
>
>    stress2: Added new tmpfs test scenarios
> ---
> tools/test/stress2/misc/tmpfs26.sh | 179 +++++++++++++++++++++++++++++++++++++
> tools/test/stress2/misc/tmpfs27.sh | 49 ++++++++++
> tools/test/stress2/misc/tmpfs28.sh | 61 +++++++++++++
> 3 files changed, 289 insertions(+)

Yes, I had noticed those and tested those too albeit on a 14.2-STABLE. 
They passed as expected.  Only tmpfs24.sh failed.  It failed on two 
14.2-STABLE systems and one 13.3-RELEASE-p7.  I am not thinking it 
related to my problem, but it is unexpected.

>> $ ./all.sh -o tmpfs24.sh
>> 20241128 22:33:38 all: tmpfs24.sh
>> Min hole size is 4096, file size is 524288000.
>> data #1 @ 0, size=4096)
>> hole #2 @ 4096, size=4096
>> data #3 @ 8192, size=4096)
>> hole #4 @ 12288, size=4096
>> data #5 @ 16384, size=4096)
>> hole #6 @ 20480, size=524267520
>> --- /tmp/tmpfs24.exp    2024-11-28 22:33:40.222199000 -0500
>> +++ /tmp/tmpfs24.log    2024-11-28 22:33:40.225048000 -0500
>> @@ -5,4 +5,3 @@
>> hole #4 @ 12288, size=4096
>> data #5 @ 16384, size=4096)
>> hole #6 @ 20480, size=524267520
>> -<<Missing EOF hole>>
>> FAIL tmpfs24.sh exit code 1

Sean
-- 
scf@FreeBSD.org