DAOS-18626 ci: Add shared sanitizer report parsing base module#18698
Draft
knard38 wants to merge 1 commit into
Draft
DAOS-18626 ci: Add shared sanitizer report parsing base module#18698knard38 wants to merge 1 commit into
knard38 wants to merge 1 commit into
Conversation
|
Ticket title is 'Add ASan/UBSan/TSan sanitizer checks to the GitHub Actions unit-test CI' |
Add utils/ci/sanitizer_report_base.py, the shared infrastructure used by the upcoming ASan/UBSan/TSan report parsers: - StackFrame data class and shared frame-regex fragments (FILE_LINE_COL / ADDR_FRAME_RE). - collect_reports(): scan a log directory for <prefix>.<pid> files and attach each report's originating test-binary name from its companion '.testname' file. - resolve_paths_frames()/resolve_paths_threaded(): resolve absolute frame paths to source-root-relative ones. - SARIF 2.1.0 helpers (sarif_location(), build_sarif_doc()). - build_summary_md()/report_heading(): shared Markdown job-summary template and per-report details block. - get_args()/main_runner(): shared CLI argument parsing and control flow. This module has no consumers yet (the ASan/UBSan/TSan parsers that import it land in the next few commits) and is not referenced by any 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>
knard38
force-pushed
the
ckochhof/dev/master/daos-18626/patch-004
branch
from
July 23, 2026 13:15
2b27ae1 to
c861504
Compare
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.
This is PR 3 of 10 in the split of DAOS-18626 (see
ckochhof/dev/master/daos-18626/patch-001for the original, unsplit commit). It addsutils/ci/sanitizer_report_base.py, the shared infrastructure used by the ASan/UBSan/TSan report parsers added in the next three PRs of this stack. This module has no consumers yet within this PR and is not yet referenced by any workflow.What/why
StackFramedata class and shared frame-regex fragments (FILE_LINE_COL/ADDR_FRAME_RE).collect_reports(): scan a log directory for<prefix>.<pid>files and attach each report's originating test-binary name from its companion.testnamefile.resolve_paths_frames()/resolve_paths_threaded(): resolve absolute frame paths to source-root-relative ones.sarif_location(),build_sarif_doc()).build_summary_md()/report_heading(): shared Markdown job-summary template and per-report details block.get_args()/main_runner(): shared CLI argument parsing and control flow.Steps for the author:
After all prior steps are complete: