Skip to content

Add note about ghcr.io for HOMEBREW_DOCKER_REGISTRY_TOKEN #26775

Add note about ghcr.io for HOMEBREW_DOCKER_REGISTRY_TOKEN

Add note about ghcr.io for HOMEBREW_DOCKER_REGISTRY_TOKEN #26775

Triggered via pull request April 10, 2024 10:09
Status Failure
Total duration 7m 3s
Artifacts

tests.yml

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

Annotations

13 errors
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb#L47
CurlGitHubPackagesDownloadStrategy#fetch calls curl with anonymous authentication headers Failure/Error: strategy.fetch (#<CurlGitHubPackagesDownloadStrategy:0x00007f8c5020c9c8 @try_partial=true, @mirrors=[], @url="https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20240410-3041-ylzb40/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={"https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"=>["https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", "1.2.3", nil, nil, false]}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @cached_location=#<Pathname:/tmp/homebrew-tests-20240410-3041-ylzb40/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3>, @temporary_path=#<Pathname:/tmp/homebrew-tests-20240410-3041-ylzb40/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3.incomplete>>).system_command(#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil}) expected: 2 times with arguments: (/curl/, hash_including(:args=>"array_including(--head)")) received: 3 times with arguments: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil})
tests (generic OS)
Process completed with exit code 1.
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/download_strategies/curl_github_packages_spec.rb#L47
CurlGitHubPackagesDownloadStrategy#fetch calls curl with anonymous authentication headers Failure/Error: strategy.fetch (#<CurlGitHubPackagesDownloadStrategy:0x00007f7951b9e318 @try_partial=true, @mirrors=[], @url="https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={"https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"=>["https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", "1.2.3", nil, nil, false]}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @cached_location=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3>, @temporary_path=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3.incomplete>>).system_command(#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil}) expected: 2 times with arguments: (/curl/, hash_including(:args=>"array_including(--head)")) received: 3 times with arguments: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil})
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 13 x86_64)
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 (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)
The operation was canceled.