Flaky test: a_texture_blank_for_thousands_of_submissions_is_still_probed #346
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#346
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@m0rff on GitHub · 2026-11-27 13:24 UTC · original
The test
a_texture_blank_for_thousands_of_submissions_is_still_probed(crates/victory-gpu/src/native/texture_tests.rs) fails now and then under load: 5 of 500 runs on the #308 merged head and 2 of 300 on main (texture_tests module, 8 threads, 4 CPU burners), measured in the last comment on #308.Plan: reproduce under the same load, trace which assertion fails and why, fix it, and loop 500 runs.
@m0rff on GitHub · 2026-11-27 13:24 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 13:24 UTC · original
Claimed by @m0rff. Open a draft pull request with
Refs #344in its description within 24 hours, or the claim expires.@m0rff on GitHub · 2026-11-27 16:49 UTC · original
Traced. The deadline was not the cause, so #351's test change alone did not fix this. The cause was a probe round skipping a key: a key leaving the round after the wrap was swapped for the list's last key, which the round had often probed already, so the key just before the round's start was not probed in that submission. Another test running in parallel writes its own blank texture into the same round. A diagnostic showed the list going from 204 to 203 entries while this test's texture stayed blank and stayed in
blank_keys.#252's wrapped removal fixed that on main. Stress loop (
texture_tests, 8 threads, 4 CPU burners):60baf130: 3 failures of this test in 400 runs;4cf84c83: 0 failures of any test in 500 runs.#403 adds a regression test for the skip and a note in the docs. It changes no code.
@LakshanSivakumar on GitHub · 2026-11-28 00:35 UTC · original
Thank you for tracing this. The cause was a probe round skipping a key after a wrapped removal. #252 fixed the wrap, and #351 makes this test hold the title lock and probe without a deadline. Both are on main. You measured it failing 5 of 500 and 2 of 300 before. I have not looped it 500 times on
a6a58361, so I am not sure it can never fail. Closing now; if it fails again, please post the assertion and the load, and I will reopen it.