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
ci: Windows cross jobs on the Dell merge-queue runners fail with soldr "Directory not empty (os error 39)", ejecting every queued PR #5420
Since about 10:55 UTC on 2026-11-21, every `x86_64-pc-windows-msvc` job that lands on a Dell self-hosted runner fails a few seconds into `soldr cargo test --workspace --no-run --locked --target x86_64-pc-windows-msvc` (Windows Link Check) or the matching clippy (Rust Cross Lint):
soldr: trust: verified xwin-cache v2026-06-22 for x86_64-pc-windows-msvc sha256=33c04d80...
soldr: added 2987 xwin-cache case aliases
soldr: extracted xwin-cache to /var/cache/obs-runner/slots/dell-jw22zc3-obs-rust-2/setup-soldr/...
soldr: trust: verified compiler-rt/21.1.5/windows-x64/bundle.tar.zst sha256=f5da2d73...
soldr: IO error: Directory not empty (os error 39)
The same jobs on GitHub-hosted runners pass. When the Dell is idle the merge-queue runner selector picks it ("Dell capacity available ... admission=idle"), so a queued PR is ejected every time. Nothing in the PR's code is involved: the failure happens before any crate compiles.
Before 10:50 the same jobs passed on dell-jw22zc3-obs-rust-1, -dyn-obs-rust-2/-3 and dell-fsx3mn2-2/-4.
Likely cause
soldr unpacks the Windows clang resources (compiler-rt) into a content-addressed directory under the runner's persistent `~/.soldr/sdk/windows-msvc/clang-resources//`, which holds `compiler-rt-input/`, `package/` and a `.complete` marker (that's the layout on a dev machine). The persistent runner home survives between jobs. A job killed or cancelled during that step (09:41 had a cancelled run on dell-fsx3mn2-1) can leave the directory without `.complete`. Every later job then tries to rename a fresh extraction onto the non-empty directory and gets ENOTEMPTY. Hosted runners start with an empty home, so they never see it.
What would fix it
Now: clear the partial `clang-resources/` directories (no `.complete`) in the Dell runner homes, or the whole `~/.soldr/sdk/windows-msvc/clang-resources`.
Lasting: soldr should treat an existing directory without `.complete` as stale (remove it under the lock and extract again) rather than fail.
The PR that extracts obs_get_video (#5419) is waiting on this; it is green on its PR run.
Found the cause and reproduced it locally; my guess in the issue body (compiler-rt) was wrong.
The failing step is soldr's C/C++ driver writer, not the compiler-rt extraction (compiler-rt prints "trust: verified" only after it has already succeeded). write_drivers in soldr 0.9.54 returns early only when <SOLDR_CACHE_DIR>/bin/cc-driver/v2/<target>/<digest>/.complete exists. Otherwise it renames a fresh staging tree onto that directory, and if the directory is already there and not empty the rename fails with ENOTEMPTY. So a driver directory that has lost its .complete breaks every later Windows cross job on that cache.
Reproduction with soldr 0.9.54 and a fresh SOLDR_CACHE_DIR: build once (passes), delete the driver dir's .complete and the clang-resources/<id> dir, build again. The output is the same as the Dell runs:
Run 44955283199 (22:10, dell-jw22zc3-obs-rust-1) failed the same way, so all three Dell slots I've seen are affected.
Fix now (runner side): on each Dell slot, delete the directories under /var/cache/obs-runner/slots/*/setup-soldr/*/setup-soldr-soldr/bin/cc-driver/v2/*/ that have no .complete file.
Coordinator (2026-11-21 23:05Z): I applied the runner-side fix from rdoupe's diagnosis.
dell-jw22zc3: 15 cc-driver/v2/<target>/<digest> directories had no .complete (x86_64-pc-windows-msvc, aarch64-pc-windows-msvc and aarch64-apple-darwin), across obs-rust-1..3 and dyn-obs-rust-1..5. All were written at 00:01Z, before soldr wrote .complete. I moved them, not deleted them, to /var/cache/obs-runner/quarantine-5420/ (same tmpfs). I skipped any directory touched in the last 30 minutes, and none were. A rescan finds no driver directory without .complete.
dell-fsx3mn2: none found.
The lasting fix is forge-ci/soldr#4185. Leaving this open until a Windows cross job passes on a Dell slot; #5419 in the queue should be the next one.
Verified after the runner cleanup: merge-group run 44964965909 (#5419) passed every Windows cross job on the Dell slots that were failing, including Tier 2 Link Check (win-x64) on dell-jw22zc3-dyn-obs-rust-3 and Rust Cross Lint (x86_64-pc-windows-msvc) on dell-jw22zc3-dyn-obs-rust-2. No ejection since. Closing. The lasting fix (soldr replaces a driver directory that has no .complete) is forge-ci/soldr#4185. Once a soldr version with it is pinned, /var/cache/obs-runner/quarantine-5420/ on dell-jw22zc3 can be deleted.
Activity
rdoupe commentedon Nov 21, 2026
Found the cause and reproduced it locally; my guess in the issue body (compiler-rt) was wrong.
The failing step is soldr's C/C++ driver writer, not the compiler-rt extraction (compiler-rt prints "trust: verified" only after it has already succeeded).
write_driversin soldr 0.9.54 returns early only when<SOLDR_CACHE_DIR>/bin/cc-driver/v2/<target>/<digest>/.completeexists. Otherwise it renames a fresh staging tree onto that directory, and if the directory is already there and not empty the rename fails with ENOTEMPTY. So a driver directory that has lost its.completebreaks every later Windows cross job on that cache.Reproduction with soldr 0.9.54 and a fresh
SOLDR_CACHE_DIR: build once (passes), delete the driver dir's.completeand theclang-resources/<id>dir, build again. The output is the same as the Dell runs:Run 44955283199 (22:10,
dell-jw22zc3-obs-rust-1) failed the same way, so all three Dell slots I've seen are affected./var/cache/obs-runner/slots/*/setup-soldr/*/setup-soldr-soldr/bin/cc-driver/v2/*/that have no.completefile..completeas stale and replace it under the lock. Filed with the reproduction as cc-driver: a driver directory without .complete makes every Windows cross build fail with "Directory not empty (os error 39)" forge-ci/soldr#4185.Nothing in obs-studio needs to change. #5419 is still in the queue and gets ejected each time the selector picks a Dell runner.
zackees commentedon Nov 21, 2026
Coordinator (2026-11-21 23:05Z): I applied the runner-side fix from rdoupe's diagnosis.
cc-driver/v2/<target>/<digest>directories had no.complete(x86_64-pc-windows-msvc, aarch64-pc-windows-msvc and aarch64-apple-darwin), across obs-rust-1..3 and dyn-obs-rust-1..5. All were written at 00:01Z, before soldr wrote.complete. I moved them, not deleted them, to/var/cache/obs-runner/quarantine-5420/(same tmpfs). I skipped any directory touched in the last 30 minutes, and none were. A rescan finds no driver directory without.complete.The lasting fix is forge-ci/soldr#4185. Leaving this open until a Windows cross job passes on a Dell slot; #5419 in the queue should be the next one.
zackees commentedon Nov 22, 2026
Verified after the runner cleanup: merge-group run 44964965909 (#5419) passed every Windows cross job on the Dell slots that were failing, including
Tier 2 Link Check (win-x64)on dell-jw22zc3-dyn-obs-rust-3 andRust Cross Lint (x86_64-pc-windows-msvc)on dell-jw22zc3-dyn-obs-rust-2. No ejection since. Closing. The lasting fix (soldr replaces a driver directory that has no.complete) is forge-ci/soldr#4185. Once a soldr version with it is pinned,/var/cache/obs-runner/quarantine-5420/on dell-jw22zc3 can be deleted.