-
Notifications
You must be signed in to change notification settings - Fork 51
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
ci: asan build randomly failing #5801
Comments
This might be https://zolutal.github.io/aslrnt/ | google/sanitizers#1614 |
Thank you @vchuravy! That is indeed the problem. |
grondo
added a commit
to grondo/flux-core
that referenced
this issue
Mar 18, 2024
Problem: Recent kernel address space layout randomization (ASLR) appears to confuse some versions of address sanitizers, leading to random failures in github CI. Disable kernel.randomize_va_space for the github asan build to avoid these failures. Thanks to @vchuravy for pointing out the issue. Since LD_PRELOAD of libasan wasn't the root cause, reinstate preloading the libasan library to get as full coverage as possible. Fixes flux-framework#5801.
grondo
added a commit
to grondo/flux-core
that referenced
this issue
Mar 18, 2024
Problem: Recent kernel address space layout randomization (ASLR) appears to confuse some versions of address sanitizers, leading to random failures in github CI. Disable kernel.randomize_va_space for the github asan build to avoid these failures. Thanks to @vchuravy for pointing out the issue. Since LD_PRELOAD of libasan wasn't the root cause, reinstate preloading the libasan library to get as full coverage as possible. Fixes flux-framework#5801.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The address sanitizer build wasn't fully fixed by the most recent PR #5800. Instead, I'm seeing the build sometimes succeed and sometimes fail even with those changes. The random failures appear to occur in the Lua unit tests. I used tmate to see what's going on in the actual CI builder and noticed that
make check
insrc/bindings/lua
sometimes succeeds, but more often fails with the error:I'm not sure what would cause random failures in asan, but looking into it.
The text was updated successfully, but these errors were encountered: