[Bug libc/27398] x86: Improve testing false positive for tst-cpu-features-cpuinfo with bad hardware.
carlos at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jan 18 03:49:52 GMT 2022
https://sourceware.org/bugzilla/show_bug.cgi?id=27398
--- Comment #12 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to H.J. Lu from comment #11)
> Created attachment 13910 [details]
> The v2 patch
>
> Please try this.
Thanks HJ.
My apologies, I made a mistake during testing, this still fails:
[carlos@fedora ~]$ taskset --cpu-list 0,1 ~/build/glibc-review/testrun.sh
/home/carlos/build/glibc-review/elf/tst-cpu-features-cpuinfo-static; echo $?
Checking HAS_CPU_FEATURE (HLE):
HAS_CPU_FEATURE (HLE): 1
cpuinfo (hle): 0
*** failure ***
Checking HAS_CPU_FEATURE (RTM):
HAS_CPU_FEATURE (RTM): 1
cpuinfo (rtm): 0
*** failure ***
Likewise:
[carlos@fedora ~]$ taskset --cpu-list 0,1 ~/build/glibc-review/testrun.sh
/home/carlos/build/glibc-review/string/tst-memchr-rtm; echo $?
error: ../sysdeps/x86/tst-string-rtm.h:63: TSX abort rate: 100.00% (3000 out of
3000)
error: 1 test failures
1
[carlos@fedora ~]$ taskset --cpu-list 0,1 ~/build/glibc-review/testrun.sh
/home/carlos/build/glibc-review/string/tst-memchr-rtm; echo $?
77
[carlos@fedora ~]$ taskset --cpu-list 0,1 ~/build/glibc-review-i686/testrun.sh
/home/carlos/build/glibc-review-i686/string/tst-memchr-rtm; echo $?
77
[carlos@fedora ~]$ taskset --cpu-list 0,1 ~/build/glibc-review-i686/testrun.sh
/home/carlos/build/glibc-review-i686/string/tst-memchr-rtm; echo $?
error: ../sysdeps/x86/tst-string-rtm.h:63: TSX abort rate: 100.00% (3000 out of
3000)
error: 1 test failures
1
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list