Skip to content

Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default" #27728

Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default"

Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default" #27728

Triggered via pull request May 25, 2024 15:10
Status Failure
Total duration 7m 20s
Artifacts

tests.yml

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

Annotations

52 errors and 3 warnings
test default formula (macOS 14 arm64)
undefined method `autoremove?' for module Homebrew::EnvConfig
test default formula (macOS 14 arm64)
Process completed with exit code 1.
test default formula (Ubuntu 20.04)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (Ubuntu 20.04)
The operation was canceled.
test default formula (Ubuntu 22.04)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (Ubuntu 22.04)
The operation was canceled.
test default formula (macOS 13 x86_64)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (macOS 13 x86_64)
The operation was canceled.
docker
Process completed with exit code 1.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L53
Homebrew::Cleanup::cleanup doesn't remove anything if `dry_run` is true Failure/Error: described_class.new(dry_run: true).clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L46
Homebrew::Cleanup::cleanup removes .DS_Store and lock files Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L60
Homebrew::Cleanup::cleanup doesn't remove the lock file if it is locked Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb#L9
Homebrew::Cmd::UninstallCmd uninstalls a given Formula Failure/Error: expect { brew "uninstall", "--force", "testball" } .to output(/Uninstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/uninstall.rb:80:in `run'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x00007fd3b9c0a0a0 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb:12> to be a success
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb#L19
Homebrew::Cmd::CleanupCmd --prune=all removes all files in Homebrew's cache Failure/Error: expect { brew "cleanup", "--prune=all" } .to output(%r{#{Regexp.escape(HOMEBREW_CACHE)}/test}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/tmp\/homebrew\-tests\-20240525\-3527\-hxi6oh\/cache\/test/ to stdout, but output "Rerun with `--verbose` to see the original backtrace\n" ...and: expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cleanup.rb:290:in `clean!'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/cleanup.rb:52:in `run'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x00007fb4d7035ff0 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb:22> to be a success Diff for (output /\/tmp\/homebrew\-tests\-20240525\-3527\-hxi6oh\/cache\...): @@ -1 +1 @@ -/\/tmp\/homebrew\-tests\-20240525\-3527\-hxi6oh\/cache\/test/ +Rerun with `--verbose` to see the original backtrace
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L151
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under example.com leaves the URL unchanged Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L187
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTPS) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L169
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTP) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (generic OS)
Process completed with exit code 1.
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (online)
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/cmd/cleanup_spec.rb#L19
Homebrew::Cmd::CleanupCmd --prune=all removes all files in Homebrew's cache Failure/Error: expect { brew "cleanup", "--prune=all" } .to output(%r{#{Regexp.escape(HOMEBREW_CACHE)}/test}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/tmp\/homebrew\-tests\-20240525\-4052\-9w53sf\/cache\/test/ to stdout, but output "Rerun with `--verbose` to see the original backtrace\n" ...and: expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cleanup.rb:290:in `clean!'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/cleanup.rb:52:in `run'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nYou have disabled automatic updates and have not updated today.\nDo not report this issue until you've run `brew update` and tried again.\n" ...and: expected #<Proc:0x00007fbc4e02e420 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb:22> to be a success Diff for (output /\/tmp\/homebrew\-tests\-20240525\-4052\-9w53sf\/cache\...): @@ -1 +1 @@ -/\/tmp\/homebrew\-tests\-20240525\-4052\-9w53sf\/cache\/test/ +Rerun with `--verbose` to see the original backtrace
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L60
Homebrew::Cleanup::cleanup doesn't remove the lock file if it is locked Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L46
Homebrew::Cleanup::cleanup removes .DS_Store and lock files Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L53
Homebrew::Cleanup::cleanup doesn't remove anything if `dry_run` is true Failure/Error: described_class.new(dry_run: true).clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb#L9
Homebrew::Cmd::UninstallCmd uninstalls a given Formula Failure/Error: expect { brew "uninstall", "--force", "testball" } .to output(/Uninstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/uninstall.rb:80:in `run'\n/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nYou have disabled automatic updates and have not updated today.\nDo not report this issue until you've run `brew update` and tried again.\n" ...and: expected #<Proc:0x00007f5c880665a8 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb:12> to be a success
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L187
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTPS) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L151
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under example.com leaves the URL unchanged Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L169
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTP) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (Ubuntu 22.04)
The operation was canceled.
tests (macOS 13 x86_64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 14 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb#L9
Homebrew::Cmd::UninstallCmd uninstalls a given Formula Failure/Error: expect { brew "uninstall", "--force", "testball" } .to output(/Uninstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:80:in `run'\n/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x0000000124480768 /usr/local/Homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb:12> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb#L19
Homebrew::Cmd::CleanupCmd --prune=all removes all files in Homebrew's cache Failure/Error: expect { brew "cleanup", "--prune=all" } .to output(%r{#{Regexp.escape(HOMEBREW_CACHE)}/test}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/private\/tmp\/homebrew\-tests\-20240525\-7923\-2ru1pb\/cache\/test/ to stdout, but output "Rerun with `--verbose` to see the original backtrace\n" ...and: expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/opt/homebrew/Library/Homebrew/cleanup.rb:290:in `clean!'\n/opt/homebrew/Library/Homebrew/cmd/cleanup.rb:52:in `run'\n/opt/homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x000000014083db78 /opt/homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb:22> to be a success Diff for (output /\/private\/tmp\/homebrew\-tests\-20240525\-7923\-2ru1p...): @@ -1 +1 @@ -/\/private\/tmp\/homebrew\-tests\-20240525\-7923\-2ru1pb\/cache\/test/ +Rerun with `--verbose` to see the original backtrace
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L187
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTPS) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleanup_spec.rb#L46
Homebrew::Cleanup::cleanup removes .DS_Store and lock files Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L169
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTP) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleanup_spec.rb#L60
Homebrew::Cleanup::cleanup doesn't remove the lock file if it is locked Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L151
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under example.com leaves the URL unchanged Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleanup_spec.rb#L53
Homebrew::Cleanup::cleanup doesn't remove anything if `dry_run` is true Failure/Error: described_class.new(dry_run: true).clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L46
Homebrew::Cleanup::cleanup removes .DS_Store and lock files Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb#L9
Homebrew::Cmd::UninstallCmd uninstalls a given Formula Failure/Error: expect { brew "uninstall", "--force", "testball" } .to output(/Uninstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/opt/homebrew/Library/Homebrew/cmd/uninstall.rb:80:in `run'\n/opt/homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x0000000145a5e010 /opt/homebrew/Library/Homebrew/test/cmd/uninstall_spec.rb:12> to be a success
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L60
Homebrew::Cleanup::cleanup doesn't remove the lock file if it is locked Failure/Error: cleanup.clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L169
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTP) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cleanup_spec.rb#L53
Homebrew::Cleanup::cleanup doesn't remove anything if `dry_run` is true Failure/Error: described_class.new(dry_run: true).clean! NoMethodError: undefined method `autoremove?' for module Homebrew::EnvConfig
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L151
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under example.com leaves the URL unchanged Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb#L19
Homebrew::Cmd::CleanupCmd --prune=all removes all files in Homebrew's cache Failure/Error: expect { brew "cleanup", "--prune=all" } .to output(%r{#{Regexp.escape(HOMEBREW_CACHE)}/test}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/private\/tmp\/homebrew\-tests\-20240525\-12120\-4sm6y1\/cache\/test/ to stdout, but output "Rerun with `--verbose` to see the original backtrace\n" ...and: expected block to not output to stderr, but output "Error: undefined method `autoremove?' for module Homebrew::EnvConfig\nWarning: Removed Sorbet lines from backtrace!\n/usr/local/Homebrew/Library/Homebrew/cleanup.rb:290:in `clean!'\n/usr/local/Homebrew/Library/Homebrew/cmd/cleanup.rb:52:in `run'\n/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<top (required)>'\n-e:1:in `load'\n-e:1:in `<main>'\nDo not report this issue: you are running in an unsupported configuration.\n" ...and: expected #<Proc:0x000000012e61e228 /usr/local/Homebrew/Library/Homebrew/test/cmd/cleanup_spec.rb:22> to be a success Diff for (output /\/private\/tmp\/homebrew\-tests\-20240525\-12120\-4sm6...): @@ -1 +1 @@ -/\/private\/tmp\/homebrew\-tests\-20240525\-12120\-4sm6y1\/cache\/test/ +Rerun with `--verbose` to see the original backtrace
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/download_strategies/curl_spec.rb#L187
CurlDownloadStrategy#fetch with artifact_domain set with an asset hosted under ghcr.io (HTTPS) rewrites the URL correctly Failure/Error: strategy.fetch NoMethodError: undefined method `artifact_domain_no_fallback?' for module Homebrew::EnvConfig
tests (macOS 13 x86_64)
The operation was canceled.
tests (macOS 14 arm64)
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.
syntax
SBOM is not valid, not writing to disk!
syntax
SBOM is not valid, not writing to disk!
test default formula (macOS 14 arm64)
Removed Sorbet lines from backtrace!