[PATCH v1.1] tests: Verify inheritance of cpu affinity
Siddhesh Poyarekar
siddhesh@gotplt.org
Fri Jan 10 15:29:46 GMT 2025
On 2025-01-10 08:27, Siddhesh Poyarekar wrote:
> On 2025-01-10 08:01, Stefan Liebler wrote:
>> I observe testfails on s390x/s390 with both of the new tests:
>> FAIL: misc/tst-sched-affinity-inheritance
>> FAIL: nptl/tst-pthread-affinity-inheritance
>> (See attached files for more full output)
>>
>> To be honest, so far I have not looked into details, but I wanted to
>> report to see if others also observe errors.
>>
>> As information, my system reports this
>> $ nproc
>> 16
>> $ nproc --all
>> 200
>
> Oops, thanks for letting me know, I'll take a look.
I can't reproduce these on a c10s system:
# uname -r
6.12.0-39.el10.s390x
# nproc
2
# nproc --all
64
Could you tell me what kernel you're running on and also configure/build
flags? One possibility is that I have too few cores compared to your
system, but I can't see why it should result in the failure you're
seeing. Also, the failure seems to be due to an underlying failure in
getting sched attributes, which I'm thinking may be kernel related.
Thanks,
Sid
More information about the Libc-alpha
mailing list