]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/run_xfstests_qemu.sh: harden against wget failures
authorIlya Dryomov <idryomov@gmail.com>
Tue, 11 Jan 2022 12:13:01 +0000 (13:13 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 14 Jan 2022 11:35:35 +0000 (12:35 +0100)
commit2a8cab7332ce6ef2ae5d526350e8e89a07516499
tree832ae15aa9869434ebd9e1675678a188c3dfa365
parent92c4304b1eca69c2efef29e3e35f46bdd7e87b8e
qa/run_xfstests_qemu.sh: harden against wget failures

If wget fails (e.g. due to a certificate issue), it still creates
an empty file.  Then this file is marked executable, ./"${SCRIPT}"
immediately returns 0 and run_xfstests_qemu.sh exits successfully
without running a single xfstest.

This started on Sep 30, 2021 with the expiration of Let's Encrypt
root certificate -- all qemu jobs with "test: qa/run_xfstests_qemu.sh"
just booted the VM for a couple of seconds and reported success.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 387be947948ff1dd40e88ae5288b9a52c7cde403)
qa/run_xfstests_qemu.sh