qemu-e2k/tests/vm
Paolo Bonzini c03f57fd5b Revert "tests: Use separate virtual environment for avocado"
This reverts commit e8e4298fea.

ensuregroup allows to specify both the acceptable versions of avocado,
and a locked version to be used when avocado is not installed as a system
pacakge.  This lets us install avocado in pyvenv/ using "mkvenv.py" and
reuse the distro package on Fedora and CentOS Stream (the only distros
where it's available).

ensuregroup's usage of "(>=..., <=...)" constraints when evaluating
the distro package, and "==" constraints when installing it from PyPI,
makes it possible to avoid conflicts between the known-good version and
a package plugins included in the distro.

This is because package plugins have "==" constraints on the version
that is included in the distro, and, using "pip install avocado==88.1"
on a venv that includes system packages will result in an error:

   avocado-framework-plugin-varianter-yaml-to-mux 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
   avocado-framework-plugin-result-html 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.

But at the same time, if the venv does not include a system distribution
of avocado then we can install a known-good version and stick to LTS
releases.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1663
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-08-28 09:55:48 +02:00
..
generated tests/lcitool: Refresh generated files 2023-07-18 09:36:28 +02:00
aarch64vm.py python: create qemu packages 2021-06-01 16:21:21 -04:00
basevm.py tests/vm: Introduce get_qemu_packages_from_lcitool_json() helper 2023-07-18 09:36:28 +02:00
centos tests/vm: Remove docker cross-compile test from CentOS VM 2022-07-18 20:24:36 +02:00
centos-8-aarch64.ks tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
centos.aarch64 lcitool: drop perl from QEMU project/dependencies 2023-02-02 10:44:23 +00:00
conf_example_aarch64.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
conf_example_x86.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
freebsd tests/vm/freebsd: Get up-to-date package list from lcitool vars file 2023-07-18 09:36:28 +02:00
haiku.x86_64 tests/vm/haiku.x86_64: Update the Haiku VM to Beta 4 2023-01-18 12:27:21 +01:00
Makefile.include Revert "tests: Use separate virtual environment for avocado" 2023-08-28 09:55:48 +02:00
netbsd tests/vm: add py310-expat to NetBSD 2023-05-18 08:53:51 +02:00
openbsd tests/vm: custom openbsd partitioning to increase /home space 2023-03-22 15:08:22 +00:00
README
ubuntu.aarch64 tests/vm: upgrade Ubuntu 18.04 VM to 20.04 2022-07-18 20:24:36 +02:00
ubuntuvm.py tests/vm: Add common Ubuntu python module 2020-07-11 15:52:59 +01:00

See docs/devel/testing.rst for help.