Skip to content

Write tests for 'brew list --version [--cask]'. #31805

Write tests for 'brew list --version [--cask]'.

Write tests for 'brew list --version [--cask]'. #31805

Triggered via pull request December 24, 2024 19:59
Status Failure
Total duration 7m 10s
Artifacts

tests.yml

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

Annotations

14 errors and 47 warnings
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb#L12
Homebrew::Cmd::List prints all installed Formulae Failure/Error: expect { brew "list", "--version" } # .to output("#{formulae.sort.map { |name| "#{name} 1.0" }.join("\n")}\n" + # "#{casks.sort.map { |name| "#{name} 42.0" }.join("\n")}\n").to_stdout .to output("#{formulae.sort.map { |name| "#{name} 1.0" }.join("\n")}\n").to_stdout # + .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Error: No such file or directory @ dir_initialize - /tmp/homebrew-tests-20241224-3791-n56awg/prefix/Caskroom\n" ...and: expected #<Proc:0x00007fbdbe280f90 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb:35> to be a success
tests (generic OS)
Process completed with exit code 1.
tests (Ubuntu 24.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 24.04)
The operation was canceled.
tests (Ubuntu 22.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 22.04)
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.
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (online)
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.
syntax
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
update-test (Ubuntu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
vendored gems
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test default formula (Ubuntu 22.04)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test default formula (Ubuntu 20.04)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (generic OS)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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 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 vim 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 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 cpio 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 php 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 openssl 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 jq 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 (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--prefix_spec.rb#L16
Homebrew::Cmd::Prefix prints the prefix for a Formula Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/unpack_strategy/shared_examples.rb#L6
UnpackStrategy::Subversion is correctly detected Skipped: Subversion is not installed.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/unpack_strategy/shared_examples.rb#L12
UnpackStrategy::Subversion #extract Skipped: Subversion is not installed.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/unpack_strategy/shared_examples.rb#L12
UnpackStrategy::Subversion when the directory name contains an '@' symbol #extract Skipped: Subversion is not installed.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos zlib formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos lsof formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos flex formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos pod2man formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos ed formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos cyrus-sasl 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::ProvidedByMacos ncompress 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::ProvidedByMacos libxslt 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::ProvidedByMacos tcl-tk 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::ProvidedByMacos gperf 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::ProvidedByMacos netcat 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::ProvidedByMacos m4 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::ProvidedByMacos libpcap 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::ProvidedByMacos openldap 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::ProvidedByMacos pcsc-lite 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::ProvidedByMacos apr 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::ProvidedByMacos tcl-tk 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::ProvidedByMacos sqlite 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::ProvidedByMacos libxml2 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::ProvidedByMacos unzip 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::ProvidedByMacos unifdef 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::ProvidedByMacos whois 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::ProvidedByMacos libpcap 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::ProvidedByMacos bc-gh 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::ProvidedByMacos bison 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::ProvidedByMacos krb5 formula exists Skipped: Requires homebrew/core to be tapped.
formula audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636