Skip to content

Commit

Permalink
btrfs-progs: CI: disable library tests for D=asan build
Browse files Browse the repository at this point in the history
Due to unknown cause the libbtrfsutil and libbtrfs are not built with
sanitizer libraries and the ASAN test does not succeed. This needs to be
analyzed why, for now disable it so CI can continue.

$ make D=asan test-libbtrfsutil
    [PY]     libbtrfsutil
==235341==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
kdave committed Jun 6, 2024
1 parent ff1ff01 commit ee59d10
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ jobs:
run: sudo make D=asan TEST_LOG=dump test-convert
- name: Test internal APIs
run: make D=asan test-api
- name: Libbtrfsutil test
run: make D=asan test-libbtrfsutil
- name: Libbtrfs build test
run: make D=asan library-test
# Temporary: the library or python bindings are not linked with ASAN and test cannot be run
# - name: Libbtrfsutil test
# run: make D=asan test-libbtrfsutil
# - name: Libbtrfs build test
# run: make D=asan library-test
- name: Tests hash (correctness)
run: make D=asan hash-vectest && ./hash-vectest
- name: Save logs on failure
Expand Down

0 comments on commit ee59d10

Please sign in to comment.