no_write_is_lost_with_port_7 and unchanged_ranges_are_known share the global standing asking #534
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#534
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?
@jptorres96 on GitHub · 2026-11-27 10:08 UTC · original
cargo test -p victory-gpu --lib (default threads) failed 2 of 15 runs on an RTX 4080 SUPER and Ryzen 5 5600X, at upstream/main:
watch.rs:5917: round 369, page 2: 142316 is not after 142319 (no_write_is_lost_with_port_7)
host.rs:11100: (unchanged_ranges_are_known)
In isolation: 0/20. With watch:: only: 0/10. With --test-threads=1: passes.
Both tests drive the process-wide journal's standing asking (ask_once / ask_once_end), as does Host::submit/settle_stale/run_deferred in other host tests. One test's ask_once_end ends the other's asking mid-round. unchanged_ranges_are_known already retries for this ("Again if a submission of another test ended it"); the port 7 test does not. Only one thread submits in the runtime, so this looks test-only, not a port 7 race.
Suggested fix: a test-only lock shared by the tests that stand an asking (and by submit under cfg(test)). Happy to send a PR.
github-bot referenced this issue2026-11-27 10:41:18 +00:00