Skip to content

attestion: make InvalidAttestationError non-fatal in CI #30576

attestion: make InvalidAttestationError non-fatal in CI

attestion: make InvalidAttestationError non-fatal in CI #30576

Triggered via pull request October 4, 2024 04:43
Status Cancelled
Total duration 4m 37s
Artifacts

tests.yml

on: pull_request
Matrix: test-default-formula
Matrix: tests
Matrix: update-test
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 38 warnings
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/attestation_spec.rb#L256
Homebrew::Attestation::check_core_attestation raises when the backfilled attestation is too new Failure/Error: expect do described_class.check_core_attestation fake_bottle end.to raise_error(described_class::InvalidAttestationError) expected Homebrew::Attestation::InvalidAttestationError, got #<RSpec::Mocks::MockExpectationError:"(Homebrew::Attestation).system_command!(#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-3534-85ipq5/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})\n expected: 1 time with arguments: (#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-3534-85ipq5/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})\n received: 2 times with arguments: (#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-3534-85ipq5/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})"> with backtrace: # ./attestation.rb:135:in `check_attestation' # ./attestation.rb:208:in `check_core_attestation' # ./test/attestation_spec.rb:273:in `block (4 levels) in <top (required)>' # ./test/attestation_spec.rb:272:in `block (3 levels) in <top (required)>'
tests (generic OS)
Process completed with exit code 1.
test default formula (Ubuntu 20.04)
Canceling since a higher priority waiting request for 'refs/pull/18485/merge' exists
test default formula (Ubuntu 20.04)
The operation was canceled.
formula audit
Canceling since a higher priority waiting request for 'refs/pull/18485/merge' exists
formula audit
The operation was canceled.
tests (Ubuntu 22.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/attestation_spec.rb#L256
Homebrew::Attestation::check_core_attestation raises when the backfilled attestation is too new Failure/Error: expect do described_class.check_core_attestation fake_bottle end.to raise_error(described_class::InvalidAttestationError) expected Homebrew::Attestation::InvalidAttestationError, got #<RSpec::Mocks::MockExpectationError:"(Homebrew::Attestation).system_command!(#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-4022-zy2pbq/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})\n expected: 1 time with arguments: (#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-4022-zy2pbq/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})\n received: 2 times with arguments: (#<Pathname:/extremely/fake/gh>, {:args=>[\"attestation\", \"verify\", \"/fake/cached/download\", \"--repo\", \"Homebrew/homebrew-core\", \"--format\", \"json\"], :chdir=>#<Pathname:/tmp/homebrew-tests-20241004-4022-zy2pbq/temp>, :env=>{\"GH_HOST\"=>\"github.com\", \"GH_TOKEN\"=>\"fake-gh-api-token\"}, :print_stderr=>false, :secrets=>[\"fake-gh-api-token\"]})"> with backtrace: # ./attestation.rb:135:in `check_attestation' # ./attestation.rb:208:in `check_core_attestation' # ./test/attestation_spec.rb:273:in `block (4 levels) in <top (required)>' # ./test/attestation_spec.rb:272:in `block (3 levels) in <top (required)>'
tests (Ubuntu 22.04)
The operation was canceled.
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (online)
The operation was canceled.
tests (Ubuntu 20.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 20.04)
The operation was canceled.
tests (macOS 15 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 15 arm64)
The operation was canceled.
tap syntax
Canceling since a higher priority waiting request for 'refs/pull/18485/merge' exists
tap syntax
The operation was canceled.
tests (macOS 13 x86_64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 13 x86_64)
The operation was canceled.
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos git formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos mandoc formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos groff formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos xz formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos rsync formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos python formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos expect formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos bash formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos zsh formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos vim formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos rsync formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos git formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos groff formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos mandoc formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos gzip formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos expect formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos openssl formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos python formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos zsh formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos php formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos expect formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos less formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos git formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos groff formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos bash formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos python formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos php formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos mandoc formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos vim formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::UsesFromMacos openssl formula exists Skipped: Requires homebrew/core to be tapped.