On 8/12/23 20:09, Cleber Rosa wrote:
Some of these tests actually require the root filesystem image, obtained through Avocado's asset feature and kept in a common cache location, to be writable. This makes a distinction between the tests that actually have this requirement and those who don't. The goal is to be as safe as possible, avoiding causing cache misses (because the assets get modified and thus need to be dowloaded again) while avoid copying the root filesystem backing file whenever possible.
Having cache assets modified is a design issue. We should assume the cache directory as read-only.
This also allow these tests to be run in parallel with newer Avocado versions. Signed-off-by: Cleber Rosa <crosa@xxxxxxxxxx> --- tests/avocado/kvm_xen_guest.py | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)