qemu/tests/acceptance
Philippe Mathieu-Daudé 95079d5c79 tests: Boot and halt a Linux guest on the Raspberry Pi 2 machine
Add a test booting and quickly shutdown a raspi2 machine,
to test the power management model:

   (1/1) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_initrd:
  console: [    0.000000] Booting Linux on physical CPU 0xf00
  console: [    0.000000] Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019
  console: [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  console: [    0.000000] CPU: div instructions available: patching division code
  console: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  console: [    0.000000] OF: fdt: Machine model: Raspberry Pi 2 Model B
  ...
  console: Boot successful.
  console: cat /proc/cpuinfo
  console: / # cat /proc/cpuinfo
  ...
  console: processor      : 3
  console: model name     : ARMv7 Processor rev 5 (v7l)
  console: BogoMIPS       : 125.00
  console: Features       : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
  console: CPU implementer        : 0x41
  console: CPU architecture: 7
  console: CPU variant    : 0x0
  console: CPU part       : 0xc07
  console: CPU revision   : 5
  console: Hardware       : BCM2835
  console: Revision       : 0000
  console: Serial         : 0000000000000000
  console: cat /proc/iomem
  console: / # cat /proc/iomem
  console: 00000000-3bffffff : System RAM
  console: 00008000-00afffff : Kernel code
  console: 00c00000-00d468ef : Kernel data
  console: 3f006000-3f006fff : dwc_otg
  console: 3f007000-3f007eff : /soc/dma@7e007000
  console: 3f00b880-3f00b8bf : /soc/mailbox@7e00b880
  console: 3f100000-3f100027 : /soc/watchdog@7e100000
  console: 3f101000-3f102fff : /soc/cprman@7e101000
  console: 3f200000-3f2000b3 : /soc/gpio@7e200000
  PASS (24.59 s)
  RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
  JOB TIME   : 25.02 s

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-id: 20210531113837.1689775-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-07-02 11:48:36 +01:00
..
avocado_qemu python: create qemu packages 2021-06-01 16:21:21 -04:00
virtiofs_submounts.py.data tests/acceptance: Add virtiofs_submounts.py 2020-11-02 19:23:48 +00:00
boot_linux_console.py tests: Boot and halt a Linux guest on the Raspberry Pi 2 machine 2021-07-02 11:48:36 +01:00
boot_linux.py tests/acceptance: tweak the tcg/kvm tests for virt 2021-06-25 10:05:36 +01:00
boot_xen.py tests/avocado: add boot_xen tests 2021-03-10 15:34:12 +00:00
cpu_queries.py Acceptance tests: use avocado tags for machine type 2019-12-16 11:23:19 -05:00
empty_cpu_model.py tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine 2019-12-16 10:59:50 -05:00
hotplug_cpu.py Acceptance Tests: introduce CPU hotplug test 2021-06-01 16:21:21 -04:00
info_usernet.py Python: add utility function for retrieving port redirection 2021-06-01 16:21:20 -04:00
linux_initrd.py tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab 2020-07-11 15:53:00 +01:00
linux_ssh_mips_malta.py Acceptance Tests: move useful ssh methods to base class 2021-06-01 16:21:20 -04:00
machine_arm_canona1100.py tests/acceptance: Add a test for the canon-a1100 machine 2020-05-21 20:00:18 +01:00
machine_arm_integratorcp.py tests/acceptance/integratorcp: Verify Tux is displayed on framebuffer 2020-02-28 16:14:57 +00:00
machine_arm_n8x0.py tests/acceptance: Add a test for the N800 and N810 arm machines 2020-02-28 16:14:57 +00:00
machine_avr6.py tests/acceptance: Test the Arduino MEGA2560 board 2020-07-11 11:02:05 +02:00
machine_m68k_nextcube.py tests/acceptance: Introduce tesseract_ocr() helper 2021-02-08 12:37:33 +01:00
machine_microblaze.py tests/acceptance: Re-enable the microblaze test 2021-02-08 17:22:36 +01:00
machine_mips_loongson3v.py tests/acceptance: Test PMON with Loongson-3A1000 CPU 2021-02-21 19:42:33 +01:00
machine_mips_malta.py tests/acceptance: skip multicore mips_malta tests on GitLab 2020-07-11 15:53:00 +01:00
machine_ppc.py tests/acceptance: Add a test for the virtex-ml507 ppc machine 2021-02-08 12:41:03 +01:00
machine_rx_gdbsim.py tests/acceptance: disable machine_rx_gdbsim on GitLab 2020-10-09 17:27:55 +01:00
machine_s390_ccw_virtio.py tests/acceptance: Fix race conditions in s390x tests & skip fedora on gitlab-CI 2021-01-11 14:59:21 +01:00
machine_sparc64_sun4u.py tests/acceptance: Add a test for the sun4u sparc64 machine 2020-07-06 09:32:59 +02:00
machine_sparc_leon3.py tests/acceptance/machine_sparc_leon3: Disable HelenOS test 2020-04-06 20:03:14 +02:00
migration.py tests/acceptance/migration.py: Wait for both sides 2020-05-31 18:25:31 +02:00
multiprocess.py tests: Add functional test for out-of-process device emulation 2021-03-16 22:18:27 -04:00
pc_cpu_hotplug_props.py machine: remove 'query-cpus' QMP command 2021-03-18 09:22:55 +00:00
ppc_prep_40p.py test/acceptance: Remove the CONTINUOUS_INTEGRATION tags 2020-10-26 09:54:16 +01:00
README.rst
replay_kernel.py tests/acceptance: drop ARMBIAN_ARTIFACTS_CACHED condition for orangepi-pc, cubieboard tests 2021-03-12 12:40:11 +00:00
reverse_debugging.py tests/acceptance: pick a random gdb port for reverse debugging 2020-10-27 09:53:51 +00:00
tcg_plugins.py tests/acceptance: add a memory callback check 2021-02-18 08:19:23 +00:00
tesseract_utils.py tests/acceptance: Introduce tesseract_ocr() helper 2021-02-08 12:37:33 +01:00
version.py tests/acceptance/version: Default to -nodefaults 2020-02-07 15:12:48 +01:00
virtio_check_params.py tests/acceptance: Remove shebang header 2020-02-07 15:12:48 +01:00
virtio_version.py python/qemu: split QEMUMachine out from underneath __init__.py 2019-07-01 19:02:10 -03:00
virtio-gpu.py python: create qemu packages 2021-06-01 16:21:21 -04:00
virtiofs_submounts.py tests/acceptance/virtiofs_submounts.py: fix setup of SSH pubkey 2021-06-01 16:21:21 -04:00
vnc.py acceptance: switch to QMP change-vnc-password command 2021-01-23 15:55:07 -05:00
x86_cpu_model_versions.py machine: remove 'query-cpus' QMP command 2021-03-18 09:22:55 +00:00

============================================
Acceptance tests using the Avocado Framework
============================================

This directory contains functional tests, also known as acceptance
level 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 "Acceptance tests using the Avocado Framework".