You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[IsolationSession] The concurrent one-shot test relies on log-file writes that fail without any session ending early #1650
Area-TestShared test infrastructure, fixtures, harnesses, probes, or end-to-end validation.Backend-IsolationSessionWindows IsolationSession backend behavior or integration.Issue-BugSomething is not working as intended.OS-WindowsApplies specifically to Windows hosts or Windows behavior.
The concurrent one-shot test in tests/scripts/run_isolation_session_tests.ps1 is meant to prove that one-shot sessions with overlapping lifetimes each run their workload to completion and that each wxc-exec exits 0 after cleanup. Its evidence comes from files: each workload appends markers to its own log in a shared host directory with Add-Content, the test starts each session after the previous workload's <X>-started marker appears, and after all three exit it checks each log for the final markers.
Those writes can fail while the workload keeps running, for a reason not yet established. Add-Content errors do not stop the script, so the workload exits 0, and the test reports the missing markers as truncation, the failure it exists to detect. The launch gating depends on the same writes: when a <X>-started marker is missing, the test waits 30 seconds and starts the next session anyway, and nothing checks that the sessions overlapped.
Steps to reproduce
The test failed in four runs of the windows-prerelease-26h1 jobs:
The test proves the same properties without depending on the workloads' writes to shared files: it fails only when a session ends early or fails to clean up, and it shows that the sessions ran at the same time.
Actual behavior
Each run reported truncation although all three wxc-exec processes exited 0. In the 09-30, 10-16 and 10-18 runs, the failing workload's captured stderr showed Add-Content : Stream was not readable.; the 10-07 run's was not checked, and the uploaded logs are no longer available.
Area-TestShared test infrastructure, fixtures, harnesses, probes, or end-to-end validation.Backend-IsolationSessionWindows IsolationSession backend behavior or integration.Issue-BugSomething is not working as intended.OS-WindowsApplies specifically to Windows hosts or Windows behavior.
Activity
[IsolationSession] Drive the concurrent one-shot test over stdin
[IsolationSession] Drive the concurrent one-shot test over stdin
[IsolationSession] Drive the concurrent one-shot test over stdin