Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: work around leak sanitizer internal errors
When using -fanitize=address in CI, we consistently get spurious test failures due to some issue with the leak detection pass at the end of execution: [==========] tests: Running 1 test(s). [ RUN ] call_rtas_set_debug [ OK ] call_rtas_set_debug [==========] tests: 1 test(s) run. [ PASSED ] 1 test(s). ==2492==LeakSanitizer has encountered a fatal error. ==2492==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==2492==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) FAIL tests/link_librtas (exit status: 1) Perhaps some interaction with cmocka? It does not happen for me locally using the same build-with command line. Possibly related issue: google/sanitizers#723 Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
- Loading branch information