Bug 2392506
| Summary: | git-2.51.0-2.fc44 FTBFS: clone via Unix socket test fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | git | Assignee: | Jonathan Wright <jonathan> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | besser82, johannes, jonathan, mizdebsk, opohorel, pstodulk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org//package/git | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2384424 | ||
git-2.51.0-2.fc44 fails to build in Fedora 44 because a test fails: checking prerequisite: SOCKS_PROXY mkdir -p "$TRASH_DIRECTORY/prereq-test-dir-SOCKS_PROXY" && ( cd "$TRASH_DIRECTORY/prereq-test-dir-SOCKS_PROXY" && test_have_prereq PERL && start_socks "$TRASH_DIRECTORY/%30.sock" ) ++ mkdir -p '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/prereq-test-dir-SOCKS_PROXY' ++ cd '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/prereq-test-dir-SOCKS_PROXY' ++ test_have_prereq PERL ++ save_IFS=$' \t\n' ++ IFS=, ++ set -- PERL ++ IFS=$' \t\n' ++ total_prereq=0 ++ ok_prereq=0 ++ missing_prereq= ++ for prerequisite in "$@" ++ case "$prerequisite" in ++ negative_prereq= ++ case " $lazily_tested_prereq " in ++ case " $lazily_testable_prereq " in ++ total_prereq=1 ++ case "$satisfied_prereq" in ++ satisfied_this_prereq=t ++ case "$satisfied_this_prereq,$negative_prereq" in ++ ok_prereq=1 ++ test 1 = 1 ++ start_socks '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%30.sock' ++ mkfifo socks_output ++ echo 370602 ++ /usr/bin/perl /builddir/build/BUILD/git-2.51.0-build/git-2.51.0/t/socks4-proxy.pl '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%30.sock' ++ read line ++ test ready = ready prerequisite SOCKS_PROXY ok expecting success of 5564.6 'clone via Unix socket': test_when_finished "rm -rf clone" && test_config_global http.proxy "socks4://localhost$PWD/%2530.sock" && { { GIT_TRACE_CURL=$PWD/trace git clone "$HTTPD_URL/smart/repo.git" clone 2>err && grep -i "SOCKS4 request granted" trace } || old_libcurl_error err } ++ test_when_finished 'rm -rf clone' ++ test 0 = 0 ++ test_cleanup=$'{ rm -rf clone\n\t\t} && (exit "$eval_ret"); eval_ret=$?; :' ++ test_config_global http.proxy 'socks4://localhost/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%2530.sock' ++ test_when_finished 'test_unconfig --global '\''http.proxy'\''' ++ test 0 = 0 ++ test_cleanup=$'{ test_unconfig --global \'http.proxy\'\n\t\t} && (exit "$eval_ret"); eval_ret=$?; { rm -rf clone\n\t\t} && (exit "$eval_ret"); eval_ret=$?; :' ++ git config --global http.proxy 'socks4://localhost/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%2530.sock' ++ GIT_TRACE_CURL='/tmp/git-t.dmkO/trash directory.t5564-http-proxy/trace' ++ git clone http://127.0.0.1:5564/smart/repo.git clone ++ grep -i 'SOCKS4 request granted' trace ++ old_libcurl_error err ++ grep -Fx 'fatal: libcurl 7.84 or later is required to support paths in proxy URLs' err error: last command exited with $?=1 ++ test_unconfig --global http.proxy ++ config_dir= ++ test --global = -C ++ git config --unset-all --global http.proxy ++ config_status=0 ++ case "$config_status" in ++ return 0 ++ exit 1 ++ eval_ret=1 ++ rm -rf clone ++ exit 1 ++ eval_ret=1 ++ : not ok 6 - clone via Unix socket # # test_when_finished "rm -rf clone" && # test_config_global http.proxy "socks4://localhost$PWD/%2530.sock" && { # { # GIT_TRACE_CURL=$PWD/trace git clone "$HTTPD_URL/smart/repo.git" clone 2>err && # grep -i "SOCKS4 request granted" trace # } || # old_libcurl_error err # } # expecting success of 5564.7 'Unix socket requires socks*:': ! git clone -c http.proxy=localhost/path https://example.com/repo.git 2>err && { grep -Fx "fatal: Invalid proxy URL 'localhost/path': only SOCKS proxies support paths" err || old_libcurl_error err } A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/21277613>. An upgrade of libcurl from 8.15.0-2.fc43 to 8.16.0~rc2-1.fc44 is suspicious.