Skip to content

Cosign verify-blob-attestation flaky #29

@crazy-max

Description

@crazy-max

Encounter this error one time when invoking cosign verify-blob-attestation: https://github.com/docker/github-builder-experimental/actverify-blob-attestationons/runs/19393939019/job/55491360947

/home/runner/.cosign/cosign verify-blob-attestation --new-bundle-format --certificate-oidc-issuer https://token.actions.githubusercontent.com/ --certificate-identity-regexp ^https://github.com/docker/github-builder-experimental/.github/workflows/build.yml.*$ --bundle linux_amd64/provenance.sigstore.json linux_amd64/hello.txt
Error: invalid character ':' after top-level value
error during command execution: invalid character ':' after top-level value

Re-running the workflow looks good: https://github.com/docker/github-builder-experimental/actions/runs/19393939019/job/55491405358#step:6:17

/home/runner/.cosign/cosign verify-blob-attestation --new-bundle-format --certificate-oidc-issuer https://token.actions.githubusercontent.com/ --certificate-identity-regexp ^https://github.com/docker/github-builder-experimental/.github/workflows/build.yml.*$ --bundle linux_amd64/provenance.sigstore.json linux_amd64/hello.txt
Verified OK
/home/runner/.cosign/cosign verify-blob-attestation --new-bundle-format --certificate-oidc-issuer https://token.actions.githubusercontent.com/ --certificate-identity-regexp ^https://github.com/docker/github-builder-experimental/.github/workflows/build.yml.*$ --bundle linux_arm64/provenance.sigstore.json linux_arm64/hello.txt
Verified OK

@haydentherapper Is there a flag for cosign to print stacktraces if command fails so I can create a good bug report on cosign repo if this error happens again? Maybe -d, --verbose?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions