Skip to content

utils/curl: workaround curl bug for --head --request GET #30597

utils/curl: workaround curl bug for --head --request GET

utils/curl: workaround curl bug for --head --request GET #30597

Triggered via pull request October 5, 2024 06:22
Status Failure
Total duration 7m 40s
Artifacts

tests.yml

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

Annotations

23 errors and 39 warnings
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_post_spec.rb#L65
CurlPostDownloadStrategy#fetch with :using but no :data adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f985884cc70 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-3599-ez153u/cache>, @meta={:using=>:post}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_post_spec.rb#L49
CurlPostDownloadStrategy#fetch with :using and :data specified adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f9858af5288 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-3599-ez153u/cache>, @meta={:using=>:post, :data=>{:form=>"data", :is=>"good"}}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
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.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007fc7acf89cf8 @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-20241005-3600-62a8kg/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb#L62
CurlGitHubPackagesDownloadStrategy#fetch with GitHub Packages authentication defined calls curl with the provided header value Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007fc7ad331680 @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-20241005-3600-62a8kg/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
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 20.04)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_post_spec.rb#L49
CurlPostDownloadStrategy#fetch with :using and :data specified adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f6472e08480 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-6330-damdrd/cache>, @meta={:using=>:post, :data=>{:form=>"data", :is=>"good"}}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_post_spec.rb#L65
CurlPostDownloadStrategy#fetch with :using but no :data adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f6473d0b360 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-6330-damdrd/cache>, @meta={:using=>:post}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 20.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.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007f9bed8f47e8 @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-20241005-6328-w1euh/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb#L62
CurlGitHubPackagesDownloadStrategy#fetch with GitHub Packages authentication defined calls curl with the provided header value Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007f9bee9fc450 @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-20241005-6328-w1euh/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 20.04.6 LTS) curl/7.68.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 20.04)
The operation was canceled.
tests (macOS 15 arm64)
The job was canceled because "tests__generic_OS__--gene" failed.
tests (macOS 15 arm64)
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 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_post_spec.rb#L65
CurlPostDownloadStrategy#fetch with :using but no :data adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f91e0033b70 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-4019-u6g7dv/cache>, @meta={:using=>:post}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_post_spec.rb#L49
CurlPostDownloadStrategy#fetch with :using and :data specified adds the appropriate curl args Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlPostDownloadStrategy:0x00007f91e0701d80 @try_partial=true, @mirrors=[], @url="https://example.com/foo.tar.gz", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20241005-4019-u6g7dv/cache>, @meta={:using=>:post, :data=>{:form=>"data", :is=>"good"}}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,17 +1,33 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
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.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007f767c3d44c0 @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-20241005-4017-o8sru9/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb#L62
CurlGitHubPackagesDownloadStrategy#fetch with GitHub Packages authentication defined calls curl with the provided header value Failure/Error: strategy.temporary_path.dirname.mkpath #<CurlGitHubPackagesDownloadStrategy:0x00007f767c34f518 @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-20241005-4017-o8sru9/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={}, @curl_version={}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @curl_path="/bin/curl"> received :system_command with unexpected arguments expected: (/curl/, hash_including(:args=>"array_including(--head)")) got: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", "3", "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "-V"], :env=>{}, :print_stderr=>false, :timeout=>nil}) Diff: @@ -1,21 +1,41 @@ -[/curl/, "hash_including(:args=>\"array_including(--head)\")"] +[#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, + {:args=> + ["--disable", + "--cookie", + "/dev/null", + "--globoff", + "--show-error", + "--user-agent", + "Linuxbrew/4.4.0-68-gf6fbd9e (Linux; x86_64 Ubuntu 22.04.5 LTS) curl/7.81.0", + "--header", + "Accept-Language: en", + "--retry", + "3", + "--header", + "Accept: application/vnd.oci.image.index.v1+json", + "--header", + "Authorization: ***", + "-V"], + :env=>{}, + :print_stderr=>false, + :timeout=>nil}] Please stub a default value first if message might be received with other args as well.
tests (Ubuntu 22.04)
The operation was canceled.
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 15 arm64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
cask audit
Cask font-rounded-mplus was renamed to font-rounded-m+.
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for nightly version of AWS SAM CLI (aws/tap/aws-sam-cli-nightly). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-nightly-build).
test default formula (macOS 13 x86_64)
On September 12, 2023, AWS will no longer maintain the Homebrew installer for AWS SAM CLI (aws/tap/aws-sam-cli). For AWS supported installations, use the first-party installers (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html). To continue using Homebrew, use the community supported installer (https://formulae.brew.sh/formula/aws-sam-cli).
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 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 zsh 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 less 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 vim 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 rsync 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 expect 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 (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 (Ubuntu 20.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos libxcrypt 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 apr 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 libedit 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 dyld-headers 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 ncurses 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 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 netcat formula exists Skipped: Requires homebrew/core to be tapped.
tests (Ubuntu 22.04): 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 (Ubuntu 22.04): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb#L5
RuboCop::Cop::FormulaAudit::ProvidedByMacos ssh-copy-id 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 zip 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 cups 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 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 ruby 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 apr 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 cyrus-sasl 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 icu4c formula exists Skipped: Requires homebrew/core to be tapped.