]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: use bionic version of qemu-iotests for focal
authorIlya Dryomov <idryomov@gmail.com>
Sun, 2 May 2021 21:13:29 +0000 (23:13 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Jun 2021 13:13:26 +0000 (15:13 +0200)
Currently Focal ends up with v2.2.0-rc3, which results in "WARNING:
Image format was not specified for ..." for all tests and all tests
fail.

Fixes: https://tracker.ceph.com/issues/50605
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2de2146c300c9f1b49944ffe13cc249a95bca19a)

qa/workunits/rbd/qemu-iotests.sh

index ddb63dae3b5dbde9c51870d40141b28e75d08d95..13af2debd8eebac424692d3b6a668365e3b8280b 100755 (executable)
@@ -9,7 +9,7 @@ testlist='001 002 003 004 005 008 009 010 011 021 025 032 033 055'
 
 git clone https://github.com/qemu/qemu.git
 cd qemu
-if lsb_release -da 2>&1 | grep -iq 'bionic'; then
+if lsb_release -da 2>&1 | grep -iqE '(bionic|focal)'; then
     # Bionic requires a matching test harness
     git checkout v2.11.0
 elif lsb_release -da 2>&1 | grep -iqE '(xenial|linux release 8)'; then