[CI] Synchronize shared offload unlink test before observing pathname - #55604
Conversation
Wait until every constructor returns before observing pathname removal. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: khluu <khluu000@gmail.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
📝 SummarySummary by CodeRabbit
WalkthroughThe multiprocessing test worker now performs a second barrier wait after ChangesShared offload synchronization test
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/ci run |
|
✅ Triggered Buildkite CI #87454 for commit |
|
+1, my NVFP4 PR #52501 hit the same failure in the H200 V1 Core + KV + Metrics lane: Buildkite #87502, commit
That PR only changes NVFP4 scale handling in |
…vllm-project#55604) Signed-off-by: khluu <khluu000@gmail.com> Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Jyotirmoy Roy <jyotirmoyroy649@gmail.com>
The V1 Core KV Offload lane failed in build 87386 because
test_mp_barrier_unlinks_file_and_survives_sigkillobserved the mmap pathname before its creator unlinked it. The constructor's barrier synchronizes mapping, then the creator unlinks; a peer may return and inspect the pathname while that unlink is still pending.Synchronize the test workers again after construction, before reporting the pathname state. Keep the existing assertions for a shared inode, pathname removal, and mappings surviving until SIGKILL. Production behavior is unchanged.
Duplicate checks: searched open PRs for
shared_offload_regionandunlink barrier. #53073 changes creator ownership, #54619 reaps orphaned regions, and #51317 changes region reclamation. Their changes do not provide this post-constructor synchronization in the existing test.Validation on Linux, public main commit
6865e67f0bplus this patch:VLLM_TARGET_DEVICE=cpu .venv/bin/python -m pytest -q tests/v1/kv_offload/cpu/test_shared_offload_region.py: 40 passed.os.unlink: the original test failed its pathname assertion; the patched test passed with the same delay. The delay was removed afterward and is not part of this change.pre-commit run --files tests/v1/kv_offload/cpu/test_shared_offload_region.py: all applicable hooks passed.CI follow-up: in build 87454 on head
08e1e2f78c, thetests/v1/kv_offloadsuite passed 570 tests, 1 skipped, including the previously failing test. The broader V1 Core + KV + Metrics job continues with other suites, so this is not a claim that the whole build has passed.AI assistance was used to investigate, implement, and validate this change. Published as a draft for human review; human review is not claimed as completed. No model behavior changes or model evaluations are involved.