diff --git a/tests/_live_build.pm b/tests/_live_build.pm index 3a762c61..72df90f2 100644 --- a/tests/_live_build.pm +++ b/tests/_live_build.pm @@ -64,6 +64,10 @@ sub run { # upload the config so we can check it's OK upload_logs "/etc/mock/openqa.cfg"; # now check out the kickstarts + # FIXME using HTTP 1.1 seems to avoid some weird hangs we're + # seeing on pagure.io lately as of 2023/07: + # https://pagure.io/fedora-infrastructure/issue/11426 + assert_script_run 'git config --global http.version HTTP/1.1'; assert_script_run 'git clone https://pagure.io/fedora-kickstarts.git'; assert_script_run 'cd fedora-kickstarts'; assert_script_run "git checkout ${branch}"; diff --git a/tests/_ostree_build.pm b/tests/_ostree_build.pm index e853584e..a373500a 100644 --- a/tests/_ostree_build.pm +++ b/tests/_ostree_build.pm @@ -36,6 +36,10 @@ sub run { assert_script_run "setenforce Permissive"; # install the tools we need assert_script_run "dnf -y install git lorax flatpak ostree rpm-ostree dbus-daemon moreutils", 300; + # FIXME using HTTP 1.1 seems to avoid some weird hangs we're + # seeing on pagure.io lately as of 2023/07: + # https://pagure.io/fedora-infrastructure/issue/11426 + assert_script_run 'git config --global http.version HTTP/1.1'; # now check out workstation-ostree-config assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git'; assert_script_run 'pushd workstation-ostree-config';