Skip to content

windows tests failing on main #1477

@jku

Description

@jku

Description

I added a test for signing multiple artifacts at once in #1468. It is failing on windows: https://github.com/sigstore/sigstore-python/actions/runs/16473960449/job/46570360636

This does not seem to be related to parallel signing as such (as its also causing another test to fail) -- I think it's just tests leaving artifacts behind and Windows being more picky about the same file being used again: tests should maybe use a temp directory instead of test/assets/integration/ ...

FAILED test/integration/cli/test_sign.py::test_sign_success_multiple_artifacts - PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'D:\\a\\sigstore-python\\sigstore-python\\test\\assets\\integration\\a.txt.sigstore.json'
FAILED test/integration/cli/test_sign.py::test_sign_success_multiple_artifacts_rekor_v2 - SystemExit: 2
FAILED test/integration/cli/test_sign.py::test_sign_overwrite_existing_bundle - AssertionError: assert not True
 +  where True = exists()
 +    where exists = WindowsPath('D:/a/sigstore-python/sigstore-python/test/assets/integration/a.txt.sigstore.json').exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions