Skip to content

flaky race condition in unit tests in rekord type #2578

@bobcallaway

Description

@bobcallaway

Description

Likely due to some changes in the Go scheduler in recent 1.24 releases, we're occasionally seeing errors like this: https://github.com/sigstore/rekor/actions/runs/16908928069/job/47905231523

=== RUN   TestCrossFieldValidation/root_with_invalid_key_content_&_with_manifest_with_content
    entry_test.go:235: canonicalize returned an unexpected error that isn't of type types.ValidationError: failed to read signature or public key

or

--- FAIL: TestCrossFieldValidation (0.01s)
entry_test.go:248: canonicalize returned an unexpected error that isn't of type types.ValidationError: io: read/write on closed pipe
FAIL
FAIL github.com/sigstore/rekor/pkg/types/rekord/v0.0.1 0.035s

Version

main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions