5daa9532 | 06-Dec-2024 |
Cédric Le Goater <clg@redhat.com> |
tests/functional: Move debian boot test from avocado
This simply moves the debian boot test from the avocado testsuite to the new functional testsuite. No changes in the test.
Reviewed-by: Thomas H
tests/functional: Move debian boot test from avocado
This simply moves the debian boot test from the avocado testsuite to the new functional testsuite. No changes in the test.
Reviewed-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20241206131132.520911-8-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
show more ...
|
b8ee011e | 26-Nov-2024 |
Peter Maydell <peter.maydell@linaro.org> |
Merge tag 'pull-9.2-rc2-updates-251124-1' of https://gitlab.com/stsquad/qemu into staging
testing, docs and plugin updates for rc2
- cleanup leftover avocado bits from functional test - ensure
Merge tag 'pull-9.2-rc2-updates-251124-1' of https://gitlab.com/stsquad/qemu into staging
testing, docs and plugin updates for rc2
- cleanup leftover avocado bits from functional test - ensure we keep functional logs for tests - improve test console handling to detect prompts - remove hacking timer.sleep() usage in functional tests - convert Aarch64 tuxrun tests to functional test - update Aarch64 tuxrun images to avoid corrupt blk I/O ops - auto-generate the TCG plugin API symbols to avoid missing them - fix rust pl011 model handling of DeviceID regs - update docs to refer to "commonly known identity" - convert aspeed tests to functional framework and remove hacky sleeps
# -----BEGIN PGP SIGNATURE----- # # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmdEZXEACgkQ+9DbCVqe # KkRdMAf+JoSdKn3ck/eji270bZ2Y3evgDuP/qOZlcBtUJJ7+bUvhEOnBMApwKRD8 # u63hz7M4LIV5k3mezlEADf+oEpZ2FR3nIDM0dTY2CXYZm6av+0dNV0qFhXwjkslk # aqJLiJYgNl3wsyn/ftYNLiBhCid0sOGMvEOFZI6ELBh5KH8eiNdyrsaD0GSmpwZi # BsZUi8TOKy6EBeWnco/FLBV8ZVZUHuHNBl84jUY/8g7cxGMJfK8KoqMJ5XYoiQoJ # 1dYDqFmoP24iQRks6K6beFRdS/CBet36Nhsv7We/gf17Msw5uFo7Cho+touRCMrK # AmVKFdOX/OqJAHqlEKquYAD7bPjpaA== # =Xa/M # -----END PGP SIGNATURE----- # gpg: Signature made Mon 25 Nov 2024 11:54:25 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-9.2-rc2-updates-251124-1' of https://gitlab.com/stsquad/qemu: (28 commits) tests/functional: Remove sleep workarounds from Aspeed tests tests/functional: Convert Aspeed arm SDK tests tests/functional: Convert Aspeed aarch64 SDK tests docs: explicitly permit a "commonly known identity" with SoB rust/pl011: Fix range checks for device ID accesses plugins: eradicate qemu-plugins.symbols static file plugins: detect qemu plugin API symbols from header plugins: add missing export for qemu_plugin_num_vcpus tests/functional: update the aarch64 tuxrun tests tests/functional: Convert the Avocado aarch64 tuxrun tests tests/functional: avoid accessing log_filename on earlier failures tests/functional: add a QMP backdoor for debugging stalled tests tests/functional: remove time.sleep usage from tuxrun tests tests/functional: rewrite console handling to be bytewise tests/functional: require non-NULL success_message for console wait tests/functional: don't try to wait for the empty string tests/functional: logs details of console interaction operations tests/functional: enable debug logging for QEMUMachine tests/functional: honour requested test VM name in QEMUMachine tests/functional: put QEMUMachine logs in testcase log directory ...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
show more ...
|
f9ab0f46 | 22-Nov-2024 |
Cédric Le Goater <clg@redhat.com> |
tests/functional: Convert Aspeed arm SDK tests
Drop the SSH connection which was introduced in the avocado tests to workaround read issues when interacting with console.
EXTRA_BOOTARGS was introduc
tests/functional: Convert Aspeed arm SDK tests
Drop the SSH connection which was introduced in the avocado tests to workaround read issues when interacting with console.
EXTRA_BOOTARGS was introduced to reduce the console output at Linux boot time. This didn't have the desired effect as we still had issues when trying to match patterns on the console and we had to use the ssh connection as a workaround.
While at it, remove the U-Boot EXTRA_BOOTARGS variable which has become useless.
Signed-off-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20241122090322.1934697-3-clg@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
show more ...
|
c95309b2 | 22-Nov-2024 |
Cédric Le Goater <clg@redhat.com> |
tests/functional: Convert Aspeed aarch64 SDK tests
Drop the SSH connection which was introduced in the avocado tests to workaround read issues when interacting with console.
Signed-off-by: Cédric L
tests/functional: Convert Aspeed aarch64 SDK tests
Drop the SSH connection which was introduced in the avocado tests to workaround read issues when interacting with console.
Signed-off-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20241122090322.1934697-2-clg@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
show more ...
|
37136902 | 21-Nov-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado aarch64 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-aarch64 in the functional framework.
Since these were the last tests
tests/functional: Convert the Avocado aarch64 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-aarch64 in the functional framework.
Since these were the last tests in tests/avocado/tuxrun_baselines.py, we can now remove that file, too.
Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20241121165806.476008-20-alex.bennee@linaro.org>
show more ...
|
770de685 | 22-Nov-2024 |
Kevin Wolf <kwolf@redhat.com> |
tests/avocado/hotplug_blk: Fix addr in device_add command
pci_devfn properties accept both integer and string values, but integer 1 and string '1' have different meanings: The integer value means de
tests/avocado/hotplug_blk: Fix addr in device_add command
pci_devfn properties accept both integer and string values, but integer 1 and string '1' have different meanings: The integer value means device 0, function 1 whereas the string value '1' is short for '1.0' and means device 1, function 0.
This test wants the string version so that the device actually becomes visible for the guest. device_add hides the problem because it goes through QemuOpts, which turns all properties into strings - this is a QEMU bug that we want to fix, but that cancelled out the bug in this test.
Fix the test first so that device_add can be fixed afterwards.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20241122224042.149258-1-kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
6a564c8a | 21-Aug-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the riscv_opensbi avocado test into a standalone test
The avocado test defined test functions for both, riscv32 and riscv64. Since we can run the whole file with multiple t
tests/functional: Convert the riscv_opensbi avocado test into a standalone test
The avocado test defined test functions for both, riscv32 and riscv64. Since we can run the whole file with multiple targets in the new framework, we can now consolidate the functions so we have to only define one function per machine now.
Message-ID: <20240821082748.65853-23-thuth@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
27652f9c | 05-Nov-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the RV32-on-RV64 riscv test
A straggler that has been added to the Avocado framework while the conversion to the functional framework was already in progress... Move it ove
tests/functional: Convert the RV32-on-RV64 riscv test
A straggler that has been added to the Avocado framework while the conversion to the functional framework was already in progress... Move it over now, too!
Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Message-ID: <20241105103519.341304-1-thuth@redhat.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
show more ...
|
380f7268 | 29-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the OrangePi tests to the functional framework
Move the OrangePi tests from tests/avocado/boot_linux_console.py into a new file dedicated for OrangePi tests in the function
tests/functional: Convert the OrangePi tests to the functional framework
Move the OrangePi tests from tests/avocado/boot_linux_console.py into a new file dedicated for OrangePi tests in the functional framework and update the hash sums of the assets to sha256 along the way. For the buildroot image and the Armbian image, we've got to switch to a newer version since the old images have been removed from the server, and the NetBSD image has been moved to the archive, so we need to update this URL as well.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241029092440.25021-3-thuth@redhat.com>
show more ...
|
f7d6b772 | 29-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert BananaPi tests to the functional framework
Move the BananaPi tests from tests/avocado/boot_linux_console.py into a new file dedicated for Banana Pi tests in the functional
tests/functional: Convert BananaPi tests to the functional framework
Move the BananaPi tests from tests/avocado/boot_linux_console.py into a new file dedicated for Banana Pi tests in the functional framework. Update the hash sums of the assets to sha256 along the way and fix the broken link for the buildroot image from storage.kernelci.org.
(Note: The test_arm_bpim2u_openwrt_22_03_3 test is currently broken due to a regression in commit 4c2c047469 ("target/arm: Fix usage of MMU indexes when EL3 is AArch32") - it works if that commit gets reverted)
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241029092440.25021-2-thuth@redhat.com>
show more ...
|
3abc545e | 23-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the tcg_plugins test
A straight forward conversion, only the usual changes were required here (i.e. adjustment for asset downloading, machine selection).
Message-ID: <2024
tests/functional: Convert the tcg_plugins test
A straight forward conversion, only the usual changes were required here (i.e. adjustment for asset downloading, machine selection).
Message-ID: <20241023051754.813412-1-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
bfd12c92 | 19-Sep-2024 |
LIU Zhiwei <zhiwei_liu@linux.alibaba.com> |
tests/avocado: Boot Linux for RV32 cpu on RV64 QEMU
make check-avocado AVOCADO_TESTS=tests/avocado/tuxrun_baselines.py: \ TuxRunBaselineTest:test_riscv64_rv32
Signed-off-by: LIU Zhiwei <zhiwei_liu@
tests/avocado: Boot Linux for RV32 cpu on RV64 QEMU
make check-avocado AVOCADO_TESTS=tests/avocado/tuxrun_baselines.py: \ TuxRunBaselineTest:test_riscv64_rv32
Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Suggested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20240919055048.562-9-zhiwei_liu@linux.alibaba.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
show more ...
|
f04cb2d0 | 16-Oct-2024 |
Cédric Le Goater <clg@redhat.com> |
tests/functional: Convert most Aspeed machine tests
This is a simple conversion of the tests with some cleanups and adjustments to match the new test framework. Replace the zephyr image MD5 hashes w
tests/functional: Convert most Aspeed machine tests
This is a simple conversion of the tests with some cleanups and adjustments to match the new test framework. Replace the zephyr image MD5 hashes with SHA256 hashes while at it.
The SDK tests depend on a ssh class from avocado.utils which is difficult to replace. To be addressed separately.
Signed-off-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Thomas Huth <thuth@redhat.com>
show more ...
|
c592ff35 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado sh4 tuxrun test
Move the test into a new file so that it can be run via qemu-system-sh4 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.c
tests/functional: Convert the Avocado sh4 tuxrun test
Move the test into a new file so that it can be run via qemu-system-sh4 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-18-thuth@redhat.com>
show more ...
|
9ca8239a | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado ppc32 tuxrun test
Move the test into a new file so that it can be run via qemu-system-ppc in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat
tests/functional: Convert the Avocado ppc32 tuxrun test
Move the test into a new file so that it can be run via qemu-system-ppc in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-16-thuth@redhat.com>
show more ...
|
a2a2a5b0 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado mips64el tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips64el in the functional framework.
Signed-off-by: Thomas Huth <thut
tests/functional: Convert the Avocado mips64el tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips64el in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-15-thuth@redhat.com>
show more ...
|
a01be218 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado mips64 tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips64 in the functional framework.
Signed-off-by: Thomas Huth <thuth@re
tests/functional: Convert the Avocado mips64 tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips64 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-14-thuth@redhat.com>
show more ...
|
55716a89 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado mipsel tuxrun test
Move the test into a new file so that it can be run via qemu-system-mipsel in the functional framework.
Signed-off-by: Thomas Huth <thuth@re
tests/functional: Convert the Avocado mipsel tuxrun test
Move the test into a new file so that it can be run via qemu-system-mipsel in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-13-thuth@redhat.com>
show more ...
|
87cab1ae | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado mips tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat
tests/functional: Convert the Avocado mips tuxrun test
Move the test into a new file so that it can be run via qemu-system-mips in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-12-thuth@redhat.com>
show more ...
|
7cea8fe3 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado x86_64 tuxrun test
Move the tests to a new file so that they can be run via qemu-system-x86_64 in the functional framework.
Signed-off-by: Thomas Huth <thuth@r
tests/functional: Convert the Avocado x86_64 tuxrun test
Move the tests to a new file so that they can be run via qemu-system-x86_64 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-11-thuth@redhat.com>
show more ...
|
4007fc94 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado i386 tuxrun test
Move the tests to a new file so that they can be run via qemu-system-i386 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redha
tests/functional: Convert the Avocado i386 tuxrun test
Move the tests to a new file so that they can be run via qemu-system-i386 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-10-thuth@redhat.com>
show more ...
|
7746a6c4 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado riscv64 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-riscv64 in the functional framework.
Signed-off-by: Thomas Huth <thut
tests/functional: Convert the Avocado riscv64 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-riscv64 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-9-thuth@redhat.com>
show more ...
|
77bc76c7 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado riscv32 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-riscv32 in the functional framework.
Signed-off-by: Thomas Huth <thut
tests/functional: Convert the Avocado riscv32 tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-riscv32 in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-8-thuth@redhat.com>
show more ...
|
de9f57a6 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado arm tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-arm in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat
tests/functional: Convert the Avocado arm tuxrun tests
Move the tests to a new file so that they can be run via qemu-system-arm in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-7-thuth@redhat.com>
show more ...
|
a7a9f513 | 11-Oct-2024 |
Thomas Huth <thuth@redhat.com> |
tests/functional: Convert the Avocado s390x tuxrun test
Move the test to a new file so that it can be run via qemu-system-s390x in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat
tests/functional: Convert the Avocado s390x tuxrun test
Move the test to a new file so that it can be run via qemu-system-s390x in the functional framework.
Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241011131937.377223-6-thuth@redhat.com>
show more ...
|