Summary
When running tests natively on Windows (not in Linux container), 13 tests fail due to platform differences:
CLI Contract Tests (6 failures + 2 errors)
- Trying to execute Linux bash scripts (
scripts/wb, scripts/winebotctl) directly on Windows
- Error:
%1 is not a valid Win32 application
- Tests:
test_wb_help_contract, test_wb_unknown_command_fails, test_winebotctl_help_contract, etc.
Permission Errors (6 errors)
- pytest temp directory access denied:
PermissionError: [WinError 5] Access is denied
- Tests:
test_diag_bundle, test_invariants, test_ci_sbom_policy
Unix-Only API (1 failure)
os.statvfs() does not exist on Windows
- Affects
api/utils/files.py:98 — health check endpoint for storage info
Resolution
All 13 tests pass in CI (Linux Docker containers). These are known platform differences, not regressions.
Tracked to evaluate if Windows-compatible alternatives should be added (e.g., os.statvfs → shutil.disk_usage).
Summary
When running tests natively on Windows (not in Linux container), 13 tests fail due to platform differences:
CLI Contract Tests (6 failures + 2 errors)
scripts/wb,scripts/winebotctl) directly on Windows%1 is not a valid Win32 applicationtest_wb_help_contract,test_wb_unknown_command_fails,test_winebotctl_help_contract, etc.Permission Errors (6 errors)
PermissionError: [WinError 5] Access is deniedtest_diag_bundle,test_invariants,test_ci_sbom_policyUnix-Only API (1 failure)
os.statvfs()does not exist on Windowsapi/utils/files.py:98— health check endpoint for storage infoResolution
All 13 tests pass in CI (Linux Docker containers). These are known platform differences, not regressions.
Tracked to evaluate if Windows-compatible alternatives should be added (e.g.,
os.statvfs→shutil.disk_usage).