qemu-e2k/tests/avocado
Peter Maydell c1df5b4f16 Record/replay fixes for replay_kernel tests
- add a 32 bit x86 replay test case
   - fix some typos
   - use modern snapshot setting for tests
   - update replay_dump for current ABI
   - remove stale replay variables
   - improve kdoc for ReplayState
   - introduce common error path for replay
   - always fully drain chardevs when in replay
   - catch unexpected waitio on playback
   - remove flaky tags from replay_kernel tests
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmWcAJgACgkQ+9DbCVqe
 KkS/TQf+PuIPtuX71ENajfRBjz6450IbGqLUJ1HEaPGYGRj+fR6rg5g5u8qaBrT7
 TUv9ef9L22NtyL+Gbs1OGpGDWKoqV6RQc+A/MHa8IKFpcS24nUo3k4psIC6NSGRH
 6w3++fPC1Q5cDk9Lei3Qt8fXzcnUZz+NTiIK05aC0xh7D6uGfdADvKqHeLav7qi+
 X2ztNdBsy/WJWCuWcMVzb/dGwDBtuyyxvqTD4EF+zn+gSYq9od2G8XdF+0o6ZVLM
 mXEHwNwB6UjOkLt2cYaay59SXcJFvwxKbEGTDnA7T+kgd3rknuBaWdVBIazoSPQh
 +522nPz5qq/3wO1l7+iQXuvd38fWyw==
 =nKRx
 -----END PGP SIGNATURE-----

Merge tag 'pull-replay-fixes-080124-1' of https://gitlab.com/stsquad/qemu into staging

Record/replay fixes for replay_kernel tests

  - add a 32 bit x86 replay test case
  - fix some typos
  - use modern snapshot setting for tests
  - update replay_dump for current ABI
  - remove stale replay variables
  - improve kdoc for ReplayState
  - introduce common error path for replay
  - always fully drain chardevs when in replay
  - catch unexpected waitio on playback
  - remove flaky tags from replay_kernel tests

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmWcAJgACgkQ+9DbCVqe
# KkS/TQf+PuIPtuX71ENajfRBjz6450IbGqLUJ1HEaPGYGRj+fR6rg5g5u8qaBrT7
# TUv9ef9L22NtyL+Gbs1OGpGDWKoqV6RQc+A/MHa8IKFpcS24nUo3k4psIC6NSGRH
# 6w3++fPC1Q5cDk9Lei3Qt8fXzcnUZz+NTiIK05aC0xh7D6uGfdADvKqHeLav7qi+
# X2ztNdBsy/WJWCuWcMVzb/dGwDBtuyyxvqTD4EF+zn+gSYq9od2G8XdF+0o6ZVLM
# mXEHwNwB6UjOkLt2cYaay59SXcJFvwxKbEGTDnA7T+kgd3rknuBaWdVBIazoSPQh
# +522nPz5qq/3wO1l7+iQXuvd38fWyw==
# =nKRx
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 08 Jan 2024 14:03:04 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-replay-fixes-080124-1' of https://gitlab.com/stsquad/qemu:
  tests/avocado: remove skips from replay_kernel
  chardev: force write all when recording replay logs
  replay: stop us hanging in rr_wait_io_event
  replay/replay-char: use report_sync_error
  replay: introduce a central report point for sync errors
  replay: make has_unread_data a bool
  replay: add proper kdoc for ReplayState
  replay: remove host_clock_last
  scripts/replay_dump: track total number of instructions
  scripts/replay-dump: update to latest format
  tests/avocado: modernise the drive args for replay_linux
  tests/avocado: fix typo in replay_linux
  tests/avocado: add a simple i386 replay kernel test

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-01-09 10:32:04 +00:00
..
acpi-bits acpi/tests/avocado/bits: disable smilatency tests 2024-01-09 10:31:47 +00: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 gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
boot_linux.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
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 gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
kvm_xen_guest.py tests/avocado: Test Xen guest support under KVM 2023-04-04 15:56:44 +01:00
linux_initrd.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
linux_ssh_mips_malta.py tests/avocado: Make ssh_command_output_contains() globally available 2023-04-27 14:58:23 +01:00
load_bflt.py
machine_aarch64_sbsaref.py tests/avocado: tag sbsa tests as tcg only 2023-12-01 17:47:20 +00: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 gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
machine_avr6.py
machine_loongarch.py tests/avocado: Add LoongArch machine start test 2023-05-15 19:09:33 +08:00
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 tests/avocado: Update yamon-bin-02.22.zip URL 2023-12-04 16:21:00 +01:00
machine_rx_gdbsim.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
machine_s390_ccw_virtio.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
machine_sparc64_sun4u.py
machine_sparc_leon3.py
mem-addr-space-check.py tests/avocado/mem-addr-space-check: Replace assertEquals() for Python 3.12 2023-11-16 09:21:30 +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: remove skips from replay_kernel 2024-01-08 13:59:06 +00:00
replay_linux.py tests/avocado: modernise the drive args for replay_linux 2024-01-08 13:58:31 +00:00
reverse_debugging.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00: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 gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
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 gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00: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".