ci(sanitizers): replace the fixed known failures with the current ones #15165
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15165"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by ljkx on 2026-11-02T19:37:37Z.
What
.github/sanitizer-known-failures.txtlists eight tests. The nightly Sanitizers run of 2026-11-11 (42954663888) passes six of them, whose fixes have merged (#11555, #9240, #11059, #11480;agc_driver_pm4by #10973;guest_getrlimitnow skips under ASan). This removes them.agc_driver_graphicsandagc_driver_graphics_maps_fallbackstill fail there, but no longer onCopyGuestBytes: they stop on the test's check that guest heap memory lies below 1 << 40 (guest heap memory is beyond the 40-bit PS4 GPU address space), because the ASan build maps the guest arena above 1 TiB (#16813). Their entries stay, with that reason and sanitizeraddress.The seven entries an earlier revision added (
agc_frame_limit,guest_np_common_runtime,guest_webrtc_vad,nkwebkit_wtf,pad_identify_*) pass in that run (#14438, #14995, #14996, #15003, #15927) and are not added.Tested
Windows 11, Python 3.12:
python3 -m unittest tools.tests.test_sanitizer_reportpasses, includingRepositoryKnownFailuresTests.git diff --checkagainstmainis clean (LF line endings).python3 tools/sanitizer_report.py ctest.xml --known .github/sanitizer-known-failures.txt --sanitizer address --sanitizer undefinedon thesanitizer-testsartifact of run 42954663888 reports4823 tests: 3766 passed, 1042 skipped, 15 failed (2 known).and no entry under "Listed as known but passed". The other 13 failures of that run are not listed here; #16813 maps each to an open fix. No sanitizer build was run locally.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T19:45:24Z.
Review: APPROVED
Reviewed — looks good
The replacement list matches the sanitizer reports: seven sanitizer failures are listed, while
ngs2_filterremains a separate bit-exact failure.What I ran
Reviewed exact head
08c1d42fb93b890a3fdd01bb093825b746ac7ab1against basea4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8; the isolated merge preview was clean. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. I did not build AnyPS5 or run a sanitizer build locally.The last command uses the PR's exact allowlist extracted from head
08c1d42. I also ran the same report against the Oct 31 and Nov 1 artifacts using the allowlist from each run's own head.Results
ngs2_filteris a separate failure.Commands and unedited output
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15165Precheck output for the failed diff check:
The precheck's conventions command printed:
Its test-quality helper was absent in the isolated snapshot:
python3 -m unittest tools.tests.test_sanitizer_reportLatest artifact summary (run
41384606155, head926f7dd492b0b432d9287f4d6faaaf1c9d3c86c5):The Nov 1 and Oct 31 reports each listed the previous eight entries as “Listed as known but passed.” The Nov 2 raw
ctest.logsaysNGS2 check failed at line 235forngs2_filter, with no sanitizer diagnostic for that test.Negative control: remove only
guest_webrtc_vadfrom a temporary copy of the allowlist, then run the same reporter on the Nov 2 artifact:Hosted checks on the PR head:
Negative control
guest_webrtc_vadfrom a temporary allowlist copy.Findings
Blocking
None found.
Non-blocking
The precheck flags the final added row's CRLF terminator as trailing whitespace. Normalizing that row to LF would make
git diff --checkclean; it does not change the report's classification.Sources
926f7dd492b0b432d9287f4d6faaaf1c9d3c86c55d3ad2112f60f35d463dc2c9d96d1c9d35871015de824c2919ca65086c6324a1e0388866a7327eeaNot verified
I did not run a local ASan/UBSan build or console tests. The scheduled sanitizer evidence is from the linked Ubuntu GitHub Actions runs. All PR build jobs were skipped for this change.
To get this to a good state
No behavior change is requested. If the final line ending is normalized, I will rerun
git diff --check, the sanitizer report unit tests, and the artifact-to-allowlist comparison on the new head.Imported from boykopovar/AnyPS5. Originally posted by mashingaan on 2026-11-02T20:33:04Z.
Review: APPROVED
Reviewed head
08c1d42fb9. The replacement list distinguishes the seven reported sanitizer failures from the separate bit-exact ngs2_filter failure, removes eight resolved or skipped cases, and keeps reasons tied to fixes or upstream behavior. The exact-head Hosted CI conventions, intake and labels checks pass. A separate review records comparison with the three nightly sanitizer reports and the focused report test.Imported from boykopovar/AnyPS5. Originally posted by mashingaan on 2026-11-02T20:33:16Z.
Review: DISMISSED
Correction to my earlier approval: the independent exact-head review reports that git diff --check fails because the final added row in .github/sanitizer-known-failures.txt has a CRLF terminator. Please normalize that row to LF. My earlier approval missed this whitespace failure.