Skip to content

Commit

Permalink
ci: Drop LSAN suppressions for PAM tests
Browse files Browse the repository at this point in the history
These are not needed anymore as the libPAM leaks are fixed in noble
  • Loading branch information
3v1n0 committed Nov 18, 2024
1 parent d4948a4 commit 671525e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,11 @@ jobs:
echo "Running PAM integration tests"
pushd ./pam/integration-tests
go test -asan -gcflags=all="${GO_GC_FLAGS}" -c
# FIXME: Suppression may be removed with newer libpam, as the one we ship in ubuntu as some leaks
LSAN_OPTIONS=suppressions=$(pwd)/lsan.supp \
go tool test2json -p pam/integrations-test ./integration-tests.test \
-test.v=test2json \
-test.timeout ${GO_TESTS_TIMEOUT} | \
../../tools/gotestfmt --logfile "${AUTHD_TEST_ARTIFACTS_PATH}/gotestfmt.pam-integration-tests-asan.log" || \
exit_code=$?
go tool test2json -p pam/integrations-test ./integration-tests.test \
-test.v=test2json \
-test.timeout ${GO_TESTS_TIMEOUT} | \
../../tools/gotestfmt --logfile "${AUTHD_TEST_ARTIFACTS_PATH}/gotestfmt.pam-integration-tests-asan.log" || \
exit_code=$?
popd
# We don't need the xtrace output after this point
Expand Down
11 changes: 0 additions & 11 deletions pam/integration-tests/lsan.supp

This file was deleted.

0 comments on commit 671525e

Please sign in to comment.