The tests/avocado/boot_linux.py was disabled because it would take too long to execute due to which it would timeout. On investigation of this it was found that: 1) The avocado module was downloading the Fedora 31 qcow2 image 2 times due to checksum algorithm mismatch. The first download was computing the checksum with the sha1 algorithm whereas the second time the sha256 algorithm checksum was being passed by the avocado_qemu module due to which the 2nd download was being triggered. 2) The boot_linux.py test-case was including the image download time for the 2nd download (as mentioned in point 1) in the test-case timeout time.
This patchset aims to solve the above problems by: 1) Bumping up the avocado-framework version used by qemu to 101.0. This version of avocado includes a fix that re-computes the checksum of the already downloaded file using sha256 and then checks the checksum string being passed by avocado_qemu. This fix will also update the *-CHECKSUM file with a new line for the sha256 checksum. 2) Separating the download timeout from the actual test-case execution timeout in boot_linux.py. Kautuk Consul (2): tests/requirements.txt: bump up avocado-framework version to 101.0 tests/avocado/boot_linux.py: re-enable test-case for ppc64 tests/avocado/boot_linux.py | 6 +++++- tests/requirements.txt | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.39.2