cask/audit: audit for appropriate sharding directory #23435
tests.yml
on: pull_request
syntax
1m 28s
tap syntax
11m 55s
formula audit
7m 50s
cask audit
7m 4s
vendored gems
1m 30s
docker
7m 18s
Matrix: test-default-formula
Matrix: tests
Matrix: update-test
Annotations
15 errors and 4 warnings
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L385
Cask::Upgrade when the upgrade is a dry run with --greedy it checks additional Casks would update outdated Casks with "version latest"
Failure/Error: expect(version_latest.outdated_download_sha?).to be(true)
Cask::CaskError:
Download failed on Cask 'version-latest' with message: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.4-28-g104ed06\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.5\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://localhost/homebrew/test/cask/audit/livecheck/version-latest.dmg` exited with 7. Here's the output:
curl: (7) Failed to connect to localhost port 80 after 6 ms: Couldn't connect to server
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L323
Cask::Upgrade when the upgrade is a dry run with --greedy it checks additional Casks would include the Casks with "auto_updates true" or "version latest"
Failure/Error: expect(version_latest.outdated_download_sha?).to be(true)
Cask::CaskError:
Download failed on Cask 'version-latest' with message: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.4-28-g104ed06\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.5\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://localhost/homebrew/test/cask/audit/livecheck/version-latest.dmg` exited with 7. Here's the output:
curl: (7) Failed to connect to localhost port 80 after 6 ms: Couldn't connect to server
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L192
Cask::Upgrade when the upgrade is successful with --greedy it checks additional Casks does not include the Casks with "version latest" when the version did not change
Failure/Error: expect(version_latest.outdated_download_sha?).to be(true)
Cask::CaskError:
Download failed on Cask 'version-latest' with message: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.4-28-g104ed06\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.5\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://localhost/homebrew/test/cask/audit/livecheck/version-latest.dmg` exited with 7. Here's the output:
curl: (7) Failed to connect to localhost port 80 after 6 ms: Couldn't connect to server
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L124
Cask::Upgrade when the upgrade is successful with --greedy it checks additional Casks includes the Casks with "auto_updates true" or "version latest"
Failure/Error: expect(version_latest.outdated_download_sha?).to be(true)
Cask::CaskError:
Download failed on Cask 'version-latest' with message: Failure while executing; `/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.4-28-g104ed06\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.5\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://localhost/homebrew/test/cask/audit/livecheck/version-latest.dmg` exited with 7. Here's the output:
curl: (7) Failed to connect to localhost port 80 after 6 ms: Couldn't connect to server
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L42
Cask::Upgrade when the upgrade is successful without --greedy it ignores the Casks with "version latest" or "auto_updates true" updates all the installed Casks when no token is provided
Failure/Error: expect(renamed_app_old_path).not_to be_a_directory
expected `#<Pathname:/private/tmp/homebrew-tests-20230809-3320-83rka/cask-appdir/OldApp.app>.directory?` to be falsey, got true
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/cask/upgrade_spec.rb#L423
Cask::Upgrade when an upgrade failed restores the old Cask if the upgrade failed
Failure/Error:
expect do
described_class.upgrade_casks(will_fail_if_upgraded, args: args)
end.to raise_error(Cask::CaskError).and output(output_reverted).to_stderr
expected Cask::CaskError but nothing was raised
...and:
expected block to output /Warning: Reverting upgrade for Cask .*
/ to stderr, but output "Warning: Not upgrading will-fail-if-upgraded, the latest version is already installed\n"
|
tests (macOS 13)
Process completed with exit code 1.
|
tests (online)
The job was canceled because "tests__macOS_13__--coverage_macos-13" failed.
|
tests (online)
The operation was canceled.
|
tests (generic OS)
The job was canceled because "tests__macOS_13__--coverage_macos-13" failed.
|
tests (generic OS)
The operation was canceled.
|
tests (Ubuntu 22.04)
The job was canceled because "tests__macOS_13__--coverage_macos-13" failed.
|
tests (Ubuntu 22.04)
The operation was canceled.
|
tests (Ubuntu 20.04)
The job was canceled because "tests__macOS_13__--coverage_macos-13" failed.
|
tests (Ubuntu 20.04)
The operation was canceled.
|
tests (macOS 13):
usr/local/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 (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/unpack_strategy/shared_examples.rb#L6
UnpackStrategy::Subversion is correctly detected
Skipped: Subversion is not installed.
|
tests (macOS 13):
usr/local/Homebrew/Library/Homebrew/test/unpack_strategy/shared_examples.rb#L12
UnpackStrategy::Subversion #extract
Skipped: Subversion is not installed.
|
tests (macOS 13):
usr/local/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.
|