-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEST 'MemorySanitizer-Unit :: ./Msan-x86_64-Test/MemorySanitizer.fstatat' FAILED #49831
Comments
assigned to @vitalybuka |
Added release-13.0.0 to Blocks field. This bug was seen on the 13.0.0-rc1 release run. |
Evgenii, There are several failures like this reported on Ubuntu. Do you have any idea what the problem might be? Other similar failures: |
My guess would be something has changed around here: https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/msan/msan_interceptors.cpp#L709 we depend on libc internals by intercepting __fxstatat. |
Neil, are you able to reproduce this on other versions of Ubuntu? |
I will try Ubuntu 20.10 and let you know. After that I can build whatever you think may work well such as Ubuntu 20.04, Xubuntu 20.04. |
Output from Ubuntu 20.10. Looks much better. Failed Tests (6): Testing Time: 743.91s |
I was just comparing the output between the two runs. Ubuntu 20.10 Ubuntu 21.04 It looks like there are more programs checked in 21.04: 96933 - 96180 = 753. Total programs 101477 - 101439 = 38. |
I wonder if there was some glibc change from 20.10 to 21.04 that caused these failures. |
mentioned in issue #51489 |
The deadline for requesting fixes for the release has passed. This bug is being removed from the LLVM 13.0.1 release milestone. If you have a fix or think this bug is important enough to block the release, please explain why in a comment and add the bug back to the LLVM 13.0.1 release milestone. |
Extended Description
Obtained this error on Ubuntu 21.04 12.0.1 rc1 release run
******************** TEST 'MemorySanitizer-Unit :: ./Msan-x86_64-Test/MemorySanitizer.fstatat' FAILED ********************
Note: Google Test filter = MemorySanitizer.fstatat
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MemorySanitizer
[ RUN ] MemorySanitizer.fstatat
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/lib/msan/tests/msan_test.cpp:738: Failure
Expected: true
To be equal to: TestForNotPoisoned((st->st_dev))
Which is: false
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/lib/msan/tests/msan_test.cpp:739: Failure
Expected: true
To be equal to: TestForNotPoisoned((st->st_mode))
Which is: false
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/lib/msan/tests/msan_test.cpp:740: Failure
Expected: true
To be equal to: TestForNotPoisoned((st->st_size))
Which is: false
[ FAILED ] MemorySanitizer.fstatat (1 ms)
[----------] 1 test from MemorySanitizer (1 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] MemorySanitizer.fstatat
1 FAILED TEST
The text was updated successfully, but these errors were encountered: