Bump Avocado to 103.0 LTS and update tests for compatibility and new features
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 12 repliesIn review
- v113 patches 30 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Bump avocado to 103.0pythondeps.toml tests/ | +2 | 0 replies | |
| 2/9 | tests/avocado: apply proper skipUnless decoratortests/ tests/ tests/ +5 more | +0 | 2 replies | |
| 3/9 | tests/avocado: add cdrom permission related teststests/ | +41 | 1 reply | |
| 4/9 | tests/avocado: machine aarch64: standardize location and RO accesstests/ tests/ | +8 | 0 replies | |
| 5/9 | tests/avocado: simplify parameters on fetch_asset with name onlytests/ tests/ | +2 | 0 replies | |
| 6/9 | tests/avocado/boot_xen.py: fetch kernel during test setUp()tests/ | +6 | 0 replies | |
| 7/9 | tests/avocado/tuxrun_baselines.py: use Avocado's zstd supporttests/ | +6 | 2 replies | |
| 8/9 | tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of imagetests/ | +1 | 2 replies | |
| 9/9 | Avocado tests: allow for parallel execution of testsdocs/ tests/ | +17 | 4 replies |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Marcin Juszkiewicz | Philippe Mathieu-Daudé | Thomas Huth |
|---|---|---|---|
| Series | T-b | ||
| 1/9 | |||
| 2/9 | R-b | R-b | |
| 3/9 | |||
| 4/9 | |||
| 5/9 | |||
| 6/9 | |||
| 7/9 | |||
| 8/9 | R-b | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/9] Bump Avocado to 103.0 LTS and update tests for compatibility and new features
This is a *long* overdue update of the Avocado version used in QEMU. It comes a time where the role of the runner and the libraries are being discussed and questioned.
These exact commits have been staging on my side for over 30 days now, and I was exceeding what I should in terms of testing before posting. I apologize for the miscalculation.
Nevertheless, as pointed out, on the ML, these changes are needed NOW.
Some examples of runs in the CI can be seen below:
* Serial with 103.0 LTS (https://gitlab.com/cleber.gnu/qemu/-/jobs/7074346143#L220):
RESULTS : PASS 46 | ERROR 0 | FAIL 0 | SKIP 2 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 432.63 s
* Parallel with 103.0 LTS (https://gitlab.com/cleber.gnu/qemu/-/jobs/7085879478#L222)
RESULTS : PASS 46 | ERROR 0 | FAIL 0 | SKIP 2 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 148.99 s
Changes from v1 (references are from v1):
This version first applies the Avocado version bump (now PATCH 1), adding to that patch the serial execution behavior. Avocado 103.0 LTS can run all existing tests in QEMU without any changes, so it's safe to pick PATCH 1 *only* from this series if needed. A GitLab CI job that does only that can be seen here:
https://gitlab.com/cleber.gnu/qemu/-/pipelines/1402633650
Details on changes:
* Moved "Bump avocado to 103.0" to first patch
* Patches already applied:
- [PATCH 1/13] tests/avocado: mips: fallback to HTTP given certificate expiration
- [PATCH 2/13] tests/avocado: mips: add hint for fetchasset plugin
- [PATCH 8/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset
* Dropped patches:
- [PATCH 3/13] tests/avocado/intel_iommu.py: increase timeout
- [PATCH 6/13] tests/avocado: use more distinct names for assets
- Replaced with "tests/avocado: simplify parameters on fetch_asset with name only"
- [PATCH 7/13] tests/avocado/kvm_xen_guest.py: cope with asset RW requirements
* [PATCH 5/13] tests/avocado: machine aarch64: standardize location and RO access:
- Fixed rebase mistake
* [PATCH 11/13] tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image
- Use "snapshot=on" instead of new copy of file
* New patches:
- tests/avocado: apply proper skipUnless decorator
- tests/avocado: simplify parameters on fetch_asset with name only
Cleber Rosa (9):
Bump avocado to 103.0
tests/avocado: apply proper skipUnless decorator tests/avocado: add cdrom permission related tests tests/avocado: machine aarch64: standardize location and RO access tests/avocado: simplify parameters on fetch_asset with name only tests/avocado/boot_xen.py: fetch kernel during test setUp() tests/avocado/tuxrun_baselines.py: use Avocado's zstd support tests/avocado/machine_aarch64_sbsaref.py: allow for rw usage of image Avocado tests: allow for parallel execution of tests
docs/devel/testing.rst | 12 +++++++ pythondeps.toml | 2 +- tests/Makefile.include | 6 +++- tests/avocado/boot_linux_console.py | 1 - tests/avocado/boot_xen.py | 13 ++++---- tests/avocado/cdrom.py | 41 ++++++++++++++++++++++++ tests/avocado/intel_iommu.py | 1 - tests/avocado/kvm_xen_guest.py | 2 +- tests/avocado/linux_initrd.py | 1 - tests/avocado/machine_aarch64_sbsaref.py | 4 +-- tests/avocado/machine_aarch64_virt.py | 14 ++++---- tests/avocado/machine_aspeed.py | 2 -- tests/avocado/machine_mips_malta.py | 2 -- tests/avocado/machine_rx_gdbsim.py | 2 -- tests/avocado/netdev-ethtool.py | 2 +- tests/avocado/reverse_debugging.py | 4 --- tests/avocado/smmu.py | 1 - tests/avocado/tuxrun_baselines.py | 16 ++++----- 18 files changed, 82 insertions(+), 44 deletions(-) create mode 100644 tests/avocado/cdrom.py
Signature · 1 line
2.45.2