Repository navigation
CI: Fix log parser - #106848
Merged
Merged
CI: Fix log parser #106848
Conversation
Contributor
|
Workflow [PR], commit [275d2cf] Summary: ✅ AI ReviewSummaryThis PR updates Missing context / blind spots
Final VerdictStatus: ✅ Approve |
…extend test with STID - Trim `error_output` at the first blank line when the matched line is a `Sanitizer: CHECK failed:` report, preventing unrelated `stderr` noise (e.g. `dpkg:` output) from leaking into the issue body - Add regression test with a realistic ASan stack trace that exercises the STID computation path (`1288-3bd5`) and asserts no `dpkg` tail Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Merged
1 task
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.
When a fuzzer run produces a log where the server emits an
AddressSanitizer: CHECK failed:error but also logs a generic server assertion failure, FuzzerLogParser was reporting the assertion as the failure type instead of the sanitizer error.Root cause: the SANITIZER_ERROR_PATTERN regex only matched lines starting with (SUMMARY|ERROR|WARNING): \w+Sanitizer:, missing the \w+Sanitizer: CHECK failed: form that has no prefix keyword. Similarly, _extract_sanitizer_trace did not recognize CHECK failed: as a sanitizer report start marker.
Changes:
Extended SANITIZER_ERROR_PATTERN to also match \w+Sanitizer: CHECK failed: lines.
Updated _extract_sanitizer_trace to start a new report block on CHECK failed: lines.
Added is_check_failed_report flag: CHECK failed: reports end at the first blank line (no SUMMARY: trailer), so the extractor now terminates correctly.
Extracted both regex strings to named class constants (SANITIZER_ERROR_PATTERN, RUNTIME_ERROR_PATTERN) to eliminate duplication between the pattern table and _extract_sanitizer_trace.
Added a regression test in ci/tests/test_log_parser.py covering the mixed assertion + ASan CHECK failed case.
Changelog category (leave one):
Version info
26.6.1.576