Skip to content

Commit

Permalink
Fix sanitizer output log directory
Browse files Browse the repository at this point in the history
In the sanitizer workflow we're trying to upload sanitizer output
logs from `${{ github.workspace }}/sanitizer` but in the ASAN_OPTIONS,
LSAN_OPTIONS and UBSAN_OPTIONS we were setting output logs to another
place.

Example of workflow that files were not found in the provided path:
https://github.com/timescale/timescaledb/actions/runs/6830847083
  • Loading branch information
fabriziomello committed Nov 14, 2023
1 parent 0892d90 commit b917eed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sanitizer-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ env:
# static sanitizer clang LDFLAGS or dynamic sanitizer gcc LDFLAGS
LDFLAGS: "-fsanitize=address,undefined"
ASAN_OPTIONS: suppressions=${{ github.workspace }}/scripts/suppressions/suppr_asan.txt
detect_odr_violation=0 log_path=${{ github.workspace }}/sanitizer/sanitizer
detect_odr_violation=0 log_path=${{ github.workspace }}/sanitizer
log_exe_name=true print_suppressions=false exitcode=27
detect_leaks=0 abort_on_error=1

LSAN_OPTIONS: suppressions=${{ github.workspace }}/scripts/suppressions/suppr_leak.txt
print_suppressions=0 log_path=${{ github.workspace }}/sanitizer/sanitizer
print_suppressions=0 log_path=${{ github.workspace }}/sanitizer
log_exe_name=true print_suppressions=false exitcode=27

UBSAN_OPTIONS: suppressions=${{ github.workspace }}/scripts/suppressions/suppr_ub.txt
print_stacktrace=1 halt_on_error=1 log_path=${{ github.workspace }}/sanitizer/sanitizer
print_stacktrace=1 halt_on_error=1 log_path=${{ github.workspace }}/sanitizer
log_exe_name=true print_suppressions=false exitcode=27

IGNORES: "bgw_db_scheduler bgw_db_scheduler_fixed"
Expand Down

0 comments on commit b917eed

Please sign in to comment.