From e5b6c383c2563bb5cd9003fcef7ffe0f54f896d4 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 5 Jun 2024 23:29:18 +0200 Subject: [PATCH] btrfs-progs: ci: disable library tests for D=asan build 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 --- .github/workflows/ci-sanitize.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-sanitize.yml b/.github/workflows/ci-sanitize.yml index 4f0e3850..065c6e47 100644 --- a/.github/workflows/ci-sanitize.yml +++ b/.github/workflows/ci-sanitize.yml @@ -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