qemu-e2k/tests/avocado
Philippe Mathieu-Daudé 9d72dd100c tests/avocado: Make fetch_asset() unconditionally require a crypto hash
In a perfect world we'd have reproducible tests,
but then we'd be sure we run the same binaries.
If a binary artifact isn't hashed, we have no idea
what we are running. Therefore enforce hashing for
all our artifacts.

With this change, unhashed artifacts produce:

  $ avocado run tests/avocado/multiprocess.py
   (1/2) tests/avocado/multiprocess.py:Multiprocess.test_multiprocess_x86_64:
   ERROR: QemuBaseTest.fetch_asset() missing 1 required positional argument: 'asset_hash' (0.19 s)

Inspired-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20231115205149.90765-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2023-11-16 07:13:41 +01:00
..
acpi-bits tests/: spelling fixes 2023-09-08 13:08:52 +03:00
avocado_qemu tests/avocado: Make fetch_asset() unconditionally require a crypto hash 2023-11-16 07:13:41 +01:00
virtiofs_submounts.py.data
acpi-bits.py acpi/tests/avocado/bits: enable console logging from bits VM 2023-11-07 03:39:11 -05:00
boot_linux_console.py tests/avocado: Re-enable MIPS Malta tests (GitLab issue #1884 fixed) 2023-10-04 11:03:54 -07:00
boot_linux.py
boot_xen.py
cpu_queries.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
empty_cpu_model.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
hotplug_cpu.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
info_usernet.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
intel_iommu.py tests/avocado/intel_iommu: Add asset hashes to avoid warnings 2023-11-16 07:13:41 +01:00
kvm_xen_guest.py
linux_initrd.py
linux_ssh_mips_malta.py
load_bflt.py
machine_aarch64_sbsaref.py tests/avocado: remove flaky test marking for test_sbsaref_edk2_firmware 2023-10-11 08:46:23 +01:00
machine_aarch64_virt.py
machine_arm_canona1100.py
machine_arm_integratorcp.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
machine_arm_n8x0.py
machine_aspeed.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
machine_avr6.py
machine_loongarch.py
machine_m68k_nextcube.py tests/avocado: Allow newer versions of tesseract in the nextcube test 2023-11-07 19:26:50 +01:00
machine_microblaze.py
machine_mips_fuloong2e.py
machine_mips_loongson3v.py
machine_mips_malta.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
machine_rx_gdbsim.py
machine_s390_ccw_virtio.py tests/avocado/machine_s390_ccw_virtio.py: Fix SyntaxWarnings from python 3.12 2023-11-13 19:06:06 +01:00
machine_sparc64_sun4u.py
machine_sparc_leon3.py
mem-addr-space-check.py tests/avocado: add test to exercise processor address space memory bound checks 2023-11-13 16:56:24 +01:00
migration.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
multiprocess.py tests/avocado/multiprocess: Add asset hashes to silence warnings 2023-11-16 07:13:41 +01:00
netdev-ethtool.py igb: Notify only new interrupts 2023-05-23 15:20:15 +08:00
pc_cpu_hotplug_props.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
ppc_74xx.py
ppc_405.py
ppc_amiga.py tests/avocado: Add test for amigaone board 2023-11-07 15:49:41 -03:00
ppc_bamboo.py
ppc_mpc8544ds.py
ppc_powernv.py tests/avocado: Add powernv machine test script 2023-07-07 04:47:49 -03:00
ppc_prep_40p.py
ppc_pseries.py tests/avocado: ppc test VOF bios Linux boot 2023-06-25 22:41:31 +02:00
ppc_virtex_ml507.py
README.rst
replay_kernel.py tests/avocado: Re-enable MIPS Malta tests (GitLab issue #1884 fixed) 2023-10-04 11:03:54 -07:00
replay_linux.py tests/avocado: fix waiting for vm shutdown in replay_linux 2023-09-25 08:02:23 +02:00
reverse_debugging.py tests/avocado: ppc64 reverse debugging tests for pseries and powernv 2023-09-06 11:19:33 +02:00
riscv_opensbi.py tests/avocado: riscv: Enable 32-bit Spike OpenSBI boot testing 2023-07-10 22:29:14 +10:00
s390_topology.py tests/avocado: s390x cpu topology bad move 2023-10-20 07:16:53 +02:00
smmu.py
tcg_plugins.py tests/avocado: update the tcg_plugins test 2023-11-08 15:15:23 +00:00
tesseract_utils.py tests/avocado: Allow newer versions of tesseract in the nextcube test 2023-11-07 19:26:50 +01:00
tuxrun_baselines.py avocado, risc-v: add tuxboot tests for 'max' CPU 2023-10-12 11:40:42 +10:00
version.py tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
virtio_check_params.py tests/avocado: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
virtio_version.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
virtio-gpu.py tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for edid support 2023-11-16 07:13:41 +01:00
vnc.py python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
x86_cpu_model_versions.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00

=============================================
Integration tests using the Avocado Framework
=============================================

This directory contains integration tests. They're usually higher
level, and may interact with external resources and with various
guest operating systems.

For more information, please refer to ``docs/devel/testing.rst``,
section "Integration tests using the Avocado Framework".