Tests: what_the_title_puts_in_beside_a_guard_is_told fails after 30 s of Cannot instead of hanging the suite until the job times out #315
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!315
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-315"
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?
@compaccount1-coder on GitHub · 2026-11-26 15:53 UTC · original
compaccount1-coder:fix/bounded-put-beside-retry→main· +20 −6 · 1 files · 1 commits · openWhat and why
watch::tests::what_the_title_puts_in_beside_a_guard_is_toldretriesput_besidein aloopwith no end for as long as it answersCannot("Other tests hold changes of mapping."). That is meant for the moment another test holds a change of mapping. A state that does not pass instead hangs the whole test binary until the CI job's 60-minute timeout, with no message.put_besidealso answersCannotwhen the block is not guarded, or whenlight()/view_guard()are off.That happened here: an RX 6700 XT on Windows 11, PR #277 merged onto
main,cargo test -p victory-gpu --libwith the suite in parallel and the machine under load.freed_memory_leaves_no_notesfailed, then this test printed "has been running for over 60 seconds" and spun until the run was killed 25 minutes later. I could not tie that run to #277 itself: 4 further full runs of #277 on the same card were clean apart from the known RDNA 2 descriptor test (#298). Whatever the state was, the unbounded loop is what made it a hang.The change
Test only. The retry stops after 30 seconds with an assertion that says what
put_besidechecks: whether the block is guarded,light(),view_guard(). Ayield_now()between tries replaces the hot spin. Nothing else changes.Tested
PROTECTEDbit cleared right before the firstput(a local change, not in this PR), the test fails after 30.0 s withput_beside answered Cannot for 30 s: guarded false, light true, view guard true. Onmainthat hangs.watch.rs:3626error that #241 fixes. rustfmt reports nothing new.Also seen while running every GPU PR's tests on this card
Two tests in the shared, address-keyed watch state each failed once in parallel runs under load, and pass on their own and in most full runs:
watch::tests::what_the_kernel_writes_through_is_not_guarded_for_another_view(left: Some([page]) right: Some([])at the secondguard(), watch.rs:5051) andhost::refresh_tests::unchanged_ranges_are_known. The second is one of the two #277 is about.AI-assisted: yes (Claude Code)
🤖 Generated with Claude Code
The test retried put_beside in a `loop` with no end for as long as it answered Cannot ("other tests hold changes of mapping"). Any state that does not pass – the block no longer guarded, another test that panicked midway – then hangs the whole test binary until the job's timeout, with no message. That happened on an RX 6700 XT (PR #277 merged on main, the suite in parallel under load): freed_memory_leaves_no_notes failed, then this test spun for 25 minutes until the run was killed. The retry now stops after 30 seconds with what put_beside looks at (whether the block is guarded, light(), view_guard()). Checked by clearing the block's PROTECTED bit before the first put: "put_beside answered Cannot for 30 s: guarded false, light true, view guard true" after 30.0 s, where it hung before; untouched it passes as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.