-
Notifications
You must be signed in to change notification settings - Fork 14.6k
[libc++][lldb-dap][test] Fix CI for bootstrapping-build #141543
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
[libc++][lldb-dap][test] Fix CI for bootstrapping-build #141543
Conversation
@llvm/pr-subscribers-lldb @llvm/pr-subscribers-libcxx Author: A. Jiang (frederick-vs-ja) ChangesIt seem that #140107 changed the default argument of This PR attempts to fix the CI failure. Full diff: https://github.com/llvm/llvm-project/pull/141543.diff 2 Files Affected:
|
There're many TSan and MSan errors seemingly related to ASLR. But it's curious that how did they happen when |
I'm a bit confused why this test is special and would be the only one manually setting @JDevlieghere @ashgti why did we switch the default back to |
Looks like #140107 refactored this stuff and as @frederick-vs-ja points out, my fix in #113593 essentially got reverted. @ashgti is there some default config for tests that we could stick |
Would it be a good idea to change here instead in order to restore llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py Lines 409 to 417 in bf6cd24
|
Maybe we should update https://github.com/llvm/llvm-project/blob/ff7bb17c88328276323603809d5d4549ca8bd22b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py#L859C9-L859C20 to default to |
Yea i think that's the best way forward |
- Change the default argument for `disableASLR` in `dap_server.py`. - Revert change in `TestDAP_subtleFrames.py`.
I'm going to land this to attempt to unbreak libc++'s CI, which is in a really bad shape right now. From the comments above, this seems to have consensus to move forward. |
Thanks a lot for investigating this folks, in particular @frederick-vs-ja for jumping on the issue to restore libc++'s CI. |
llvm#140107 changed the default argument of `disableASLR` of related functions from `False` to `True`. libc++ CI has been stably failing for `TestDAP_subtleFrames.py` (in bootstrapping-build) since then. The error message "personality set failed: Operation not permitted" seems related to ASLR. This PR attempts to fix the CI failure by changing the default value of `disableASLR` in `dap_server.py` to `False`.
#140107 changed the default argument of
disableASLR
of related functions fromFalse
toTrue
. libc++ CI has been stably failing forTestDAP_subtleFrames.py
(in bootstrapping-build) since then. The error message "personality set failed: Operation not permitted" seems related to ASLR.This PR attempts to fix the CI failure by changing the default value of
disableASLR
indap_server.py
toFalse
.