Conversation
Add utils/ci/run-unit_tests.sh, the single entry point that will drive each of the 4 unit-test CI modes (standard/asan/ubsan/tsan) once wired into GitHub Actions: - Selects the right run_utest.py flag (--asan/--ubsan/--tsan, added in a prior commit) for the requested mode. - Sets each sanitizer's *_OPTIONS (log_path, exitcode, mode-specific tuning), honoring any pre-set override or a *_EXTRA_OPTIONS append. - Wires in utils/test_lsan.supp / utils/test_tsan.supp suppressions when present (added in a later commit; this script degrades gracefully if they don't exist yet). - Mounts a tmpfs for PMDK/VOS tests, runs utils/run_utest.py, and determines sanitizer_detected/functional_failure/runner_error from the resulting logs and JUnit/cmocka XML output. - Writes a 3-field test-results/exit_status file for the workflow to key its pass/fail decision on. Also adds utils/ci/summarize_functional_failures.py, which scans JUnit/cmocka XML for failures and renders the deduplicated cmocka-level/binary-level Markdown table used both by this script (to compute functional_failure) and, later, by the GHA job summary. Not yet invoked by any GHA workflow. Part of the DAOS-18626 ASan CI split (see ckochhof/dev/master/daos-18626/patch-001 for the original, unsplit commit). Signed-off-by: Cedric Koch-Hofer <cedric.koch-hofer@hpe.com>
Collaborator
|
Test stage Python Bandit check completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19104/1/execution/node/441/log |
|
Ticket title is 'Add ASan/UBSan/TSan sanitizer checks to the GitHub Actions unit-test CI' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO
Steps for the author:
After all prior steps are complete: