Skip to content

Windows-local test runner: 13 tests fail due to platform differences #101

Description

@mark-e-deyoung

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.statvfsshutil.disk_usage).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions