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
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by compaccount1-coder on 2026-11-26T15:53:27Z.
What 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
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.