From f0ce9ccff64240e7e1194580e7a8ccb2337ee446 Mon Sep 17 00:00:00 2001 From: Kate Date: Wed, 17 Jan 2024 16:40:03 +0000 Subject: [PATCH] Fix CI: changing url to unreachable website as fa.ke is now an actual website --- tests/reftests/swhid.unix.test | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/reftests/swhid.unix.test b/tests/reftests/swhid.unix.test index 4150f83f204..5e33afa0d68 100644 --- a/tests/reftests/swhid.unix.test +++ b/tests/reftests/swhid.unix.test @@ -26,7 +26,7 @@ Clearing cache of downloaded files ### opam-version: "2.0" url { - src: "https://fa.ke/url.tar.gz" + src: "https://fake.exe/url.tar.gz" checksum: "md5=039a77d9ffb9b22ab845df30436390c1" } ### opam option download-command=curl @@ -39,7 +39,7 @@ The following actions will be performed: <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] Failed to get sources of snappy-ko.2: Download command failed -OpamSolution.Fetch_fail("https://fa.ke/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-ko.2/url.tar.gz.part -- https://fa.ke/url.tar.gz\" exited with code 6)") +OpamSolution.Fetch_fail("https://fake.exe/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-ko.2/url.tar.gz.part -- https://fake.exe/url.tar.gz\" exited with code 6)") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> @@ -53,7 +53,7 @@ Clearing cache of downloaded files ### opam-version: "2.0" url { - src: "https://fa.ke/url.tar.gz" + src: "https://fake.exe/url.tar.gz" checksum: "md5=039a77d9ffb9b22ab845df30436390c1" mirrors: "https://swhid.opam.ocaml.org/swh:1:dir:9f2be900491e1dabfc027848204ae01aa88fc71d" } @@ -68,7 +68,7 @@ The following actions will be performed: Processing 1/3: [snappy-swhid-dir.2: http] [ERROR] Failed to get sources of snappy-swhid-dir.2: Download command failed -OpamSolution.Fetch_fail("https://fa.ke/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-swhid-dir.2/url.tar.gz.part -- https://fa.ke/url.tar.gz\" exited with code 6)") +OpamSolution.Fetch_fail("https://fake.exe/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-swhid-dir.2/url.tar.gz.part -- https://fake.exe/url.tar.gz\" exited with code 6)") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> @@ -86,7 +86,7 @@ The following actions will be performed: - install snappy-swhid-dir 2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y +Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y -> retrieved snappy-swhid-dir.2 (SWH fallback) -> installed snappy-swhid-dir.2 Done. @@ -108,7 +108,7 @@ The following actions will be performed: - install snappy-swhid-dir 2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y +Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y -> retrieved snappy-swhid-dir.2 (SWH fallback) -> installed snappy-swhid-dir.2 Done. @@ -119,7 +119,7 @@ Set to 'curl' the field download-command in global configuration ### opam-version: "2.0" url { - src: "https://fa.ke/url.tar.gz" + src: "https://fake.exe/url.tar.gz" checksum: "md5=039a77d9ffb9b22ab845df30436390c1" mirrors: "https://swhid.opam.ocaml.org/swh:1:dir:0000000000000000000000000000000000000000" } @@ -129,7 +129,7 @@ The following actions will be performed: - install snappy-swhid-ko 2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y +Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y [ERROR] Failed to get sources of snappy-swhid-ko.2: SWH fallback: Unknown swhid OpamSolution.Fetch_fail("SWH fallback: Unknown swhid")