Skip to content

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

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

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

Triggered via pull request December 25, 2024 09:37
Status Failure
Total duration 7m 49s
Artifacts

tests.yml

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

Annotations

17 errors and 46 warnings
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb#L12
Homebrew::Cmd::List prints all installed Formulae Failure/Error: expect { brew "list", "--cask", "--version" } .to output("#{casks.sort.map { |name| "#{name} 42.0" }.join("\n")}\n").to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: Cask 'git' is unavailable: No Cask with this name exists.\n" ...and: expected #<Proc:0x00007f19bc52a788 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb:35> to be a success Diff for (output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout): @@ -1,4 +1 @@ -git 42.0 -sgb 42.0 -tex 42.0
tests (Ubuntu 22.04)
Process completed with exit code 1.
tests (generic OS)
The job was canceled because "tests__Ubuntu_22_04__--co" failed.
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", "--cask", "--version" } .to output("#{casks.sort.map { |name| "#{name} 42.0" }.join("\n")}\n").to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: Cask 'git' is unavailable: No Cask with this name exists.\n" ...and: expected #<Proc:0x00007f49cb07f398 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb:35> to be a success Diff for (output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout): @@ -1,4 +1 @@ -git 42.0 -sgb 42.0 -tex 42.0
tests (generic OS)
The operation was canceled.
tests (online)
The job was canceled because "tests__Ubuntu_22_04__--co" failed.
tests (online)
The operation was canceled.
tests (Ubuntu 20.04)
The job was canceled because "tests__Ubuntu_22_04__--co" failed.
tests (Ubuntu 24.04)
The job was canceled because "tests__Ubuntu_22_04__--co" failed.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb#L12
Homebrew::Cmd::List prints all installed Formulae Failure/Error: expect { brew "list", "--cask", "--version" } .to output("#{casks.sort.map { |name| "#{name} 42.0" }.join("\n")}\n").to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: Cask 'git' is unavailable: No Cask with this name exists.\n" ...and: expected #<Proc:0x00007f2352c03f38 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb:35> to be a success Diff for (output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout): @@ -1,4 +1 @@ -git 42.0 -sgb 42.0 -tex 42.0
tests (Ubuntu 20.04)
The operation was canceled.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb#L12
Homebrew::Cmd::List prints all installed Formulae Failure/Error: expect { brew "list", "--cask", "--version" } .to output("#{casks.sort.map { |name| "#{name} 42.0" }.join("\n")}\n").to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: Cask 'git' is unavailable: No Cask with this name exists.\n" ...and: expected #<Proc:0x00007f8c770de390 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb:35> to be a success Diff for (output "git 42.0\nsgb 42.0\ntex 42.0\n" to stdout): @@ -1,4 +1 @@ -git 42.0 -sgb 42.0 -tex 42.0
tests (Ubuntu 24.04)
The operation was canceled.
tests (macOS 15 arm64)
The job was canceled because "tests__Ubuntu_22_04__--co" failed.
tests (macOS 15 arm64)
The operation was canceled.
tests (macOS 13 x86_64)
The job was canceled because "tests__Ubuntu_22_04__--co" 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 (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos file-formula 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 libxml2 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 curl 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 lsof 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 bc-gh 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 swift 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 sqlite 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 llvm 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 libiconv 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 libffi formula exists Skipped: Requires homebrew/core to be tapped.
tests (generic OS): 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 (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 perl 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 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 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 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 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 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::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 lsof 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 swift 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 expat 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 zip 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 libffi 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 libiconv 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 cups 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 ncompress 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 libressl formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 24.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/utils/svn_spec.rb#L29
Utils::Svn::version returns version of svn when svn is available 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 pax 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 cups 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 zip 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 swift 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 krb5 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 ruby 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 openldap 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 libarchive 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