Flaky test: a_texture_blank_for_thousands_of_submissions_is_still_probed #344
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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T13:24:23Z.
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.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T13:24:28Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T13:24:39Z.
Claimed by @m0rff. Open a draft pull request with
Refs #344in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T16:49:31Z.
Traced. The deadline was not the cause, so #349'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.#399 adds a regression test for the skip and a note in the docs. It changes no code.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:35:43Z.
Thank you for tracing this. The cause was a probe round skipping a key after a wrapped removal. #252 fixed the wrap, and #349 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.