Commit 7bb2215
authored
Don't disable ASLR when re-running tests under LLDB, to work in CI (#5366)
When tests fail in CI the runner tries to re-run the failing test under
LLDB to get a backtrace. LLDB tries to disable ASLR on startup using
personality(2) and this in turn doesn't work on most CI runners because
it's a privileged operation and the container they're running in doesn't
allow it, so rather than any useful backtrace diagnostics we get a
failure like:
```
error: Cannot launch '/home/runner/work/stellar-core/stellar-core/build-gcc-current/src/stellar-core': personality set failed: Operation not permitted
```
This PR modifies how we run LLDB to tell it _not_ to try to disable
ASLR, which means it won't fail, which means it _should_ be more likely
to start and produce a backtrace.2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
0 commit comments