Skip to content

env_config: infer HOMEBREW_FORBID_PACKAGES_FROM_PATHS from HOMEBREW_DEVELOPER #30290

env_config: infer HOMEBREW_FORBID_PACKAGES_FROM_PATHS from HOMEBREW_DEVELOPER

env_config: infer HOMEBREW_FORBID_PACKAGES_FROM_PATHS from HOMEBREW_DEVELOPER #30290

Triggered via pull request September 23, 2024 13:05
Status Failure
Total duration 8m 23s
Artifacts

tests.yml

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

Annotations

56 errors
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb#L110
Homebrew::Livecheck::Strategy::ExtractPlist::find_versions returns a for an installer artifact Failure/Error: cask = Cask::CaskLoader.load(cask_path("livecheck/livecheck-installer-manual")) Cask::CaskUnavailableError: Cask 'livecheck-installer-manual' is unavailable: No Cask with this name exists.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formula_installer_spec.rb#L79
FormulaInstaller Formula is not poured from bottle when compiler specified Failure/Error: raise FormulaUnavailableError, name RuntimeError: An exception occurred within a child process: FormulaUnavailableError: No available formula with the name "testball_bottle".
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formula_installer_spec.rb#L424
FormulaInstaller install fails with BuildError when a system() call fails Failure/Error: expect do temporary_install(Failball.new) end.to raise_error(BuildError) expected BuildError, got #<RuntimeError:"An exception occurred within a child process:\n FormulaUnavailableError: No available formula with the name \"failball\".\n"> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./cli/named_args.rb:139:in `block in load_formula_or_cask' # ./api.rb:203:in `with_no_api_env_if_needed' # ./cli/named_args.rb:131:in `load_formula_or_cask' # ./cli/named_args.rb:74:in `block in to_formulae_and_casks' # ./cli/named_args.rb:72:in `each' # ./cli/named_args.rb:72:in `flat_map' # ./cli/named_args.rb:72:in `to_formulae_and_casks' # ./cli/named_args.rb:49:in `to_formulae' # ./build.rb:229:in `<main>'
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formula_installer_spec.rb#L49
FormulaInstaller basic installation Failure/Error: raise FormulaUnavailableError, name RuntimeError: An exception occurred within a child process: FormulaUnavailableError: No available formula with the name "testball".
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb#L9
Homebrew::Cmd::Cache prints all cache files for a given Formula Failure/Error: expect { brew "--cache", testball } .to output(%r{#{HOMEBREW_CACHE}/downloads/[\da-f]{64}--testball-}o).to_stdout .and be_a_success expected block to output /\/tmp\/homebrew-tests-20240923-3554-npsmeo\/cache\/downloads\/[\da-f]{64}--testball-/ to stdout, but output nothing ...and: expected #<Proc:0x00007f67d9a89ce0 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb:10> to be a success Diff for (output /\/tmp\/homebrew-tests-20240923-3554-npsmeo\/cache\/dow...): @@ -1 +1 @@ -/\/tmp\/homebrew-tests-20240923-3554-npsmeo\/cache\/downloads\/[\da-f]{64}--testball-/ +""
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L638
Formulary::loader_for when given a relative path with two slashes returns a `FromPathLoader` Failure/Error: expect(described_class.loader_for("./Formula/gcc.rb")).to be_a Formulary::FromPathLoader expected #<Formulary::NullLoader:0x00007fb0e033b510 @name="gcc", @path=#<Pathname:/tmp/homebrew-tests-20240923-3551-94nyh7/prefix/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb>, @alias_path=nil, @tap=nil> to be a kind of Formulary::FromPathLoader
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L552
Formulary::factory when passed a URL raises an error when given a bottle URL Failure/Error: expect do described_class.factory("https://brew.sh/foo-1.0.arm64_catalina.bottle.tar.gz") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo-1.0.arm64_catalina.bottle.tar.gz".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:554:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:553:in `block (4 levels) in <top (required)>'
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L564
Formulary::factory when passed a URL raises an error when given an sftp URL Failure/Error: expect do described_class.factory("sftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:566:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:565:in `block (4 levels) in <top (required)>'
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L558
Formulary::factory when passed a URL raises an error when given an ftp URL Failure/Error: expect do described_class.factory("ftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:560:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:559:in `block (4 levels) in <top (required)>'
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L546
Formulary::factory when passed a URL raises an error when given an https URL Failure/Error: expect do described_class.factory("https://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:548:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:547:in `block (4 levels) in <top (required)>'
tests (Ubuntu 20.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L132
Formulary::factory without the API returns a Formula when given a URL Failure/Error: formula = described_class.factory("file://#{formula_path}") FormulaUnavailableError: No available formula with the name "testball_bottle".
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L151
Formulary::factory without the API when given a bottle calling #local_bottle_path on the returned Formula returns the bottle path Failure/Error: subject(:formula) { described_class.factory(bottle) } FormulaUnavailableError: No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
tests (macOS 13 x86_64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L147
Formulary::factory without the API when given a bottle returns a Formula Failure/Error: subject(:formula) { described_class.factory(bottle) } FormulaUnavailableError: No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb#L50
Cask::Artifact::App multiple apps only uses apps when they are specified Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-correct")) } Cask::CaskUnavailableError: Cask 'with-two-apps-correct' is unavailable: No Cask with this name exists.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L546
Formulary::factory when passed a URL raises an error when given an https URL Failure/Error: expect do described_class.factory("https://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:548:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:547:in `block (4 levels) in <top (required)>'
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb#L23
Cask::Artifact::App multiple apps installs both apps using the proper target directory Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-correct")) } Cask::CaskUnavailableError: Cask 'with-two-apps-correct' is unavailable: No Cask with this name exists.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L564
Formulary::factory when passed a URL raises an error when given an sftp URL Failure/Error: expect do described_class.factory("sftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:566:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:565:in `block (4 levels) in <top (required)>'
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb#L39
Cask::Artifact::App multiple apps when apps are in a subdirectory installs both apps using the proper target directory Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-subdir")) } Cask::CaskUnavailableError: Cask 'with-two-apps-subdir' is unavailable: No Cask with this name exists.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L558
Formulary::factory when passed a URL raises an error when given an ftp URL Failure/Error: expect do described_class.factory("ftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:560:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:559:in `block (4 levels) in <top (required)>'
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb#L77
Cask::Artifact::App multiple apps avoids clobbering an existing app when the second app of two already exists Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-correct")) } Cask::CaskUnavailableError: Cask 'with-two-apps-correct' is unavailable: No Cask with this name exists.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L552
Formulary::factory when passed a URL raises an error when given a bottle URL Failure/Error: expect do described_class.factory("https://brew.sh/foo-1.0.arm64_catalina.bottle.tar.gz") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo-1.0.arm64_catalina.bottle.tar.gz".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:554:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:553:in `block (4 levels) in <top (required)>'
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb#L63
Cask::Artifact::App multiple apps avoids clobbering an existing app when the first app of two already exists Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-correct")) } Cask::CaskUnavailableError: Cask 'with-two-apps-correct' is unavailable: No Cask with this name exists.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L638
Formulary::loader_for when given a relative path with two slashes returns a `FromPathLoader` Failure/Error: expect(described_class.loader_for("./Formula/gcc.rb")).to be_a Formulary::FromPathLoader expected #<Formulary::NullLoader:0x00007fae5ecf5238 @name="gcc", @path=#<Pathname:/tmp/homebrew-tests-20240923-6479-2dqv2j/prefix/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb>, @alias_path=nil, @tap=nil> to be a kind of Formulary::FromPathLoader
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb#L32
Cask::Artifact::Zap#zap_phase when using :launchctl works when job is owned by user Failure/Error: raise CaskUnavailableError.new(token, "No Cask with this name exists.") Cask::CaskUnavailableError: Cask 'with-zap-launchctl' is unavailable: No Cask with this name exists. Shared Example Group: "#uninstall_phase or #zap_phase" called from ./test/cask/artifact/zap_spec.rb:7
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb#L59
Cask::Artifact::Zap#zap_phase when using :launchctl works when job is owned by system Failure/Error: raise CaskUnavailableError.new(token, "No Cask with this name exists.") Cask::CaskUnavailableError: Cask 'with-zap-launchctl' is unavailable: No Cask with this name exists. Shared Example Group: "#uninstall_phase or #zap_phase" called from ./test/cask/artifact/zap_spec.rb:7
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb#L16
Homebrew::Cmd::Cellar prints the Cellar for a Formula Failure/Error: expect { brew "--cellar", testball } .to output(%r{#{HOMEBREW_CELLAR}/testball}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cellar\/testball/ to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: No available formula with the name \"testball\".\n" ...and: expected #<Proc:0x00007fae5de72ee0 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb:17> to be a success Diff for (output /\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cellar\/te...): @@ -1 +1 @@ -/\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cellar\/testball/ +""
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb#L324
Cask::Artifact::Zap#zap_phase when using :trash is supported Failure/Error: raise CaskUnavailableError.new(token, "No Cask with this name exists.") Cask::CaskUnavailableError: Cask 'with-zap-trash' is unavailable: No Cask with this name exists. Shared Example Group: "#uninstall_phase or #zap_phase" called from ./test/cask/artifact/zap_spec.rb:7
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb#L185
Cask::Artifact::Zap#zap_phase when using :kext is supported Failure/Error: raise CaskUnavailableError.new(token, "No Cask with this name exists.") Cask::CaskUnavailableError: Cask 'with-zap-kext' is unavailable: No Cask with this name exists. Shared Example Group: "#uninstall_phase or #zap_phase" called from ./test/cask/artifact/zap_spec.rb:7
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb#L9
Homebrew::Cmd::Cache prints all cache files for a given Formula Failure/Error: expect { brew "--cache", testball } .to output(%r{#{HOMEBREW_CACHE}/downloads/[\da-f]{64}--testball-}o).to_stdout .and be_a_success expected block to output /\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cache\/downloads\/[\da-f]{64}--testball-/ to stdout, but output nothing ...and: expected #<Proc:0x00007fae5f491938 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb:10> to be a success Diff for (output /\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cache\/dow...): @@ -1 +1 @@ -/\/tmp\/homebrew-tests-20240923-6479-2dqv2j\/cache\/downloads\/[\da-f]{64}--testball-/ +""
tests (macOS 13 x86_64): usr/local/Homebrew/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb#L146
Cask::Artifact::Zap#zap_phase when using :launchctl with regex wildcard returns the matching launchctl services Failure/Error: raise CaskUnavailableError.new(token, "No Cask with this name exists.") Cask::CaskUnavailableError: Cask 'with-zap-launchctl-wildcard' is unavailable: No Cask with this name exists. Shared Example Group: "#uninstall_phase or #zap_phase" called from ./test/cask/artifact/zap_spec.rb:7
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/--cache_spec.rb#L9
Homebrew::Cmd::Cache prints all cache files for a given Formula Failure/Error: expect { brew "--cache", testball } .to output(%r{#{HOMEBREW_CACHE}/downloads/[\da-f]{64}--testball-}o).to_stdout .and be_a_success expected block to output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/downloads\/[\da-f]{64}--testball-/ to stdout, but output nothing ...and: expected #<Proc:0x00007fdd55c75710 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb:10> to be a success Diff for (output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/dow...): @@ -1 +1 @@ -/\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/downloads\/[\da-f]{64}--testball-/ +""
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb#L16
Homebrew::Cmd::Cellar prints the Cellar for a Formula Failure/Error: expect { brew "--cellar", testball } .to output(%r{#{HOMEBREW_CELLAR}/testball}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/testball/ to stdout, but output nothing ...and: expected block to not output to stderr, but output "Error: No available formula with the name \"testball\".\n" ...and: expected #<Proc:0x00007fdd55478378 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb:17> to be a success Diff for (output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/te...): @@ -1 +1 @@ -/\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/testball/ +""
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L638
Formulary::loader_for when given a relative path with two slashes returns a `FromPathLoader` Failure/Error: expect(described_class.loader_for("./Formula/gcc.rb")).to be_a Formulary::FromPathLoader expected #<Formulary::NullLoader:0x00007fdd55c3da90 @name="gcc", @path=#<Pathname:/tmp/homebrew-tests-20240923-4063-fi4kax/prefix/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb>, @alias_path=nil, @tap=nil> to be a kind of Formulary::FromPathLoader
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L132
Formulary::factory without the API returns a Formula when given a URL Failure/Error: formula = described_class.factory("file://#{formula_path}") FormulaUnavailableError: No available formula with the name "testball_bottle".
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L147
Formulary::factory without the API when given a bottle returns a Formula Failure/Error: subject(:formula) { described_class.factory(bottle) } FormulaUnavailableError: No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L151
Formulary::factory without the API when given a bottle calling #local_bottle_path on the returned Formula returns the bottle path Failure/Error: subject(:formula) { described_class.factory(bottle) } FormulaUnavailableError: No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L552
Formulary::factory when passed a URL raises an error when given a bottle URL Failure/Error: expect do described_class.factory("https://brew.sh/foo-1.0.arm64_catalina.bottle.tar.gz") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo-1.0.arm64_catalina.bottle.tar.gz".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:554:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:553:in `block (4 levels) in <top (required)>'
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L546
Formulary::factory when passed a URL raises an error when given an https URL Failure/Error: expect do described_class.factory("https://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:548:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:547:in `block (4 levels) in <top (required)>'
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L558
Formulary::factory when passed a URL raises an error when given an ftp URL Failure/Error: expect do described_class.factory("ftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:560:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:559:in `block (4 levels) in <top (required)>'
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L564
Formulary::factory when passed a URL raises an error when given an sftp URL Failure/Error: expect do described_class.factory("sftp://brew.sh/foo.rb") end.to raise_error(UnsupportedInstallationMethod) expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace: # ./formulary.rb:898:in `get_formula' # ./formulary.rb:1016:in `factory' # ./test/formulary_spec.rb:566:in `block (5 levels) in <top (required)>' # ./test/formulary_spec.rb:565:in `block (4 levels) in <top (required)>'
tests (online)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (online)
The operation was canceled.
tests (macOS 14 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb#L45
Cask::Artifact::Artifact moves the artifact to the proper directory Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-generic-artifact")) } Cask::CaskUnavailableError: Cask 'with-generic-artifact' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb#L52
Cask::Artifact::Artifact avoids clobbering an existing artifact Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-generic-artifact")) } Cask::CaskUnavailableError: Cask 'with-generic-artifact' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb#L30
Cask::Artifact::Artifact with relative target does not fail to load Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-generic-artifact")) } Cask::CaskUnavailableError: Cask 'with-generic-artifact' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb#L22
Cask::Artifact::Artifact without target fails to load Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-generic-artifact")) } Cask::CaskUnavailableError: Cask 'with-generic-artifact' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb#L38
Cask::Artifact::Artifact with user-relative target does not fail to load Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("with-generic-artifact")) } Cask::CaskUnavailableError: Cask 'with-generic-artifact' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/app_spec.rb#L266
Cask::Artifact::App uninstall_phase backs up read-only managed apps
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/app_spec.rb#L256
Cask::Artifact::App uninstall_phase deletes managed apps
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/app_spec.rb#L306
Cask::Artifact::App upgrade reuses the same directory Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("local-caffeine")) } Cask::CaskUnavailableError: Cask 'local-caffeine' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/app_spec.rb#L346
Cask::Artifact::App upgrade when the directory is owned by root reuses the same directory Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("local-caffeine")) } Cask::CaskUnavailableError: Cask 'local-caffeine' is unavailable: No Cask with this name exists.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cask/artifact/app_spec.rb#L368
Cask::Artifact::App upgrade when the directory is owned by root when the system blocks modifying apps uninstalls and reinstalls the app Failure/Error: let(:cask) { Cask::CaskLoader.load(cask_path("local-caffeine")) } Cask::CaskUnavailableError: Cask 'local-caffeine' is unavailable: No Cask with this name exists.