]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 12 Jan 2022 19:53:45 +0000 (20:53 +0100)
commit387be947948ff1dd40e88ae5288b9a52c7cde403
treee88620bfde7f89b3c9ae8863659da72cd274e345
parentaf5f475a45cf5fa2f747862d9958cc1d7846bbf9
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>
qa/run_xfstests_qemu.sh