mxc icon indicating copy to clipboard operation
mxc copied to clipboard

[CI] WSLC Node state-aware suite fails: store slot-0 still held after Stop-WslcDaemons

Open theelliotm opened this issue 1 week ago • 0 comments

Relevant area(s)

Windows

Brief description of your issue

  • All 4 tests in the Node wslc-state-aware.test.js suite fail on all 6 WSLC hosts: 24h2, 23h2, 25h2, 26h2, prerelease-26h1 and prerelease-process-container. (example job)
  • Before the suite starts, Stop-WslcDaemons (scripts/ci/run_backend_validation_tests.ps1) force-kills the daemon left by the earlier suite and waits for the process to exit.
  • The WSLC session and its slot-0 store lock outlive that process, so the next daemon's store probe gets 0x80070020 (sharing violation).
  • The Node create-and-run, C# and Rust WSLC suites that run later all pass.
  • Not seen in earlier nightlies: those failed earlier, in prepare-windows-host.ps1 (fixed by #1798).

Steps to reproduce

  1. Run scripts/ci/run_backend_validation_tests.ps1 with the WSLC backend. The Node state-aware suite runs right after Stop-WslcDaemons kills the earlier suite's daemon.

Expected behavior

  • Before the next suite starts, the earlier daemon's WSLC session is released, either by a graceful daemon shutdown or by waiting until the store can be opened.

Actual behavior

Stopping wxc-wslc-daemon 12780 from an earlier suite.
Error [MxcError]: the WSLc session this provision was waiting for could not be created:
WSLc store unavailable: the image store at C:\Users\cloudtest\AppData\Local\mxc\wslc-store-slots\slot-0
is already held by another live session ... (HRESULT 0x80070020)
tests 4  pass 0  fail 4

theelliotm avatar Nov 19 '26 21:11 theelliotm