* [PATCH 00/39] maintainer updates for -rc2 pre-PR
@ 2024-11-21 16:57 Alex Bennée
2024-11-21 16:57 ` [PATCH 01/39] tests/functional: fix mips64el test to honour workdir Alex Bennée
` (41 more replies)
0 siblings, 42 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
This is a mostly testing focused set of patches but a few bug fixes as
well. I plan to send the PR in on Monday. I can drop any patches that
are objected to but I think its pretty safe.
Contains:
- Daniel's clean-up of functional tests
- Another avocado->function conversion from Thomas
- Update the tuxrun baseline images
- Minor fix to the rust pl011 device
- Documentation clarification on identity
The following could do with some review:
tests/functional: update the x86_64 tuxrun tests
tests/functional: update the sparc64 tuxrun tests
tests/functional: update the s390x tuxrun tests
tests/functional: update the riscv64 tuxrun tests
tests/functional: update the riscv32 tuxrun tests
tests/functional: update the ppc64 tuxrun tests
tests/functional: update the ppc32 tuxrun tests
tests/functional: update the mips64el tuxrun tests
tests/functional: update the mips64 tuxrun tests
tests/functional: update the mips32el tuxrun tests
tests/functional: update the mips32 tuxrun tests
tests/functional: add a m68k tuxrun tests
tests/functional: update the i386 tuxrun tests
tests/functional: update the aarch64 tuxrun tests
tests/functional: update the arm tuxrun tests
tests/functional: Convert the Avocado aarch64 tuxrun tests
Thanks,
Alex.
Alex Bennée (15):
tests/functional: update the arm tuxrun tests
tests/functional: update the aarch64 tuxrun tests
tests/functional: update the i386 tuxrun tests
tests/functional: add a m68k tuxrun tests
tests/functional: update the mips32 tuxrun tests
tests/functional: update the mips32el tuxrun tests
tests/functional: update the mips64 tuxrun tests
tests/functional: update the mips64el tuxrun tests
tests/functional: update the ppc32 tuxrun tests
tests/functional: update the ppc64 tuxrun tests
tests/functional: update the riscv32 tuxrun tests
tests/functional: update the riscv64 tuxrun tests
tests/functional: update the s390x tuxrun tests
tests/functional: update the sparc64 tuxrun tests
tests/functional: update the x86_64 tuxrun tests
Daniel P. Berrangé (19):
tests/functional: fix mips64el test to honour workdir
tests/functional: automatically clean up scratch files after tests
tests/functional: remove "AVOCADO" from env variable name
tests/functional: remove todo wrt avocado.utils.wait_for
tests/functional: remove leftover :avocado: tags
tests/functional: remove obsolete reference to avocado bug
tests/functional: remove comments talking about avocado
tests/functional: honour self.workdir in ACPI bits tests
tests/functional: put QEMUMachine logs in testcase log directory
tests/functional: honour requested test VM name in QEMUMachine
tests/functional: enable debug logging for QEMUMachine
tests/functional: logs details of console interaction operations
tests/functional: don't try to wait for the empty string
tests/functional: require non-NULL success_message for console wait
tests/functional: rewrite console handling to be bytewise
tests/functional: remove time.sleep usage from tuxrun tests
tests/functional: add a QMP backdoor for debugging stalled tests
tests/functional: avoid accessing log_filename on earlier failures
docs: explicitly permit a "commonly known identity" with SoB
Junjie Mao (1):
rust/pl011: Fix range checks for device ID accesses
Pierrick Bouvier (3):
plugins: add missing export for qemu_plugin_num_vcpus
plugins: detect qemu plugin API symbols from header
plugins: eradicate qemu-plugins.symbols static file
Thomas Huth (1):
tests/functional: Convert the Avocado aarch64 tuxrun tests
MAINTAINERS | 4 +-
docs/devel/submitting-a-patch.rst | 7 +-
docs/devel/testing/functional.rst | 16 ++
include/qemu/qemu-plugin.h | 1 +
.gitlab-ci.d/check-dco.py | 5 +-
plugins/meson.build | 12 +-
plugins/qemu-plugins.symbols | 59 ------
rust/hw/char/pl011/src/device.rs | 2 +-
scripts/qemu-plugin-symbols.py | 45 +++++
tests/avocado/tuxrun_baselines.py | 224 -----------------------
tests/functional/meson.build | 3 +
tests/functional/qemu_test/cmd.py | 89 +++++++--
tests/functional/qemu_test/testcase.py | 43 +++--
tests/functional/qemu_test/tuxruntest.py | 17 +-
tests/functional/test_aarch64_tuxrun.py | 50 +++++
tests/functional/test_acpi_bits.py | 57 ++----
tests/functional/test_arm_bpim2u.py | 20 --
tests/functional/test_arm_orangepi.py | 27 ---
tests/functional/test_arm_tuxrun.py | 28 +--
tests/functional/test_i386_tuxrun.py | 8 +-
tests/functional/test_m68k_nextcube.py | 3 +-
tests/functional/test_m68k_tuxrun.py | 34 ++++
tests/functional/test_mips64_tuxrun.py | 8 +-
tests/functional/test_mips64el_malta.py | 4 +-
tests/functional/test_mips64el_tuxrun.py | 8 +-
tests/functional/test_mips_tuxrun.py | 8 +-
tests/functional/test_mipsel_tuxrun.py | 8 +-
tests/functional/test_ppc64_tuxrun.py | 16 +-
tests/functional/test_ppc_tuxrun.py | 8 +-
tests/functional/test_riscv32_tuxrun.py | 8 +-
tests/functional/test_riscv64_tuxrun.py | 16 +-
tests/functional/test_s390x_tuxrun.py | 8 +-
tests/functional/test_sparc64_tuxrun.py | 8 +-
tests/functional/test_virtio_gpu.py | 3 +-
tests/functional/test_x86_64_tuxrun.py | 8 +-
35 files changed, 376 insertions(+), 489 deletions(-)
delete mode 100644 plugins/qemu-plugins.symbols
create mode 100755 scripts/qemu-plugin-symbols.py
delete mode 100644 tests/avocado/tuxrun_baselines.py
create mode 100755 tests/functional/test_aarch64_tuxrun.py
create mode 100644 tests/functional/test_m68k_tuxrun.py
--
2.39.5
^ permalink raw reply [flat|nested] 79+ messages in thread
* [PATCH 01/39] tests/functional: fix mips64el test to honour workdir
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 02/39] tests/functional: automatically clean up scratch files after tests Alex Bennée
` (40 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The missing directory separator resulted in the kernel file being
created 1 level higher than expected.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-2-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_mips64el_malta.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/functional/test_mips64el_malta.py b/tests/functional/test_mips64el_malta.py
index 6c6355b131..24ebcdb9c1 100755
--- a/tests/functional/test_mips64el_malta.py
+++ b/tests/functional/test_mips64el_malta.py
@@ -129,7 +129,7 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
screendump_path = os.path.join(self.workdir, 'screendump.pbm')
kernel_path_gz = self.ASSET_KERNEL_4_7_0.fetch()
- kernel_path = self.workdir + "vmlinux"
+ kernel_path = self.workdir + "/vmlinux"
gzip_uncompress(kernel_path_gz, kernel_path)
tuxlogo_path = self.ASSET_TUXLOGO.fetch()
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 02/39] tests/functional: automatically clean up scratch files after tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
2024-11-21 16:57 ` [PATCH 01/39] tests/functional: fix mips64el test to honour workdir Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 03/39] tests/functional: remove "AVOCADO" from env variable name Alex Bennée
` (39 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The build/tests/functional subdirectories are consuming huge amounts
of disk space.
Split the location for scratch files into a 'scratch' sub-directory,
separate from log files, and delete it upon completion of each test.
The new env variable QEMU_TEST_KEEP_SCRATCH can be set to preserve
this scratch dir for debugging access if required.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-3-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
docs/devel/testing/functional.rst | 6 ++++++
tests/functional/qemu_test/testcase.py | 14 +++++++++-----
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst
index bf6f1bb81e..6b5d0c5b98 100644
--- a/docs/devel/testing/functional.rst
+++ b/docs/devel/testing/functional.rst
@@ -65,6 +65,12 @@ to the QEMU binary that should be used for the test, for example::
$ export QEMU_TEST_QEMU_BINARY=$PWD/qemu-system-x86_64
$ python3 ../tests/functional/test_file.py
+The test framework will automatically purge any scratch files created during
+the tests. If needing to debug a failed test, it is possible to keep these
+files around on disk by setting ```QEMU_TEST_KEEP_SCRATCH=1``` as an env
+variable. Any preserved files will be deleted the next time the test is run
+without this variable set.
+
Overview
--------
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index 411978b5ef..b9418e2ac0 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -13,8 +13,9 @@
import logging
import os
-import subprocess
import pycotap
+import shutil
+import subprocess
import sys
import unittest
import uuid
@@ -40,11 +41,12 @@ def setUp(self, bin_prefix):
self.assertIsNotNone(self.qemu_bin, 'QEMU_TEST_QEMU_BINARY must be set')
self.arch = self.qemu_bin.split('-')[-1]
- self.workdir = os.path.join(BUILD_DIR, 'tests/functional', self.arch,
- self.id())
+ self.outputdir = os.path.join(BUILD_DIR, 'tests', 'functional',
+ self.arch, self.id())
+ self.workdir = os.path.join(self.outputdir, 'scratch')
os.makedirs(self.workdir, exist_ok=True)
- self.logdir = self.workdir
+ self.logdir = self.outputdir
self.log_filename = os.path.join(self.logdir, 'base.log')
self.log = logging.getLogger('qemu-test')
self.log.setLevel(logging.DEBUG)
@@ -56,6 +58,8 @@ def setUp(self, bin_prefix):
self.log.addHandler(self._log_fh)
def tearDown(self):
+ if "QEMU_TEST_KEEP_SCRATCH" not in os.environ:
+ shutil.rmtree(self.workdir)
self.log.removeHandler(self._log_fh)
def main():
@@ -108,7 +112,7 @@ def setUp(self):
console_log = logging.getLogger('console')
console_log.setLevel(logging.DEBUG)
- self.console_log_name = os.path.join(self.workdir, 'console.log')
+ self.console_log_name = os.path.join(self.logdir, 'console.log')
self._console_log_fh = logging.FileHandler(self.console_log_name,
mode='w')
self._console_log_fh.setLevel(logging.DEBUG)
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 03/39] tests/functional: remove "AVOCADO" from env variable name
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
2024-11-21 16:57 ` [PATCH 01/39] tests/functional: fix mips64el test to honour workdir Alex Bennée
2024-11-21 16:57 ` [PATCH 02/39] tests/functional: automatically clean up scratch files after tests Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 04/39] tests/functional: remove todo wrt avocado.utils.wait_for Alex Bennée
` (38 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
This env variable is a debugging flag to save screendumps in the
mips64el malta tests.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-4-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_mips64el_malta.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/functional/test_mips64el_malta.py b/tests/functional/test_mips64el_malta.py
index 24ebcdb9c1..6d1195d362 100755
--- a/tests/functional/test_mips64el_malta.py
+++ b/tests/functional/test_mips64el_malta.py
@@ -159,7 +159,7 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
loc = np.where(result >= match_threshold)
tuxlogo_count = 0
h, w = tuxlogo_bgr.shape[:2]
- debug_png = os.getenv('AVOCADO_CV2_SCREENDUMP_PNG_PATH')
+ debug_png = os.getenv('QEMU_TEST_CV2_SCREENDUMP_PNG_PATH')
for tuxlogo_count, pt in enumerate(zip(*loc[::-1]), start=1):
logger.debug('found Tux at position (x, y) = %s', pt)
cv2.rectangle(screendump_bgr, pt,
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 04/39] tests/functional: remove todo wrt avocado.utils.wait_for
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (2 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 03/39] tests/functional: remove "AVOCADO" from env variable name Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 05/39] tests/functional: remove leftover :avocado: tags Alex Bennée
` (37 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
We're not using avocado anymore, so while the TODO item is still
relevant, suggesting use of avocado.utils is not.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-5-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_m68k_nextcube.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/functional/test_m68k_nextcube.py b/tests/functional/test_m68k_nextcube.py
index 89385a134a..0124622c40 100755
--- a/tests/functional/test_m68k_nextcube.py
+++ b/tests/functional/test_m68k_nextcube.py
@@ -37,8 +37,7 @@ def check_bootrom_framebuffer(self, screenshot_path):
self.vm.launch()
self.log.info('VM launched, waiting for display')
- # TODO: Use avocado.utils.wait.wait_for to catch the
- # 'displaysurface_create 1120x832' trace-event.
+ # TODO: wait for the 'displaysurface_create 1120x832' trace-event.
time.sleep(2)
self.vm.cmd('human-monitor-command',
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 05/39] tests/functional: remove leftover :avocado: tags
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (3 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 04/39] tests/functional: remove todo wrt avocado.utils.wait_for Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 06/39] tests/functional: remove obsolete reference to avocado bug Alex Bennée
` (36 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
These tags are not honoured under the new functional test harness.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-6-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_arm_bpim2u.py | 20 --------------------
tests/functional/test_arm_orangepi.py | 27 ---------------------------
2 files changed, 47 deletions(-)
diff --git a/tests/functional/test_arm_bpim2u.py b/tests/functional/test_arm_bpim2u.py
index 2f9fa145e3..35ea58d46c 100755
--- a/tests/functional/test_arm_bpim2u.py
+++ b/tests/functional/test_arm_bpim2u.py
@@ -37,11 +37,6 @@ class BananaPiMachine(LinuxKernelTest):
'5b41b4e11423e562c6011640f9a7cd3bdd0a3d42b83430f7caa70a432e6cd82c')
def test_arm_bpim2u(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:bpim2u
- :avocado: tags=accel:tcg
- """
self.set_machine('bpim2u')
deb_path = self.ASSET_DEB.fetch()
kernel_path = self.extract_from_deb(deb_path,
@@ -64,11 +59,6 @@ def test_arm_bpim2u(self):
os.remove(dtb_path)
def test_arm_bpim2u_initrd(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=accel:tcg
- :avocado: tags=machine:bpim2u
- """
self.set_machine('bpim2u')
deb_path = self.ASSET_DEB.fetch()
kernel_path = self.extract_from_deb(deb_path,
@@ -105,11 +95,6 @@ def test_arm_bpim2u_initrd(self):
os.remove(initrd_path)
def test_arm_bpim2u_gmac(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:bpim2u
- :avocado: tags=device:sd
- """
self.set_machine('bpim2u')
self.require_netdev('user')
@@ -160,11 +145,6 @@ def test_arm_bpim2u_gmac(self):
@skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited')
def test_arm_bpim2u_openwrt_22_03_3(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:bpim2u
- :avocado: tags=device:sd
- """
self.set_machine('bpim2u')
# This test download a 8.9 MiB compressed image and expand it
# to 127 MiB.
diff --git a/tests/functional/test_arm_orangepi.py b/tests/functional/test_arm_orangepi.py
index d2ed5fcc82..6d57223a03 100755
--- a/tests/functional/test_arm_orangepi.py
+++ b/tests/functional/test_arm_orangepi.py
@@ -49,11 +49,6 @@ class BananaPiMachine(LinuxKernelTest):
'20d3e07dc057e15c12452620e90ecab2047f0f7940d9cba8182ebc795927177f')
def test_arm_orangepi(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:orangepi-pc
- :avocado: tags=accel:tcg
- """
self.set_machine('orangepi-pc')
deb_path = self.ASSET_DEB.fetch()
kernel_path = self.extract_from_deb(deb_path,
@@ -75,11 +70,6 @@ def test_arm_orangepi(self):
os.remove(dtb_path)
def test_arm_orangepi_initrd(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=accel:tcg
- :avocado: tags=machine:orangepi-pc
- """
self.set_machine('orangepi-pc')
deb_path = self.ASSET_DEB.fetch()
kernel_path = self.extract_from_deb(deb_path,
@@ -115,12 +105,6 @@ def test_arm_orangepi_initrd(self):
os.remove(initrd_path)
def test_arm_orangepi_sd(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=accel:tcg
- :avocado: tags=machine:orangepi-pc
- :avocado: tags=device:sd
- """
self.set_machine('orangepi-pc')
self.require_netdev('user')
deb_path = self.ASSET_DEB.fetch()
@@ -167,11 +151,6 @@ def test_arm_orangepi_sd(self):
@skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited')
def test_arm_orangepi_armbian(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:orangepi-pc
- :avocado: tags=device:sd
- """
self.set_machine('orangepi-pc')
# This test download a 275 MiB compressed image and expand it
# to 1036 MiB, but the underlying filesystem is 1552 MiB...
@@ -208,12 +187,6 @@ def test_arm_orangepi_armbian(self):
@skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited')
def test_arm_orangepi_uboot_netbsd9(self):
- """
- :avocado: tags=arch:arm
- :avocado: tags=machine:orangepi-pc
- :avocado: tags=device:sd
- :avocado: tags=os:netbsd
- """
self.set_machine('orangepi-pc')
# This test download a 304MB compressed image and expand it to 2GB
deb_path = self.ASSET_UBOOT.fetch()
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 06/39] tests/functional: remove obsolete reference to avocado bug
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (4 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 05/39] tests/functional: remove leftover :avocado: tags Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 07/39] tests/functional: remove comments talking about avocado Alex Bennée
` (35 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
Historical bugs in avocado related to zstd support are not relevant to
the code now that it uses QEMU's native test harness.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-7-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/tuxruntest.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/functional/qemu_test/tuxruntest.py b/tests/functional/qemu_test/tuxruntest.py
index f05aa96ad7..ed2b238c92 100644
--- a/tests/functional/qemu_test/tuxruntest.py
+++ b/tests/functional/qemu_test/tuxruntest.py
@@ -39,7 +39,6 @@ def setUp(self):
super().setUp()
# We need zstd for all the tuxrun tests
- # See https://github.com/avocado-framework/avocado/issues/5609
(has_zstd, msg) = has_cmd('zstd')
if has_zstd is False:
self.skipTest(msg)
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 07/39] tests/functional: remove comments talking about avocado
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (5 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 06/39] tests/functional: remove obsolete reference to avocado bug Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:03 ` Pierrick Bouvier
2024-11-21 16:57 ` [PATCH 08/39] tests/functional: honour self.workdir in ACPI bits tests Alex Bennée
` (34 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The first comment is still relevant but should talk about our own test
harness instead. The second comment adds no value over reading the code
and can be removed.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-8-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_acpi_bits.py | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/tests/functional/test_acpi_bits.py b/tests/functional/test_acpi_bits.py
index ee40647d5b..4c192d95cc 100755
--- a/tests/functional/test_acpi_bits.py
+++ b/tests/functional/test_acpi_bits.py
@@ -196,11 +196,12 @@ def copy_test_scripts(self):
for filename in os.listdir(bits_test_dir):
if os.path.isfile(os.path.join(bits_test_dir, filename)) and \
filename.endswith('.py2'):
- # all test scripts are named with extension .py2 so that
- # avocado does not try to load them. These scripts are
- # written for python 2.7 not python 3 and hence if avocado
- # loaded them, it would complain about python 3 specific
- # syntaxes.
+ # All test scripts are named with extension .py2 so that
+ # they are not run by accident.
+ #
+ # These scripts are intended to run inside the test VM
+ # and are written for python 2.7 not python 3, hence
+ # would cause syntax errors if loaded ouside the VM.
newfilename = os.path.splitext(filename)[0] + '.py'
shutil.copy2(os.path.join(bits_test_dir, filename),
os.path.join(target_test_dir, newfilename))
@@ -399,8 +400,6 @@ def test_acpi_smbios_bits(self):
# biosbits has been configured to run all the specified test suites
# in batch mode and then automatically initiate a vm shutdown.
- # Set timeout to BITS_TIMEOUT for SHUTDOWN event from bits VM at par
- # with the avocado test timeout.
self._vm.event_wait('SHUTDOWN', timeout=BITS_TIMEOUT)
self._vm.wait(timeout=None)
self.logger.debug("Checking console output ...")
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 08/39] tests/functional: honour self.workdir in ACPI bits tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (6 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 07/39] tests/functional: remove comments talking about avocado Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 09/39] tests/functional: put QEMUMachine logs in testcase log directory Alex Bennée
` (33 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The ACPI bits test sets up its own private temporary directory into it
creates scratch files. This is justified by a suggestion that we need
to be able to preserve the scratch files. We have the ability to
preserve the scratch dir with our functional harness, so there's no
reason to diverge from standard practice in file placement.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-9-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_acpi_bits.py | 44 +++++++++---------------------
1 file changed, 13 insertions(+), 31 deletions(-)
diff --git a/tests/functional/test_acpi_bits.py b/tests/functional/test_acpi_bits.py
index 4c192d95cc..3498b96787 100755
--- a/tests/functional/test_acpi_bits.py
+++ b/tests/functional/test_acpi_bits.py
@@ -150,7 +150,6 @@ class AcpiBitsTest(QemuBaseTest): #pylint: disable=too-many-instance-attributes
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._vm = None
- self._workDir = None
self._baseDir = None
self._debugcon_addr = '0x403'
@@ -169,7 +168,7 @@ def copy_bits_config(self):
config_file = 'bits-cfg.txt'
bits_config_dir = os.path.join(self._baseDir, 'acpi-bits',
'bits-config')
- target_config_dir = os.path.join(self._workDir,
+ target_config_dir = os.path.join(self.workdir,
'bits-%d' %self.BITS_INTERNAL_VER,
'boot')
self.assertTrue(os.path.exists(bits_config_dir))
@@ -186,7 +185,7 @@ def copy_test_scripts(self):
bits_test_dir = os.path.join(self._baseDir, 'acpi-bits',
'bits-tests')
- target_test_dir = os.path.join(self._workDir,
+ target_test_dir = os.path.join(self.workdir,
'bits-%d' %self.BITS_INTERNAL_VER,
'boot', 'python')
@@ -225,8 +224,8 @@ def fix_mkrescue(self, mkrescue):
the directory where we have extracted our pre-built bits grub
tarball.
"""
- grub_x86_64_mods = os.path.join(self._workDir, 'grub-inst-x86_64-efi')
- grub_i386_mods = os.path.join(self._workDir, 'grub-inst')
+ grub_x86_64_mods = os.path.join(self.workdir, 'grub-inst-x86_64-efi')
+ grub_i386_mods = os.path.join(self.workdir, 'grub-inst')
self.assertTrue(os.path.exists(grub_x86_64_mods))
self.assertTrue(os.path.exists(grub_i386_mods))
@@ -247,11 +246,11 @@ def generate_bits_iso(self):
""" Uses grub-mkrescue to generate a fresh bits iso with the python
test scripts
"""
- bits_dir = os.path.join(self._workDir,
+ bits_dir = os.path.join(self.workdir,
'bits-%d' %self.BITS_INTERNAL_VER)
- iso_file = os.path.join(self._workDir,
+ iso_file = os.path.join(self.workdir,
'bits-%d.iso' %self.BITS_INTERNAL_VER)
- mkrescue_script = os.path.join(self._workDir,
+ mkrescue_script = os.path.join(self.workdir,
'grub-inst-x86_64-efi', 'bin',
'grub-mkrescue')
@@ -290,17 +289,7 @@ def setUp(self): # pylint: disable=arguments-differ
self._baseDir = Path(__file__).parent
- # workdir could also be avocado's own workdir in self.workdir.
- # At present, I prefer to maintain my own temporary working
- # directory. It gives us more control over the generated bits
- # log files and also for debugging, we may chose not to remove
- # this working directory so that the logs and iso can be
- # inspected manually and archived if needed.
- self._workDir = tempfile.mkdtemp(prefix='acpi-bits-',
- suffix='.tmp')
- self.logger.info('working dir: %s', self._workDir)
-
- prebuiltDir = os.path.join(self._workDir, 'prebuilt')
+ prebuiltDir = os.path.join(self.workdir, 'prebuilt')
if not os.path.isdir(prebuiltDir):
os.mkdir(prebuiltDir, mode=0o775)
@@ -321,10 +310,10 @@ def setUp(self): # pylint: disable=arguments-differ
# extract the bits software in the temp working directory
with zipfile.ZipFile(bits_zip_file, 'r') as zref:
- zref.extractall(self._workDir)
+ zref.extractall(self.workdir)
with tarfile.open(grub_tar_file, 'r', encoding='utf-8') as tarball:
- tarball.extractall(self._workDir)
+ tarball.extractall(self.workdir)
self.copy_test_scripts()
self.copy_bits_config()
@@ -334,7 +323,7 @@ def parse_log(self):
"""parse the log generated by running bits tests and
check for failures.
"""
- debugconf = os.path.join(self._workDir, self._debugcon_log)
+ debugconf = os.path.join(self.workdir, self._debugcon_log)
log = ""
with open(debugconf, 'r', encoding='utf-8') as filehandle:
log = filehandle.read()
@@ -360,25 +349,18 @@ def tearDown(self):
"""
if self._vm:
self.assertFalse(not self._vm.is_running)
- if not os.getenv('BITS_DEBUG') and self._workDir:
- self.logger.info('removing the work directory %s', self._workDir)
- shutil.rmtree(self._workDir)
- else:
- self.logger.info('not removing the work directory %s ' \
- 'as BITS_DEBUG is ' \
- 'passed in the environment', self._workDir)
super().tearDown()
def test_acpi_smbios_bits(self):
"""The main test case implementation."""
- iso_file = os.path.join(self._workDir,
+ iso_file = os.path.join(self.workdir,
'bits-%d.iso' %self.BITS_INTERNAL_VER)
self.assertTrue(os.access(iso_file, os.R_OK))
self._vm = QEMUBitsMachine(binary=self.qemu_bin,
- base_temp_dir=self._workDir,
+ base_temp_dir=self.workdir,
debugcon_log=self._debugcon_log,
debugcon_addr=self._debugcon_addr)
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 09/39] tests/functional: put QEMUMachine logs in testcase log directory
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (7 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 08/39] tests/functional: honour self.workdir in ACPI bits tests Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 10/39] tests/functional: honour requested test VM name in QEMUMachine Alex Bennée
` (32 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
We are not passing the 'log_dir' parameter to QEMUMachine, so the
QEMU stdout/err logs are being placed in a temp directory and thus
deleted after execution. This makes them inaccessible as gitlab
CI artifacts.
Pass the testcase log directory path into QEMUMachine to make the
logs persistent.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-10-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/testcase.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index b9418e2ac0..ca13af244b 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -163,10 +163,11 @@ def require_device(self, devicename):
self.skipTest('no support for device ' + devicename)
def _new_vm(self, name, *args):
- vm = QEMUMachine(self.qemu_bin, base_temp_dir=self.workdir)
+ vm = QEMUMachine(self.qemu_bin,
+ base_temp_dir=self.workdir,
+ log_dir=self.logdir)
self.log.debug('QEMUMachine "%s" created', name)
self.log.debug('QEMUMachine "%s" temp_dir: %s', name, vm.temp_dir)
- self.log.debug('QEMUMachine "%s" log_dir: %s', name, vm.log_dir)
if args:
vm.add_args(*args)
return vm
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 10/39] tests/functional: honour requested test VM name in QEMUMachine
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (8 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 09/39] tests/functional: put QEMUMachine logs in testcase log directory Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine Alex Bennée
` (31 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The functional test case class is going to the trouble of passing
around a machine name, but then fails to give this QEMUMachine. As
a result, QEMUMachine will create a completely random name. Since
log file names match the machine name, this results in log files
accumulating over time.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-11-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/testcase.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index ca13af244b..f9c9de1166 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -164,6 +164,7 @@ def require_device(self, devicename):
def _new_vm(self, name, *args):
vm = QEMUMachine(self.qemu_bin,
+ name=name,
base_temp_dir=self.workdir,
log_dir=self.logdir)
self.log.debug('QEMUMachine "%s" created', name)
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (9 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 10/39] tests/functional: honour requested test VM name in QEMUMachine Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:02 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 12/39] tests/functional: logs details of console interaction operations Alex Bennée
` (30 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
Set the 'qemu.machine' logger to 'DEBUG' level, to ensure we see log
messages related to the QEMUMachine class. Most importantly this
ensures we capture the full QEMU command line args for instances we
spawn.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-12-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/testcase.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index f9c9de1166..e2a329c3e5 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -57,9 +57,15 @@ def setUp(self, bin_prefix):
self._log_fh.setFormatter(fileFormatter)
self.log.addHandler(self._log_fh)
+ # Capture QEMUMachine logging
+ self.machinelog = logging.getLogger('qemu.machine')
+ self.machinelog.setLevel(logging.DEBUG)
+ self.machinelog.addHandler(self._log_fh)
+
def tearDown(self):
if "QEMU_TEST_KEEP_SCRATCH" not in os.environ:
shutil.rmtree(self.workdir)
+ self.machinelog.removeHandler(self._log_fh)
self.log.removeHandler(self._log_fh)
def main():
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 12/39] tests/functional: logs details of console interaction operations
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (10 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:03 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 13/39] tests/functional: don't try to wait for the empty string Alex Bennée
` (29 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
When functional tests go wrong, it will often be related to the console
interaction wait state. By logging the messages that we're looking for,
and data we're about to be sending, it'll be easier to diagnose where
tests are getting stuck.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-13-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/cmd.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py
index cbabb1ceed..98722a9cf6 100644
--- a/tests/functional/qemu_test/cmd.py
+++ b/tests/functional/qemu_test/cmd.py
@@ -85,6 +85,9 @@ def _console_interaction(test, success_message, failure_message,
vm = test.vm
console = vm.console_file
console_logger = logging.getLogger('console')
+ test.log.debug(
+ f"Console interaction: success_msg='{success_message}' " +
+ f"failure_msg='{failure_message}' send_string='{send_string}'")
while True:
if send_string:
vm.console_socket.sendall(send_string.encode())
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 13/39] tests/functional: don't try to wait for the empty string
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (11 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 12/39] tests/functional: logs details of console interaction operations Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:04 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 14/39] tests/functional: require non-NULL success_message for console wait Alex Bennée
` (28 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
Telling exec_command_wand_wait_for_pattern to wait for the empty
string does not make any conceptual sense, as a check for empty
string will always succeed. It makes even less sense when followed
by a call to wait_for_console_pattern() with a real match.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-14-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_virtio_gpu.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/functional/test_virtio_gpu.py b/tests/functional/test_virtio_gpu.py
index 441cbdcf2d..d5027487ac 100755
--- a/tests/functional/test_virtio_gpu.py
+++ b/tests/functional/test_virtio_gpu.py
@@ -80,9 +80,8 @@ def test_virtio_vga_virgl(self):
self.wait_for_console_pattern("as init process")
exec_command_and_wait_for_pattern(
- self, "/usr/sbin/modprobe virtio_gpu", ""
+ self, "/usr/sbin/modprobe virtio_gpu", "features: +virgl +edid"
)
- self.wait_for_console_pattern("features: +virgl +edid")
def test_vhost_user_vga_virgl(self):
# FIXME: should check presence of vhost-user-gpu, virgl, memfd etc
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 14/39] tests/functional: require non-NULL success_message for console wait
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (12 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 13/39] tests/functional: don't try to wait for the empty string Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:24 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 15/39] tests/functional: rewrite console handling to be bytewise Alex Bennée
` (27 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
When waiting for expected output, the 'success_message' is a mandatory
parameter, with 'failure_message' defaulting to None.
The code has logic which indicates it was trying to cope with
'success_message' being None and 'failure_message' being non-None but
it does not appear able to actually do anything useful. The check for
'success_message is None' will break out of the loop before any check
for 'failure_message' has been performed.
IOW, for practcal purposes 'success_message' must be non-None unless
'send_string' is set. Assert this expectation and simplify the loop
logic.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-15-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/cmd.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py
index 98722a9cf6..f6c4e4dda1 100644
--- a/tests/functional/qemu_test/cmd.py
+++ b/tests/functional/qemu_test/cmd.py
@@ -81,6 +81,8 @@ def is_readable_executable_file(path):
def _console_interaction(test, success_message, failure_message,
send_string, keep_sending=False, vm=None):
assert not keep_sending or send_string
+ assert success_message or send_string
+
if vm is None:
vm = test.vm
console = vm.console_file
@@ -95,7 +97,7 @@ def _console_interaction(test, success_message, failure_message,
send_string = None # send only once
# Only consume console output if waiting for something
- if success_message is None and failure_message is None:
+ if success_message is None:
if send_string is None:
break
continue
@@ -107,7 +109,7 @@ def _console_interaction(test, success_message, failure_message,
if not msg:
continue
console_logger.debug(msg)
- if success_message is None or success_message in msg:
+ if success_message in msg:
break
if failure_message and failure_message in msg:
console.close()
@@ -138,6 +140,7 @@ def interrupt_interactive_console_until_pattern(test, success_message,
:param interrupt_string: a string to send to the console before trying
to read a new line
"""
+ assert success_message
_console_interaction(test, success_message, failure_message,
interrupt_string, True)
@@ -152,6 +155,7 @@ def wait_for_console_pattern(test, success_message, failure_message=None,
:param success_message: if this message appears, test succeeds
:param failure_message: if this message appears, test fails
"""
+ assert success_message
_console_interaction(test, success_message, failure_message, None, vm=vm)
def exec_command(test, command):
@@ -180,6 +184,7 @@ def exec_command_and_wait_for_pattern(test, command,
:param success_message: if this message appears, test succeeds
:param failure_message: if this message appears, test fails
"""
+ assert success_message
_console_interaction(test, success_message, failure_message, command + '\r')
def get_qemu_img(test):
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 15/39] tests/functional: rewrite console handling to be bytewise
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (13 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 14/39] tests/functional: require non-NULL success_message for console wait Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests Alex Bennée
` (26 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Cédric Le Goater
From: Daniel P. Berrangé <berrange@redhat.com>
The console interaction that waits for predicted strings uses
readline(), and thus is only capable of waiting for strings
that are followed by a newline.
This is inconvenient when needing to match on some things,
particularly login prompts, or shell prompts, causing tests
to use time.sleep(...) instead, which is unreliable.
Switch to reading the console 1 byte at a time, comparing
against the success/failure messages until we see a match,
regardless of whether a newline is encountered.
The success/failure comparisons are done with the python bytes
type, rather than strings, to avoid the problem of needing to
decode partially received multibyte utf8 characters.
Heavily inspired by a patch proposed by Cédric, but written
again to work in bytes, rather than strings.
Co-developed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-16-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/cmd.py | 79 +++++++++++++++++++++++++------
1 file changed, 64 insertions(+), 15 deletions(-)
diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py
index f6c4e4dda1..11c8334a7c 100644
--- a/tests/functional/qemu_test/cmd.py
+++ b/tests/functional/qemu_test/cmd.py
@@ -78,6 +78,54 @@ def run_cmd(args):
def is_readable_executable_file(path):
return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK)
+# @test: functional test to fail if @failure is seen
+# @vm: the VM whose console to process
+# @success: a non-None string to look for
+# @failure: a string to look for that triggers test failure, or None
+#
+# Read up to 1 line of text from @vm, looking for @success
+# and optionally @failure.
+#
+# If @success or @failure are seen, immediately return True,
+# even if end of line is not yet seen. ie remainder of the
+# line is left unread.
+#
+# If end of line is seen, with neither @success or @failure
+# return False
+#
+# If @failure is seen, then mark @test as failed
+def _console_read_line_until_match(test, vm, success, failure):
+ msg = bytes([])
+ done = False
+ while True:
+ c = vm.console_socket.recv(1)
+ if c is None:
+ done = True
+ test.fail(
+ f"EOF in console, expected '{success}'")
+ break
+ msg += c
+
+ if success in msg:
+ done = True
+ break
+ if failure and failure in msg:
+ done = True
+ vm.console_socket.close()
+ test.fail(
+ f"'{failure}' found in console, expected '{success}'")
+
+ if c == b'\n':
+ break
+
+ console_logger = logging.getLogger('console')
+ try:
+ console_logger.debug(msg.decode().strip())
+ except:
+ console_logger.debug(msg)
+
+ return done
+
def _console_interaction(test, success_message, failure_message,
send_string, keep_sending=False, vm=None):
assert not keep_sending or send_string
@@ -85,11 +133,22 @@ def _console_interaction(test, success_message, failure_message,
if vm is None:
vm = test.vm
- console = vm.console_file
- console_logger = logging.getLogger('console')
+
test.log.debug(
f"Console interaction: success_msg='{success_message}' " +
f"failure_msg='{failure_message}' send_string='{send_string}'")
+
+ # We'll process console in bytes, to avoid having to
+ # deal with unicode decode errors from receiving
+ # partial utf8 byte sequences
+ success_message_b = None
+ if success_message is not None:
+ success_message_b = success_message.encode()
+
+ failure_message_b = None
+ if failure_message is not None:
+ failure_message_b = failure_message.encode()
+
while True:
if send_string:
vm.console_socket.sendall(send_string.encode())
@@ -102,20 +161,10 @@ def _console_interaction(test, success_message, failure_message,
break
continue
- try:
- msg = console.readline().decode().strip()
- except UnicodeDecodeError:
- msg = None
- if not msg:
- continue
- console_logger.debug(msg)
- if success_message in msg:
+ if _console_read_line_until_match(test, vm,
+ success_message_b,
+ failure_message_b):
break
- if failure_message and failure_message in msg:
- console.close()
- fail = 'Failure message found in console: "%s". Expected: "%s"' % \
- (failure_message, success_message)
- test.fail(fail)
def interrupt_interactive_console_until_pattern(test, success_message,
failure_message=None,
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (14 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 15/39] tests/functional: rewrite console handling to be bytewise Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:39 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests Alex Bennée
` (25 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
The tuxrun tests send a series of strings to the guest to login
and then run commands. Since we have been unable to match on
console output that isn't followed by a newline, the test used
many time.sleep() statements to pretend to synchronize with
the guest.
This has proved to be unreliable for the aarch64be instance of
the tuxrun tests, with the test often hanging. The hang is a
very subtle timing problem, and it is suspected that some
(otherwise apparently harmless) I/O error messages could be
resulting in full FIFO buffers, stalling interaction with
the guest.
With the newly rewritten console interaction able to match
strings that don't have a following newline, the tux run
tests can now match directly on the login prompt, and/or
shell PS1 prompt.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2689
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-17-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/tuxruntest.py | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/tests/functional/qemu_test/tuxruntest.py b/tests/functional/qemu_test/tuxruntest.py
index ed2b238c92..ab3b27da43 100644
--- a/tests/functional/qemu_test/tuxruntest.py
+++ b/tests/functional/qemu_test/tuxruntest.py
@@ -124,16 +124,12 @@ def run_tuxtest_tests(self, haltmsg):
then do a few things on the console. Trigger a shutdown and
wait to exit cleanly.
"""
- self.wait_for_console_pattern("Welcome to TuxTest")
- time.sleep(0.2)
- exec_command(self, 'root')
- time.sleep(0.2)
- exec_command(self, 'cat /proc/interrupts')
- time.sleep(0.1)
- exec_command(self, 'cat /proc/self/maps')
- time.sleep(0.1)
- exec_command(self, 'uname -a')
- time.sleep(0.1)
+ ps1='root@tuxtest:~#'
+ self.wait_for_console_pattern('tuxtest login:')
+ exec_command_and_wait_for_pattern(self, 'root', ps1)
+ exec_command_and_wait_for_pattern(self, 'cat /proc/interrupts', ps1)
+ exec_command_and_wait_for_pattern(self, 'cat /proc/self/maps', ps1)
+ exec_command_and_wait_for_pattern(self, 'uname -a', ps1)
exec_command_and_wait_for_pattern(self, 'halt', haltmsg)
# Wait for VM to shut down gracefully if it can
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (15 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:41 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Alex Bennée
` (24 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
Support the QEMU_TEST_QMP_BACKDOOR=backdoor.sock env variable as a
way to get a QMP backdoor for debugging a stalled QEMU test. Most
typically this would be used if running the tests directly:
$ QEMU_TEST_QMP_BACKDOOR=backdoor.sock \
QEMU_TEST_QEMU_BINARY=./build/qemu-system-arm \
PYTHONPATH=./python \
./tests/functional/test_arm_tuxrun.py
And then, when the test stalls, in a second shell run:
$ ./scripts/qmp/qmp-shell backdoor.sock
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-18-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
docs/devel/testing/functional.rst | 10 ++++++++++
tests/functional/qemu_test/testcase.py | 7 +++++++
2 files changed, 17 insertions(+)
diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst
index 6b5d0c5b98..b8ad7b0bf7 100644
--- a/docs/devel/testing/functional.rst
+++ b/docs/devel/testing/functional.rst
@@ -176,6 +176,16 @@ primarily depend on the value of the ``qemu_bin`` class attribute.
If it is not explicitly set by the test code, its default value will
be the result the QEMU_TEST_QEMU_BINARY environment variable.
+Debugging hung QEMU
+^^^^^^^^^^^^^^^^^^^
+
+When test cases go wrong it may be helpful to debug a stalled QEMU
+process. While the QEMUMachine class owns the primary QMP monitor
+socket, it is possible to request a second QMP monitor be created
+by setting the ``QEMU_TEST_QMP_BACKDOOR`` env variable to refer
+to a UNIX socket name. The ``qmp-shell`` command can then be
+attached to the stalled QEMU to examine its live state.
+
Attribute reference
-------------------
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index e2a329c3e5..fceafb32b0 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -175,6 +175,13 @@ def _new_vm(self, name, *args):
log_dir=self.logdir)
self.log.debug('QEMUMachine "%s" created', name)
self.log.debug('QEMUMachine "%s" temp_dir: %s', name, vm.temp_dir)
+
+ sockpath = os.environ.get("QEMU_TEST_QMP_BACKDOOR", None)
+ if sockpath is not None:
+ vm.add_args("-chardev",
+ f"socket,id=backdoor,path={sockpath},server=on,wait=off",
+ "-mon", "chardev=backdoor,mode=control")
+
if args:
vm.add_args(*args)
return vm
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (16 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:19 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 19/39] tests/functional: Convert the Avocado aarch64 tuxrun tests Alex Bennée
` (23 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Daniel P. Berrangé <berrange@redhat.com>
If a failure occurs early in the QemuBaseTest constructor, the
'log_filename' object atttribute may not exist yet. This happens
most notably if the QEMU_TEST_QEMU_BINARY is not set. We can't
initialize 'log_filename' earlier as we use the binary to identify
the architecture which is then used to build the path in which the
logs are stored.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241121154218.1423005-19-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/qemu_test/testcase.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index fceafb32b0..90ae59eb54 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -81,10 +81,12 @@ def main():
res = unittest.main(module = None, testRunner = tr, exit = False,
argv=["__dummy__", path])
for (test, message) in res.result.errors + res.result.failures:
- print('More information on ' + test.id() + ' could be found here:'
- '\n %s' % test.log_filename, file=sys.stderr)
- if hasattr(test, 'console_log_name'):
- print(' %s' % test.console_log_name, file=sys.stderr)
+
+ if hasattr(test, "log_filename"):
+ print('More information on ' + test.id() + ' could be found here:'
+ '\n %s' % test.log_filename, file=sys.stderr)
+ if hasattr(test, 'console_log_name'):
+ print(' %s' % test.console_log_name, file=sys.stderr)
sys.exit(not res.result.wasSuccessful())
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 19/39] tests/functional: Convert the Avocado aarch64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (17 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 16:57 ` [PATCH 20/39] tests/functional: update the arm " Alex Bennée
` (22 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=true, Size: 12250 bytes --]
From: Thomas Huth <thuth@redhat.com>
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>
---
MAINTAINERS | 3 +-
tests/avocado/tuxrun_baselines.py | 224 ------------------------
tests/functional/meson.build | 2 +
tests/functional/test_aarch64_tuxrun.py | 50 ++++++
4 files changed, 54 insertions(+), 225 deletions(-)
delete mode 100644 tests/avocado/tuxrun_baselines.py
create mode 100755 tests/functional/test_aarch64_tuxrun.py
diff --git a/MAINTAINERS b/MAINTAINERS
index acc7405aed..eb7149bf1a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -994,6 +994,7 @@ F: hw/arm/virt*
F: include/hw/arm/virt.h
F: docs/system/arm/virt.rst
F: tests/functional/test_aarch64_virt.py
+F: tests/functional/test_aarch64_tuxrun.py
F: tests/functional/test_arm_tuxrun.py
Xilinx Zynq
@@ -4129,7 +4130,7 @@ F: scripts/ci/
F: tests/docker/
F: tests/vm/
F: tests/lcitool/
-F: tests/avocado/tuxrun_baselines.py
+F: tests/functional/test_*_tuxrun.py
F: scripts/archive-source.sh
F: docs/devel/testing.rst
W: https://gitlab.com/qemu-project/qemu/pipelines
diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py
deleted file mode 100644
index 38064840da..0000000000
--- a/tests/avocado/tuxrun_baselines.py
+++ /dev/null
@@ -1,224 +0,0 @@
-# Functional test that boots known good tuxboot images the same way
-# that tuxrun (www.tuxrun.org) does. This tool is used by things like
-# the LKFT project to run regression tests on kernels.
-#
-# Copyright (c) 2023 Linaro Ltd.
-#
-# Author:
-# Alex Bennée <alex.bennee@linaro.org>
-#
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-import os
-import time
-import tempfile
-
-from avocado import skip, skipUnless
-from avocado_qemu import QemuSystemTest
-from avocado_qemu import exec_command, exec_command_and_wait_for_pattern
-from avocado_qemu import wait_for_console_pattern
-from avocado.utils import process
-from avocado.utils.path import find_command
-
-class TuxRunBaselineTest(QemuSystemTest):
- """
- :avocado: tags=accel:tcg
- """
-
- KERNEL_COMMON_COMMAND_LINE = 'printk.time=0'
- # Tests are ~10-40s, allow for --debug/--enable-gcov overhead
- timeout = 100
-
- def get_tag(self, tagname, default=None):
- """
- Get the metadata tag or return the default.
- """
- utag = self._get_unique_tag_val(tagname)
- print(f"{tagname}/{default} -> {utag}")
- if utag:
- return utag
-
- return default
-
- def setUp(self):
- super().setUp()
-
- # We need zstd for all the tuxrun tests
- # See https://github.com/avocado-framework/avocado/issues/5609
- zstd = find_command('zstd', False)
- if zstd is False:
- self.cancel('Could not find "zstd", which is required to '
- 'decompress rootfs')
- self.zstd = zstd
-
- # Process the TuxRun specific tags, most machines work with
- # reasonable defaults but we sometimes need to tweak the
- # config. To avoid open coding everything we store all these
- # details in the metadata for each test.
-
- # The tuxboot tag matches the root directory
- self.tuxboot = self.get_tag('tuxboot')
-
- # Most Linux's use ttyS0 for their serial port
- self.console = self.get_tag('console', "ttyS0")
-
- # Does the machine shutdown QEMU nicely on "halt"
- self.shutdown = self.get_tag('shutdown')
-
- # The name of the kernel Image file
- self.image = self.get_tag('image', "Image")
-
- self.root = self.get_tag('root', "vda")
-
- # Occasionally we need extra devices to hook things up
- self.extradev = self.get_tag('extradev')
-
- self.qemu_img = super().get_qemu_img()
-
- def wait_for_console_pattern(self, success_message, vm=None):
- wait_for_console_pattern(self, success_message,
- failure_message='Kernel panic - not syncing',
- vm=vm)
-
- def fetch_tuxrun_assets(self, csums=None, dt=None):
- """
- Fetch the TuxBoot assets. They are stored in a standard way so we
- use the per-test tags to fetch details.
- """
- base_url = f"https://storage.tuxboot.com/20230331/{self.tuxboot}/"
-
- # empty hash if we weren't passed one
- csums = {} if csums is None else csums
- ksum = csums.get(self.image, None)
- isum = csums.get("rootfs.ext4.zst", None)
-
- kernel_image = self.fetch_asset(base_url + self.image,
- asset_hash = ksum,
- algorithm = "sha256")
- disk_image_zst = self.fetch_asset(base_url + "rootfs.ext4.zst",
- asset_hash = isum,
- algorithm = "sha256")
-
- cmd = f"{self.zstd} -d {disk_image_zst} -o {self.workdir}/rootfs.ext4"
- process.run(cmd)
-
- if dt:
- dsum = csums.get(dt, None)
- dtb = self.fetch_asset(base_url + dt,
- asset_hash = dsum,
- algorithm = "sha256")
- else:
- dtb = None
-
- return (kernel_image, self.workdir + "/rootfs.ext4", dtb)
-
- def prepare_run(self, kernel, disk, drive, dtb=None, console_index=0):
- """
- Setup to run and add the common parameters to the system
- """
- self.vm.set_console(console_index=console_index)
-
- # all block devices are raw ext4's
- blockdev = "driver=raw,file.driver=file," \
- + f"file.filename={disk},node-name=hd0"
-
- kcmd_line = self.KERNEL_COMMON_COMMAND_LINE
- kcmd_line += f" root=/dev/{self.root}"
- kcmd_line += f" console={self.console}"
-
- self.vm.add_args('-kernel', kernel,
- '-append', kcmd_line,
- '-blockdev', blockdev)
-
- # Sometimes we need extra devices attached
- if self.extradev:
- self.vm.add_args('-device', self.extradev)
-
- self.vm.add_args('-device',
- f"{drive},drive=hd0")
-
- # Some machines need an explicit DTB
- if dtb:
- self.vm.add_args('-dtb', dtb)
-
- def run_tuxtest_tests(self, haltmsg):
- """
- Wait for the system to boot up, wait for the login prompt and
- then do a few things on the console. Trigger a shutdown and
- wait to exit cleanly.
- """
- self.wait_for_console_pattern("Welcome to TuxTest")
- time.sleep(0.2)
- exec_command(self, 'root')
- time.sleep(0.2)
- exec_command(self, 'cat /proc/interrupts')
- time.sleep(0.1)
- exec_command(self, 'cat /proc/self/maps')
- time.sleep(0.1)
- exec_command(self, 'uname -a')
- time.sleep(0.1)
- exec_command_and_wait_for_pattern(self, 'halt', haltmsg)
-
- # Wait for VM to shut down gracefully if it can
- if self.shutdown == "nowait":
- self.vm.shutdown()
- else:
- self.vm.wait()
-
- def common_tuxrun(self,
- csums=None,
- dt=None,
- drive="virtio-blk-device",
- haltmsg="reboot: System halted",
- console_index=0):
- """
- Common path for LKFT tests. Unless we need to do something
- special with the command line we can process most things using
- the tag metadata.
- """
- (kernel, disk, dtb) = self.fetch_tuxrun_assets(csums, dt)
-
- self.prepare_run(kernel, disk, drive, dtb, console_index)
- self.vm.launch()
- self.run_tuxtest_tests(haltmsg)
-
-
- #
- # The tests themselves. The configuration is derived from how
- # tuxrun invokes qemu (with minor tweaks like using -blockdev
- # consistently). The tuxrun equivalent is something like:
- #
- # tuxrun --device qemu-{ARCH} \
- # --kernel https://storage.tuxboot.com/{TUXBOOT}/{IMAGE}
- #
-
- def test_arm64(self):
- """
- :avocado: tags=arch:aarch64
- :avocado: tags=cpu:cortex-a57
- :avocado: tags=machine:virt
- :avocado: tags=tuxboot:arm64
- :avocado: tags=console:ttyAMA0
- :avocado: tags=shutdown:nowait
- """
- sums = {"Image" :
- "ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7",
- "rootfs.ext4.zst" :
- "bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061"}
- self.common_tuxrun(csums=sums)
-
- def test_arm64be(self):
- """
- :avocado: tags=arch:aarch64
- :avocado: tags=cpu:cortex-a57
- :avocado: tags=endian:big
- :avocado: tags=machine:virt
- :avocado: tags=tuxboot:arm64be
- :avocado: tags=console:ttyAMA0
- :avocado: tags=shutdown:nowait
- """
- sums = { "Image" :
- "e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4",
- "rootfs.ext4.zst" :
- "e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7"}
- self.common_tuxrun(csums=sums)
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index 758145d1e5..923f9e7078 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -14,6 +14,7 @@ test_timeouts = {
'aarch64_raspi4' : 480,
'aarch64_sbsaref_alpine' : 720,
'aarch64_sbsaref_freebsd' : 720,
+ 'aarch64_tuxrun' : 240,
'aarch64_virt' : 720,
'acpi_bits' : 420,
'arm_aspeed' : 600,
@@ -52,6 +53,7 @@ tests_aarch64_system_thorough = [
'aarch64_sbsaref',
'aarch64_sbsaref_alpine',
'aarch64_sbsaref_freebsd',
+ 'aarch64_tuxrun',
'aarch64_virt',
'multiprocess',
]
diff --git a/tests/functional/test_aarch64_tuxrun.py b/tests/functional/test_aarch64_tuxrun.py
new file mode 100755
index 0000000000..da56aee4ed
--- /dev/null
+++ b/tests/functional/test_aarch64_tuxrun.py
@@ -0,0 +1,50 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots known good tuxboot images the same way
+# that tuxrun (www.tuxrun.org) does. This tool is used by things like
+# the LKFT project to run regression tests on kernels.
+#
+# Copyright (c) 2023 Linaro Ltd.
+#
+# Author:
+# Alex Bennée <alex.bennee@linaro.org>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from qemu_test.tuxruntest import TuxRunBaselineTest
+
+class TuxRunAarch64Test(TuxRunBaselineTest):
+
+ ASSET_ARM64_KERNEL = Asset(
+ 'https://storage.tuxboot.com/20230331/arm64/Image',
+ 'ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7')
+ ASSET_ARM64_ROOTFS = Asset(
+ 'https://storage.tuxboot.com/20230331/arm64/rootfs.ext4.zst',
+ 'bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061')
+
+ def test_arm64(self):
+ self.set_machine('virt')
+ self.cpu='cortex-a57'
+ self.console='ttyAMA0'
+ self.wait_for_shutdown=False
+ self.common_tuxrun(kernel_asset=self.ASSET_ARM64_KERNEL,
+ rootfs_asset=self.ASSET_ARM64_ROOTFS)
+
+ ASSET_ARM64BE_KERNEL = Asset(
+ 'https://storage.tuxboot.com/20230331/arm64be/Image',
+ 'e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4')
+ ASSET_ARM64BE_ROOTFS = Asset(
+ 'https://storage.tuxboot.com/20230331/arm64be/rootfs.ext4.zst',
+ 'e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7')
+
+ def test_arm64be(self):
+ self.set_machine('virt')
+ self.cpu='cortex-a57'
+ self.console='ttyAMA0'
+ self.wait_for_shutdown=False
+ self.common_tuxrun(kernel_asset=self.ASSET_ARM64BE_KERNEL,
+ rootfs_asset=self.ASSET_ARM64BE_ROOTFS)
+
+if __name__ == '__main__':
+ TuxRunBaselineTest.main()
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 20/39] tests/functional: update the arm tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (18 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 19/39] tests/functional: Convert the Avocado aarch64 tuxrun tests Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:22 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 21/39] tests/functional: update the aarch64 " Alex Bennée
` (21 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_arm_tuxrun.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/tests/functional/test_arm_tuxrun.py b/tests/functional/test_arm_tuxrun.py
index 944f0756e1..4ac85f48ac 100755
--- a/tests/functional/test_arm_tuxrun.py
+++ b/tests/functional/test_arm_tuxrun.py
@@ -17,14 +17,14 @@
class TuxRunArmTest(TuxRunBaselineTest):
ASSET_ARMV5_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/zImage',
- 'c95af2f27647c12265d75e9df44c22ff5228c59855f54aaa70f41ec2842e3a4d')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/zImage',
+ '3931a3908dbcf0ec0fe292d035ffc4dfed95f797dedd4a59ccfcf7a46e6f92d4')
ASSET_ARMV5_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/rootfs.ext4.zst',
- '17177afa74e7294da0642861f08c88ca3c836764299a54bf6d1ce276cb9712a5')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/rootfs.ext4.zst',
+ '60ff78b68c7021df378e4fc2d66d3b016484d1acc7e07fb8920c1d8e30f4571f')
ASSET_ARMV5_DTB = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/versatile-pb.dtb',
- '0bc0c0b0858cefd3c32b385c0d66d97142ded29472a496f4f490e42fc7615b25')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/versatile-pb.dtb',
+ '50988e69ef3f3b08bfb9146e8fe414129990029e8dfbed444953b7e14809530a')
def test_armv5(self):
self.set_machine('versatilepb')
@@ -37,11 +37,11 @@ def test_armv5(self):
drive="virtio-blk-pci")
ASSET_ARMV7_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv7/zImage',
- '4c7a22e9f15875bec06bd2a29d822496571eb297d4f22694099ffcdb19077572')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7/zImage',
+ '1377bc3d90de5ce57ab17cd67429fe8b15c2e9964248c775c682b67e6299b991')
ASSET_ARMV7_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv7/rootfs.ext4.zst',
- 'ab1fbbeaddda1ffdd45c9405a28cd5370c20f23a7cbc809cc90dc9f243a8eb5a')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7/rootfs.ext4.zst',
+ 'ed2cbc69bd6b3fbd5cafb5ee961393c7cfbe726446f14301c67d6b1f28bfdb51')
def test_armv7(self):
self.set_machine('virt')
@@ -52,11 +52,11 @@ def test_armv7(self):
rootfs_asset=self.ASSET_ARMV7_ROOTFS)
ASSET_ARMV7BE_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv7be/zImage',
- '7facc62082b57af12015b08f7fdbaf2f123ba07a478367853ae12b219afc9f2f')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7be/zImage',
+ 'a244e6da99f1bbd254827ec7681bd4aac9eb1aa05aaebc6b15e5d289ebb683f3')
ASSET_ARMV7BE_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv7be/rootfs.ext4.zst',
- '42ed46dd2d59986206c5b1f6cf35eab58fe3fd20c96b41aaa16b32f3f90a9835')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7be/rootfs.ext4.zst',
+ 'd4f9c57860a512163f30ecc69b2174d1a1bdeb853a43dc49a09cfcfe84e428ea')
def test_armv7be(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 21/39] tests/functional: update the aarch64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (19 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 20/39] tests/functional: update the arm " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:08 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 22/39] tests/functional: update the i386 " Alex Bennée
` (20 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
With the new rootfs the blk I/O errors also go away on arm64be.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_aarch64_tuxrun.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/functional/test_aarch64_tuxrun.py b/tests/functional/test_aarch64_tuxrun.py
index da56aee4ed..75adc8acb8 100755
--- a/tests/functional/test_aarch64_tuxrun.py
+++ b/tests/functional/test_aarch64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunAarch64Test(TuxRunBaselineTest):
ASSET_ARM64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/arm64/Image',
- 'ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7')
+ 'https://storage.tuxboot.com/buildroot/20241119/arm64/Image',
+ 'b74743c5e89e1cea0f73368d24ae0ae85c5204ff84be3b5e9610417417d2f235')
ASSET_ARM64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/arm64/rootfs.ext4.zst',
- 'bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061')
+ 'https://storage.tuxboot.com/buildroot/20241119/arm64/rootfs.ext4.zst',
+ 'a1acaaae2068df4648d04ff75f532aaa8c5edcd6b936122b6f0db4848a07b465')
def test_arm64(self):
self.set_machine('virt')
@@ -32,11 +32,11 @@ def test_arm64(self):
rootfs_asset=self.ASSET_ARM64_ROOTFS)
ASSET_ARM64BE_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/arm64be/Image',
- 'e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4')
+ 'https://storage.tuxboot.com/buildroot/20241119/arm64be/Image',
+ 'fd6af4f16689d17a2c24fe0053cc212edcdf77abdcaf301800b8d38fa9f6e109')
ASSET_ARM64BE_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/arm64be/rootfs.ext4.zst',
- 'e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7')
+ 'https://storage.tuxboot.com/buildroot/20241119/arm64be/rootfs.ext4.zst',
+ 'f5e9371b62701aab8dead52592ca7488c8a9e255c9be8d7635c7f30f477c2c21')
def test_arm64be(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 22/39] tests/functional: update the i386 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (20 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 21/39] tests/functional: update the aarch64 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 11:17 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 23/39] tests/functional: add a m68k " Alex Bennée
` (19 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_i386_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_i386_tuxrun.py b/tests/functional/test_i386_tuxrun.py
index c593ffbe8c..f3ccf11ae8 100755
--- a/tests/functional/test_i386_tuxrun.py
+++ b/tests/functional/test_i386_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunI386Test(TuxRunBaselineTest):
ASSET_I386_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/i386/bzImage',
- 'a3e5b32a354729e65910f5a1ffcda7c14a6c12a55e8213fb86e277f1b76ed956')
+ 'https://storage.tuxboot.com/buildroot/20241119/i386/bzImage',
+ '47fb44e38e34101eb0f71a2a01742b959d40ed5fd67cefb5608a39be11d3b74e')
ASSET_I386_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/i386/rootfs.ext4.zst',
- 'f15e66b2bf673a210ec2a4b2e744a80530b36289e04f5388aab812b97f69754a')
+ 'https://storage.tuxboot.com/buildroot/20241119/i386/rootfs.ext4.zst',
+ 'a1a3b3b4c9dccd6475b58db95c107b468b736b700f6620985a8ed050a73d51c8')
def test_i386(self):
self.set_machine('q35')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 23/39] tests/functional: add a m68k tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (21 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 22/39] tests/functional: update the i386 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-21 19:07 ` Thomas Huth
2024-11-22 10:16 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 24/39] tests/functional: update the mips32 " Alex Bennée
` (18 subsequent siblings)
41 siblings, 2 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Laurent Vivier, Anders Roxell
We didn't have this before and as it exercises the m68k virt platform
it seems worth adding. We don't wait for the shutdown because QEMU
will auto-exit on the shutdown.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Laurent Vivier <laurent@vivier.eu>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/meson.build | 1 +
tests/functional/test_m68k_tuxrun.py | 34 ++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 tests/functional/test_m68k_tuxrun.py
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index 923f9e7078..3ce969066c 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -95,6 +95,7 @@ tests_m68k_system_thorough = [
'm68k_mcf5208evb',
'm68k_nextcube',
'm68k_q800',
+ 'm68k_tuxrun',
]
tests_microblaze_system_thorough = [
diff --git a/tests/functional/test_m68k_tuxrun.py b/tests/functional/test_m68k_tuxrun.py
new file mode 100644
index 0000000000..7eacba135f
--- /dev/null
+++ b/tests/functional/test_m68k_tuxrun.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots known good tuxboot images the same way
+# that tuxrun (www.tuxrun.org) does. This tool is used by things like
+# the LKFT project to run regression tests on kernels.
+#
+# Copyright (c) 2024 Linaro Ltd.
+#
+# Author:
+# Alex Bennée <alex.bennee@linaro.org>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from qemu_test.tuxruntest import TuxRunBaselineTest
+
+class TuxRunM68KTest(TuxRunBaselineTest):
+
+ ASSET_M68K_KERNEL = Asset(
+ 'https://storage.tuxboot.com/buildroot/20241119/m68k/vmlinux',
+ '7754e1d5cec753ccf1dc6894729a7f54c1a4965631ebf56df8e4ce1163ad19d8')
+ ASSET_M68K_ROOTFS = Asset(
+ 'https://storage.tuxboot.com/buildroot/20241119/m68k/rootfs.ext4.zst',
+ '557962ffff265607912e82232cf21adbe0e4e5a88e1e1d411ce848c37f0213e9')
+
+ def test_m68k(self):
+ self.set_machine('virt')
+ self.cpu="m68040"
+ self.common_tuxrun(kernel_asset=self.ASSET_M68K_KERNEL,
+ rootfs_asset=self.ASSET_M68K_ROOTFS,
+ drive="virtio-blk-device")
+
+if __name__ == '__main__':
+ TuxRunBaselineTest.main()
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 24/39] tests/functional: update the mips32 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (22 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 23/39] tests/functional: add a m68k " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:08 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 25/39] tests/functional: update the mips32el " Alex Bennée
` (17 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_mips_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips_tuxrun.py b/tests/functional/test_mips_tuxrun.py
index 6fec44c2bf..6771dbd57e 100755
--- a/tests/functional/test_mips_tuxrun.py
+++ b/tests/functional/test_mips_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMipsTest(TuxRunBaselineTest):
ASSET_MIPS_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips32/vmlinux',
- 'bfd2172f8b17fb32970ca0c8c58f59c5a4ca38aa5855d920be3a69b5d16e52f0')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32/vmlinux',
+ 'b6f97fc698ae8c96456ad8c996c7454228074df0d7520dedd0a15e2913700a19')
ASSET_MIPS_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips32/rootfs.ext4.zst',
- 'fc3da0b4c2f38d74c6d705123bb0f633c76ed953128f9d0859378c328a6d11a0')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32/rootfs.ext4.zst',
+ '87055cf3cbde3fd134e5039e7b87feb03231d8c4b21ee712b8ba3308dfa72f50')
def test_mips32(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 25/39] tests/functional: update the mips32el tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (23 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 24/39] tests/functional: update the mips32 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:09 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 26/39] tests/functional: update the mips64 " Alex Bennée
` (16 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_mipsel_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mipsel_tuxrun.py b/tests/functional/test_mipsel_tuxrun.py
index 2965bbd913..d4b39baab5 100755
--- a/tests/functional/test_mipsel_tuxrun.py
+++ b/tests/functional/test_mipsel_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMipsELTest(TuxRunBaselineTest):
ASSET_MIPSEL_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips32el/vmlinux',
- '8573867c68a8443db8de6d08bb33fb291c189ca2ca671471d3973a3e712096a3')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32el/vmlinux',
+ '660dd8c7a6ca7a32d37b4e6348865532ab0edb66802e8cc07869338444cf4929')
ASSET_MIPSEL_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips32el/rootfs.ext4.zst',
- 'e799768e289fd69209c21f4dacffa11baea7543d5db101e8ce27e3bc2c41d90e')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32el/rootfs.ext4.zst',
+ 'c5d69542bcaed54a4f34671671eb4be5c608ee02671d4d0436544367816a73b1')
def test_mips32el(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 26/39] tests/functional: update the mips64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (24 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 25/39] tests/functional: update the mips32el " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:09 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 27/39] tests/functional: update the mips64el " Alex Bennée
` (15 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_mips64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips64_tuxrun.py b/tests/functional/test_mips64_tuxrun.py
index 54af1ae794..0e4c65961d 100755
--- a/tests/functional/test_mips64_tuxrun.py
+++ b/tests/functional/test_mips64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMips64Test(TuxRunBaselineTest):
ASSET_MIPS64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips64/vmlinux',
- '09010e51e4b8bcbbd2494786ffb48eca78f228e96e5c5438344b0eac4029dc61')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64/vmlinux',
+ 'fe2882d216898ba2c56b49ba59f46ad392f36871f7fe325373cd926848b9dbdc')
ASSET_MIPS64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips64/rootfs.ext4.zst',
- '69d91eeb04df3d8d172922c6993bb37d4deeb6496def75d8580f6f9de3e431da')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64/rootfs.ext4.zst',
+ 'b8c98400216b6d4fb3b3ff05e9929aa015948b596cf0b82234813c84a4f7f4d5')
def test_mips64(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 27/39] tests/functional: update the mips64el tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (25 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 26/39] tests/functional: update the mips64 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:11 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 28/39] tests/functional: update the ppc32 " Alex Bennée
` (14 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_mips64el_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips64el_tuxrun.py b/tests/functional/test_mips64el_tuxrun.py
index 819549a27b..0a24757c51 100755
--- a/tests/functional/test_mips64el_tuxrun.py
+++ b/tests/functional/test_mips64el_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMips64ELTest(TuxRunBaselineTest):
ASSET_MIPS64EL_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips64el/vmlinux',
- 'd4e08965e2155c4cccce7c5f34d18fe34c636cda2f2c9844387d614950155266')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64el/vmlinux',
+ '0d2829a96f005229839c4cd586d4d8a136ea4b488d29821611c8e97f2266bfa9')
ASSET_MIPS64EL_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips64el/rootfs.ext4.zst',
- 'fba585368f5915b1498ed081863474b2d7ec4e97cdd46d21bdcb2f9698f83de4')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64el/rootfs.ext4.zst',
+ '69c8b69a4f1582ce4c6f01a994968f5d73bffb2fc99cbeeeb26c8b5a28eaeb84')
def test_mips64el(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 28/39] tests/functional: update the ppc32 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (26 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 27/39] tests/functional: update the mips64el " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:42 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 29/39] tests/functional: update the ppc64 " Alex Bennée
` (13 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_ppc_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_ppc_tuxrun.py b/tests/functional/test_ppc_tuxrun.py
index 50b76946c4..5458a7fb71 100755
--- a/tests/functional/test_ppc_tuxrun.py
+++ b/tests/functional/test_ppc_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunPPC32Test(TuxRunBaselineTest):
ASSET_PPC32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc32/uImage',
- '1a68f74b860fda022fb12e03c5efece8c2b8b590d96cca37a8481a3ae0b3f81f')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc32/uImage',
+ 'aa5d81deabdb255a318c4bc5ffd6fdd2b5da1ef39f1955dcc35b671d258b68e9')
ASSET_PPC32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc32/rootfs.ext4.zst',
- '8885b9d999cc24d679542a02e9b6aaf48f718f2050ece6b8347074b6ee41dd09')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc32/rootfs.ext4.zst',
+ '67554f830269d6bf53b67c7dd206bcc821e463993d526b1644066fea8117019b')
def test_ppc32(self):
self.set_machine('ppce500')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 29/39] tests/functional: update the ppc64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (27 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 28/39] tests/functional: update the ppc32 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 9:52 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 30/39] tests/functional: update the riscv32 " Alex Bennée
` (12 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_ppc64_tuxrun.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/functional/test_ppc64_tuxrun.py b/tests/functional/test_ppc64_tuxrun.py
index 03b47e07f2..aee67f5e90 100755
--- a/tests/functional/test_ppc64_tuxrun.py
+++ b/tests/functional/test_ppc64_tuxrun.py
@@ -82,11 +82,11 @@ def ppc64_common_tuxrun(self, kernel_asset, rootfs_asset, prefix):
drive="scsi-hd")
ASSET_PPC64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64/vmlinux',
- 'f22a9b9e924174a4c199f4c7e5d91a2339fcfe51c6eafd0907dc3e09b64ab728')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64/vmlinux',
+ '8219d5cb26e7654ad7826fe8aee6290f7c01eef44f2cd6d26c15fe8f99e1c17c')
ASSET_PPC64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64/rootfs.ext4.zst',
- '1d953e81a4379e537fc8e41e05a0a59d9b453eef97aa03d47866c6c45b00bdff')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64/rootfs.ext4.zst',
+ 'b68e12314303c5dd0fef37ae98021299a206085ae591893e73557af99a02d373')
def test_ppc64(self):
self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64_KERNEL,
@@ -94,11 +94,11 @@ def test_ppc64(self):
prefix='tuxrun_ppc64_')
ASSET_PPC64LE_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64le/vmlinux',
- '979eb61b445a010fb13e2b927126991f8ceef9c590fa2be0996c00e293e80cf2')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/vmlinux',
+ '21aea1fbc18bf6fa7d8ca4ea48d4940b2c8363c077acd564eb47d769b7495279')
ASSET_PPC64LE_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64le/rootfs.ext4.zst',
- 'b442678c93fb8abe1f7d3bfa20556488de6b475c22c8fed363f42cf81a0a3906')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/rootfs.ext4.zst',
+ '67d36a3f9597b738e8b7359bdf04500f4d9bb82fc35eaa65aa439d888b2392f4')
def test_ppc64le(self):
self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64LE_KERNEL,
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 30/39] tests/functional: update the riscv32 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (28 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 29/39] tests/functional: update the ppc64 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 10:58 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 31/39] tests/functional: update the riscv64 " Alex Bennée
` (11 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_riscv32_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_riscv32_tuxrun.py b/tests/functional/test_riscv32_tuxrun.py
index 49b57cd428..3c570208d0 100755
--- a/tests/functional/test_riscv32_tuxrun.py
+++ b/tests/functional/test_riscv32_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunRiscV32Test(TuxRunBaselineTest):
ASSET_RISCV32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/Image',
- '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image',
+ '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329')
ASSET_RISCV32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst',
- '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst',
+ '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6')
def test_riscv32(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 31/39] tests/functional: update the riscv64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (29 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 30/39] tests/functional: update the riscv32 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 11:02 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 32/39] tests/functional: update the s390x " Alex Bennée
` (10 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Note we re-use the riscv32 kernel and rootfs for test_riscv64_rv32.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_riscv64_tuxrun.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/functional/test_riscv64_tuxrun.py b/tests/functional/test_riscv64_tuxrun.py
index 4e2449539c..0d8de36204 100755
--- a/tests/functional/test_riscv64_tuxrun.py
+++ b/tests/functional/test_riscv64_tuxrun.py
@@ -17,18 +17,18 @@
class TuxRunRiscV64Test(TuxRunBaselineTest):
ASSET_RISCV64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv64/Image',
- 'cd634badc65e52fb63465ec99e309c0de0369f0841b7d9486f9729e119bac25e')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv64/Image',
+ '2bd8132a3bf21570290042324fff48c987f42f2a00c08de979f43f0662ebadba')
ASSET_RISCV64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv64/rootfs.ext4.zst',
- 'b18e3a3bdf27be03da0b285e84cb71bf09eca071c3a087b42884b6982ed679eb')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv64/rootfs.ext4.zst',
+ 'aa4736a9872651dfc0d95e709465eedf1134fd19d42b8cb305bfd776f9801004')
ASSET_RISCV32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/Image',
- '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image',
+ '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329')
ASSET_RISCV32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst',
- '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst',
+ '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6')
def test_riscv64(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 32/39] tests/functional: update the s390x tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (30 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 31/39] tests/functional: update the riscv64 " Alex Bennée
@ 2024-11-21 16:57 ` Alex Bennée
2024-11-22 11:00 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 33/39] tests/functional: update the sparc64 " Alex Bennée
` (9 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:57 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_s390x_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_s390x_tuxrun.py b/tests/functional/test_s390x_tuxrun.py
index dcab17c68b..a7db4bfd84 100755
--- a/tests/functional/test_s390x_tuxrun.py
+++ b/tests/functional/test_s390x_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunS390xTest(TuxRunBaselineTest):
ASSET_S390X_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/s390/bzImage',
- '0414e98dd1c3dafff8496c9cd9c28a5f8d04553bb5ba37e906a812b48d442ef0')
+ 'https://storage.tuxboot.com/buildroot/20241119/s390/bzImage',
+ 'ee67e91db52a2aed104a7c72b2a08987c678f8179c029626789c35d6dd0fedf1')
ASSET_S390X_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/s390/rootfs.ext4.zst',
- '88c37c32276677f873a25ab9ec6247895b8e3e6f8259134de2a616080b8ab3fc')
+ 'https://storage.tuxboot.com/buildroot/20241119/s390/rootfs.ext4.zst',
+ 'bff7971fc2fef56372d98afe4557b82fd0a785a241e44c29b058e577ad1bbb44')
def test_s390(self):
self.wait_for_shutdown=False
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 33/39] tests/functional: update the sparc64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (31 preceding siblings ...)
2024-11-21 16:57 ` [PATCH 32/39] tests/functional: update the s390x " Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-22 11:02 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 34/39] tests/functional: update the x86_64 " Alex Bennée
` (8 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_sparc64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_sparc64_tuxrun.py b/tests/functional/test_sparc64_tuxrun.py
index 1c2c005630..3be08d6102 100755
--- a/tests/functional/test_sparc64_tuxrun.py
+++ b/tests/functional/test_sparc64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunSparc64Test(TuxRunBaselineTest):
ASSET_SPARC64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/sparc64/vmlinux',
- 'e34313e4325ff21deaa3d38a502aa09a373ef62b9bd4d7f8f29388b688225c55')
+ 'https://storage.tuxboot.com/buildroot/20241119/sparc64/vmlinux',
+ 'a04cfb2e70a264051d161fdd93aabf4b2a9472f2e435c14ed18c5848c5fed261')
ASSET_SPARC64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/sparc64/rootfs.ext4.zst',
- 'ad2f1dc436ab51583543d25d2c210cab478645d47078d30d129a66ab0e281d76')
+ 'https://storage.tuxboot.com/buildroot/20241119/sparc64/rootfs.ext4.zst',
+ '479c3dc104c82b68be55e2c0c5c38cd473d0b37ad4badccde4775bb88ce34611')
def test_sparc64(self):
self.root='sda'
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 34/39] tests/functional: update the x86_64 tuxrun tests
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (32 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 33/39] tests/functional: update the sparc64 " Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-22 11:15 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus Alex Bennée
` (7 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Anders Roxell
Now there are new upto date images available we should update to them.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Anders Roxell <anders.roxell@linaro.org>
---
tests/functional/test_x86_64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_x86_64_tuxrun.py b/tests/functional/test_x86_64_tuxrun.py
index 4f96139871..fcbc62b1b0 100755
--- a/tests/functional/test_x86_64_tuxrun.py
+++ b/tests/functional/test_x86_64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunX86Test(TuxRunBaselineTest):
ASSET_X86_64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/x86_64/bzImage',
- '2bc7480a669ee9b6b82500a236aba0c54233debe98cb968268fa230f52f03461')
+ 'https://storage.tuxboot.com/buildroot/20241119/x86_64/bzImage',
+ 'f57bfc6553bcd6e0a54aab86095bf642b33b5571d14e3af1731b18c87ed5aef8')
ASSET_X86_64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/x86_64/rootfs.ext4.zst',
- 'b72ac729769b8f51c6dffb221113c9a063c774dbe1d66af30eb593c4e9999b4b')
+ 'https://storage.tuxboot.com/buildroot/20241119/x86_64/rootfs.ext4.zst',
+ '4b8b2a99117519c5290e1202cb36eb6c7aaba92b357b5160f5970cf5fb78a751')
def test_x86_64(self):
self.set_machine('q35')
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (33 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 34/39] tests/functional: update the x86_64 " Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-22 19:31 ` Richard Henderson
2024-11-21 16:58 ` [PATCH 36/39] plugins: detect qemu plugin API symbols from header Alex Bennée
` (6 subsequent siblings)
41 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241112212622.3590693-2-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
include/qemu/qemu-plugin.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 622c9a0232..0fba36ae02 100644
--- a/include/qemu/qemu-plugin.h
+++ b/include/qemu/qemu-plugin.h
@@ -803,6 +803,7 @@ void qemu_plugin_register_atexit_cb(qemu_plugin_id_t id,
qemu_plugin_udata_cb_t cb, void *userdata);
/* returns how many vcpus were started at this point */
+QEMU_PLUGIN_API
int qemu_plugin_num_vcpus(void);
/**
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 36/39] plugins: detect qemu plugin API symbols from header
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (34 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-21 16:58 ` [PATCH 37/39] plugins: eradicate qemu-plugins.symbols static file Alex Bennée
` (5 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Instead of using a static file (error prone and hard to keep in sync),
we generate it using a script.
Note: if a symbol is not exported, we'll now notice it when linking for
Windows/MacOS platforms.
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241112212622.3590693-3-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
MAINTAINERS | 1 +
plugins/meson.build | 12 ++++++---
scripts/qemu-plugin-symbols.py | 45 ++++++++++++++++++++++++++++++++++
3 files changed, 55 insertions(+), 3 deletions(-)
create mode 100755 scripts/qemu-plugin-symbols.py
diff --git a/MAINTAINERS b/MAINTAINERS
index eb7149bf1a..2b1c4abed6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3752,6 +3752,7 @@ F: plugins/
F: tests/tcg/plugins/
F: tests/functional/test_aarch64_tcg_plugins.py
F: contrib/plugins/
+F: scripts/qemu-plugin-symbols.py
AArch64 TCG target
M: Richard Henderson <richard.henderson@linaro.org>
diff --git a/plugins/meson.build b/plugins/meson.build
index 1cc039d29b..98542e926f 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -2,17 +2,23 @@ if not get_option('plugins')
subdir_done()
endif
+qemu_plugin_symbols = configure_file(
+ input: files('../include/qemu/qemu-plugin.h'),
+ output: 'qemu-plugin.symbols',
+ capture: true,
+ command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@'])
+
# Modules need more symbols than just those in plugins/qemu-plugins.symbols
if not enable_modules
if host_os == 'darwin'
configure_file(
- input: files('qemu-plugins.symbols'),
+ input: qemu_plugin_symbols,
output: 'qemu-plugins-ld64.symbols',
capture: true,
command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@'])
emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols']
else
- emulator_link_args += ['-Xlinker', '--dynamic-list=' + (meson.project_source_root() / 'plugins/qemu-plugins.symbols')]
+ emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()]
endif
endif
@@ -23,7 +29,7 @@ if host_os == 'windows'
# First, create a .def file listing all the symbols a plugin should expect to have
# available in qemu
win32_plugin_def = configure_file(
- input: files('qemu-plugins.symbols'),
+ input: qemu_plugin_symbols,
output: 'qemu_plugin_api.def',
capture: true,
command: ['sed', '-e', '0,/^/s//EXPORTS/; s/[{};]//g', '@INPUT@'])
diff --git a/scripts/qemu-plugin-symbols.py b/scripts/qemu-plugin-symbols.py
new file mode 100755
index 0000000000..e285ebb8f9
--- /dev/null
+++ b/scripts/qemu-plugin-symbols.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# Extract QEMU Plugin API symbols from a header file
+#
+# Copyright 2024 Linaro Ltd
+#
+# Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
+#
+# This work is licensed under the terms of the GNU GPL, version 2 or later.
+# See the COPYING file in the top-level directory.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import argparse
+import re
+
+def extract_symbols(plugin_header):
+ with open(plugin_header) as file:
+ content = file.read()
+ # Remove QEMU_PLUGIN_API macro definition.
+ content = content.replace('#define QEMU_PLUGIN_API', '')
+ expected = content.count('QEMU_PLUGIN_API')
+ # Find last word between QEMU_PLUGIN_API and (, matching on several lines.
+ # We use *? non-greedy quantifier.
+ syms = re.findall(r'QEMU_PLUGIN_API.*?(\w+)\s*\(', content, re.DOTALL)
+ syms.sort()
+ # Ensure we found as many symbols as API markers.
+ assert len(syms) == expected
+ return syms
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description='Extract QEMU plugin symbols')
+ parser.add_argument('plugin_header', help='Path to QEMU plugin header.')
+ args = parser.parse_args()
+
+ syms = extract_symbols(args.plugin_header)
+
+ print('{')
+ for s in syms:
+ print(" {};".format(s))
+ print('};')
+
+if __name__ == '__main__':
+ main()
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 37/39] plugins: eradicate qemu-plugins.symbols static file
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (35 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 36/39] plugins: detect qemu plugin API symbols from header Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-21 16:58 ` [PATCH 38/39] rust/pl011: Fix range checks for device ID accesses Alex Bennée
` (4 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241112212622.3590693-4-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
plugins/qemu-plugins.symbols | 59 ------------------------------------
1 file changed, 59 deletions(-)
delete mode 100644 plugins/qemu-plugins.symbols
diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols
deleted file mode 100644
index 032661f9ea..0000000000
--- a/plugins/qemu-plugins.symbols
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- qemu_plugin_bool_parse;
- qemu_plugin_end_code;
- qemu_plugin_entry_code;
- qemu_plugin_get_hwaddr;
- qemu_plugin_get_registers;
- qemu_plugin_hwaddr_device_name;
- qemu_plugin_hwaddr_is_io;
- qemu_plugin_hwaddr_phys_addr;
- qemu_plugin_insn_data;
- qemu_plugin_insn_disas;
- qemu_plugin_insn_haddr;
- qemu_plugin_insn_size;
- qemu_plugin_insn_symbol;
- qemu_plugin_insn_vaddr;
- qemu_plugin_mem_get_value;
- qemu_plugin_mem_is_big_endian;
- qemu_plugin_mem_is_sign_extended;
- qemu_plugin_mem_is_store;
- qemu_plugin_mem_size_shift;
- qemu_plugin_num_vcpus;
- qemu_plugin_outs;
- qemu_plugin_path_to_binary;
- qemu_plugin_read_memory_vaddr;
- qemu_plugin_read_register;
- qemu_plugin_register_atexit_cb;
- qemu_plugin_register_flush_cb;
- qemu_plugin_register_vcpu_exit_cb;
- qemu_plugin_register_vcpu_idle_cb;
- qemu_plugin_register_vcpu_init_cb;
- qemu_plugin_register_vcpu_insn_exec_cb;
- qemu_plugin_register_vcpu_insn_exec_cond_cb;
- qemu_plugin_register_vcpu_insn_exec_inline_per_vcpu;
- qemu_plugin_register_vcpu_mem_cb;
- qemu_plugin_register_vcpu_mem_inline_per_vcpu;
- qemu_plugin_register_vcpu_resume_cb;
- qemu_plugin_register_vcpu_syscall_cb;
- qemu_plugin_register_vcpu_syscall_ret_cb;
- qemu_plugin_register_vcpu_tb_exec_cb;
- qemu_plugin_register_vcpu_tb_exec_cond_cb;
- qemu_plugin_register_vcpu_tb_exec_inline_per_vcpu;
- qemu_plugin_register_vcpu_tb_trans_cb;
- qemu_plugin_request_time_control;
- qemu_plugin_reset;
- qemu_plugin_scoreboard_free;
- qemu_plugin_scoreboard_find;
- qemu_plugin_scoreboard_new;
- qemu_plugin_start_code;
- qemu_plugin_tb_get_insn;
- qemu_plugin_tb_n_insns;
- qemu_plugin_tb_vaddr;
- qemu_plugin_u64_add;
- qemu_plugin_u64_get;
- qemu_plugin_u64_set;
- qemu_plugin_u64_sum;
- qemu_plugin_uninstall;
- qemu_plugin_update_ns;
- qemu_plugin_vcpu_for_each;
-};
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 38/39] rust/pl011: Fix range checks for device ID accesses
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (36 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 37/39] plugins: eradicate qemu-plugins.symbols static file Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-21 16:58 ` [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Alex Bennée
` (3 subsequent siblings)
41 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Junjie Mao, Manos Pitsidianakis
From: Junjie Mao <junjie.mao@hotmail.com>
The peripheral and PrimeCell identification registers of pl011 are located at
offset 0xFE0 - 0xFFC. To check if a read falls to such registers, the C
implementation checks if the offset-shifted-by-2 (not the offset itself) is in
the range 0x3F8 - 0x3FF.
Use the same check in the Rust implementation.
This fixes the timeout of the following avocado tests:
* tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_virt
* tests/avocado/replay_kernel.py:ReplayKernelNormal.test_arm_virt
* tests/avocado/replay_kernel.py:ReplayKernelNormal.test_arm_vexpressa9
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <SY0P300MB102644C4AC34A3AAD75DC4D5955C2@SY0P300MB1026.AUSP300.PROD.OUTLOOK.COM>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
rust/hw/char/pl011/src/device.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/device.rs
index 2a85960b81..476cacc844 100644
--- a/rust/hw/char/pl011/src/device.rs
+++ b/rust/hw/char/pl011/src/device.rs
@@ -182,7 +182,7 @@ pub fn read(&mut self, offset: hwaddr, _size: c_uint) -> std::ops::ControlFlow<u
use RegisterOffset::*;
std::ops::ControlFlow::Break(match RegisterOffset::try_from(offset) {
- Err(v) if (0x3f8..0x400).contains(&v) => {
+ Err(v) if (0x3f8..0x400).contains(&(v >> 2)) => {
u64::from(self.device_id[(offset - 0xfe0) >> 2])
}
Err(_) => {
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (37 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 38/39] rust/pl011: Fix range checks for device ID accesses Alex Bennée
@ 2024-11-21 16:58 ` Alex Bennée
2024-11-26 4:55 ` Ani Sinha
2024-11-26 21:27 ` Michael S. Tsirkin
2024-11-21 17:19 ` [PATCH 00/39] maintainer updates for -rc2 pre-PR Peter Maydell
` (2 subsequent siblings)
41 siblings, 2 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 16:58 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, Alex Bennée,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Stefan Hajnoczi, Richard Henderson
From: Daniel P. Berrangé <berrange@redhat.com>
The docs for submitting a patch describe using your "Real Name" with
the Signed-off-by line. Although somewhat ambiguous, this has often
been interpreted to mean someone's legal name.
In recent times, there's been a general push back[1] against the notion
that use of Signed-off-by in a project automatically requires / implies
the use of legal ("real") names and greater awareness of the downsides.
Full discussion of the problems of such policies is beyond the scope of
this commit message, but at a high level they are liable to marginalize,
disadvantage, and potentially result in harm, to contributors.
TL;DR: there are compelling reasons for a person to choose distinct
identities in different contexts & a decision to override that choice
should not be taken lightly.
A number of key projects have responded to the issues raised by making
it clear that a contributor is free to determine the identity used in
SoB lines:
* Linux has clarified[2] that they merely expect use of the
contributor's "known identity", removing the previous explicit
rejection of pseudonyms.
* CNCF has clarified[3] that the real name is simply the identity
the contributor chooses to use in the context of the community
and does not have to be a legal name, nor birth name, nor appear
on any government ID.
Since we have no intention of ever routinely checking any form of ID
documents for contributors[4], realistically we have no way of knowing
anything about the name they are using, except through chance, or
through the contributor volunteering the information. IOW, we almost
certainly already have people using pseudonyms for contributions.
This proposes to accept that reality and eliminate unnecessary friction,
by following Linux & the CNCF in merely asking that a contributors'
commonly known identity, of their choosing, be used with the SoB line.
[1] Raised in many contexts at many times, but a decent overall summary
can be read at https://drewdevault.com/2023/10/31/On-real-names.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330
[3] https://github.com/cncf/foundation/blob/659fd32c86dc/dco-guidelines.md
[4] Excluding the rare GPG key signing parties for regular maintainers
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241021190939.1482466-1-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
docs/devel/submitting-a-patch.rst | 7 ++++++-
.gitlab-ci.d/check-dco.py | 5 ++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst
index 83e9092b8c..10b062eec2 100644
--- a/docs/devel/submitting-a-patch.rst
+++ b/docs/devel/submitting-a-patch.rst
@@ -18,7 +18,7 @@ one-shot fix, the bare minimum we ask is that:
* - Check
- Reason
- * - Patches contain Signed-off-by: Real Name <author@email>
+ * - Patches contain Signed-off-by: Your Name <author@email>
- States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed_off_by_line`
* - Sent as patch emails to ``qemu-devel@nongnu.org``
- The project uses an email list based workflow. See :ref:`submitting_your_patches`
@@ -335,6 +335,11 @@ include a "From:" line in the body of the email (different from your
envelope From:) that will give credit to the correct author; but again,
that author's Signed-off-by: line is mandatory, with the same spelling.
+The name used with "Signed-off-by" does not need to be your legal name,
+nor birth name, nor appear on any government ID. It is the identity you
+choose to be known by in the community, but should not be anonymous,
+nor misrepresent whom you are.
+
There are various tooling options for automatically adding these tags
include using ``git commit -s`` or ``git format-patch -s``. For more
information see `SubmittingPatches 1.12
diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
index d221b16bd5..70dec7d6ee 100755
--- a/.gitlab-ci.d/check-dco.py
+++ b/.gitlab-ci.d/check-dco.py
@@ -78,7 +78,10 @@
To indicate acceptance of the DCO every commit must have a tag
- Signed-off-by: REAL NAME <EMAIL>
+ Signed-off-by: YOUR NAME <EMAIL>
+
+where "YOUR NAME" is your commonly known identity in the context
+of the community.
This can be achieved by passing the "-s" flag to the "git commit" command.
--
2.39.5
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (38 preceding siblings ...)
2024-11-21 16:58 ` [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Alex Bennée
@ 2024-11-21 17:19 ` Peter Maydell
2024-11-21 17:31 ` Alex Bennée
2024-11-21 19:03 ` Cédric Le Goater
2024-11-22 10:14 ` Thomas Huth
41 siblings, 1 reply; 79+ messages in thread
From: Peter Maydell @ 2024-11-21 17:19 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, John Snow,
Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
On Thu, 21 Nov 2024 at 16:58, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> This is a mostly testing focused set of patches but a few bug fixes as
> well. I plan to send the PR in on Monday. I can drop any patches that
> are objected to but I think its pretty safe.
>
> Contains:
>
> - Daniel's clean-up of functional tests
> - Another avocado->function conversion from Thomas
> - Update the tuxrun baseline images
> - Minor fix to the rust pl011 device
> - Documentation clarification on identity
Should we really be updating the tuxrun baseline images
in the middle of a release freeze period? Unless the old images
are going to go away and break the tests, I think it would
be better to stick with what we're currently testing.
thanks
-- PMM
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 17:19 ` [PATCH 00/39] maintainer updates for -rc2 pre-PR Peter Maydell
@ 2024-11-21 17:31 ` Alex Bennée
2024-11-22 10:45 ` Thomas Huth
0 siblings, 1 reply; 79+ messages in thread
From: Alex Bennée @ 2024-11-21 17:31 UTC (permalink / raw)
To: Peter Maydell
Cc: qemu-devel, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, John Snow,
Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
Peter Maydell <peter.maydell@linaro.org> writes:
> On Thu, 21 Nov 2024 at 16:58, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>> This is a mostly testing focused set of patches but a few bug fixes as
>> well. I plan to send the PR in on Monday. I can drop any patches that
>> are objected to but I think its pretty safe.
>>
>> Contains:
>>
>> - Daniel's clean-up of functional tests
>> - Another avocado->function conversion from Thomas
>> - Update the tuxrun baseline images
>> - Minor fix to the rust pl011 device
>> - Documentation clarification on identity
>
> Should we really be updating the tuxrun baseline images
> in the middle of a release freeze period? Unless the old images
> are going to go away and break the tests, I think it would
> be better to stick with what we're currently testing.
Well the arm64be fixed a real problem and while I was at it I figured
might as well keep the rest in sync. I have tested them so they all pass
(although I'm waiting on the CI run now).
>
> thanks
> -- PMM
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine
2024-11-21 16:57 ` [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine Alex Bennée
@ 2024-11-21 19:02 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:02 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> Set the 'qemu.machine' logger to 'DEBUG' level, to ensure we see log
> messages related to the QEMUMachine class. Most importantly this
> ensures we capture the full QEMU command line args for instances we
> spawn.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-12-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/qemu_test/testcase.py | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
> index f9c9de1166..e2a329c3e5 100644
> --- a/tests/functional/qemu_test/testcase.py
> +++ b/tests/functional/qemu_test/testcase.py
> @@ -57,9 +57,15 @@ def setUp(self, bin_prefix):
> self._log_fh.setFormatter(fileFormatter)
> self.log.addHandler(self._log_fh)
>
> + # Capture QEMUMachine logging
> + self.machinelog = logging.getLogger('qemu.machine')
> + self.machinelog.setLevel(logging.DEBUG)
> + self.machinelog.addHandler(self._log_fh)
> +
> def tearDown(self):
> if "QEMU_TEST_KEEP_SCRATCH" not in os.environ:
> shutil.rmtree(self.workdir)
> + self.machinelog.removeHandler(self._log_fh)
> self.log.removeHandler(self._log_fh)
>
> def main():
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 12/39] tests/functional: logs details of console interaction operations
2024-11-21 16:57 ` [PATCH 12/39] tests/functional: logs details of console interaction operations Alex Bennée
@ 2024-11-21 19:03 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> When functional tests go wrong, it will often be related to the console
> interaction wait state. By logging the messages that we're looking for,
> and data we're about to be sending, it'll be easier to diagnose where
> tests are getting stuck.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-13-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/qemu_test/cmd.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py
> index cbabb1ceed..98722a9cf6 100644
> --- a/tests/functional/qemu_test/cmd.py
> +++ b/tests/functional/qemu_test/cmd.py
> @@ -85,6 +85,9 @@ def _console_interaction(test, success_message, failure_message,
> vm = test.vm
> console = vm.console_file
> console_logger = logging.getLogger('console')
> + test.log.debug(
> + f"Console interaction: success_msg='{success_message}' " +
> + f"failure_msg='{failure_message}' send_string='{send_string}'")
> while True:
> if send_string:
> vm.console_socket.sendall(send_string.encode())
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 07/39] tests/functional: remove comments talking about avocado
2024-11-21 16:57 ` [PATCH 07/39] tests/functional: remove comments talking about avocado Alex Bennée
@ 2024-11-21 19:03 ` Pierrick Bouvier
0 siblings, 0 replies; 79+ messages in thread
From: Pierrick Bouvier @ 2024-11-21 19:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Harsh Prateek Bora, Marcel Apfelbaum,
Jiaxun Yang, Halil Pasic, Christian Borntraeger, qemu-ppc,
Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv, Thomas Huth,
Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 11/21/24 08:57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> The first comment is still relevant but should talk about our own test
> harness instead. The second comment adds no value over reading the code
> and can be removed.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-8-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/test_acpi_bits.py | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/tests/functional/test_acpi_bits.py b/tests/functional/test_acpi_bits.py
> index ee40647d5b..4c192d95cc 100755
> --- a/tests/functional/test_acpi_bits.py
> +++ b/tests/functional/test_acpi_bits.py
> @@ -196,11 +196,12 @@ def copy_test_scripts(self):
> for filename in os.listdir(bits_test_dir):
> if os.path.isfile(os.path.join(bits_test_dir, filename)) and \
> filename.endswith('.py2'):
> - # all test scripts are named with extension .py2 so that
> - # avocado does not try to load them. These scripts are
> - # written for python 2.7 not python 3 and hence if avocado
> - # loaded them, it would complain about python 3 specific
> - # syntaxes.
> + # All test scripts are named with extension .py2 so that
> + # they are not run by accident.
> + #
> + # These scripts are intended to run inside the test VM
> + # and are written for python 2.7 not python 3, hence
> + # would cause syntax errors if loaded ouside the VM.
> newfilename = os.path.splitext(filename)[0] + '.py'
> shutil.copy2(os.path.join(bits_test_dir, filename),
> os.path.join(target_test_dir, newfilename))
> @@ -399,8 +400,6 @@ def test_acpi_smbios_bits(self):
>
> # biosbits has been configured to run all the specified test suites
> # in batch mode and then automatically initiate a vm shutdown.
> - # Set timeout to BITS_TIMEOUT for SHUTDOWN event from bits VM at par
> - # with the avocado test timeout.
> self._vm.event_wait('SHUTDOWN', timeout=BITS_TIMEOUT)
> self._vm.wait(timeout=None)
> self.logger.debug("Checking console output ...")
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (39 preceding siblings ...)
2024-11-21 17:19 ` [PATCH 00/39] maintainer updates for -rc2 pre-PR Peter Maydell
@ 2024-11-21 19:03 ` Cédric Le Goater
2024-11-21 19:10 ` Thomas Huth
2024-11-22 10:14 ` Thomas Huth
41 siblings, 1 reply; 79+ messages in thread
From: Cédric Le Goater @ 2024-11-21 19:03 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, John Snow,
Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
Hello Alex,
On 11/21/24 17:57, Alex Bennée wrote:
> This is a mostly testing focused set of patches but a few bug fixes as
> well. I plan to send the PR in on Monday. I can drop any patches that
> are objected to but I think its pretty safe.
>
> Contains:
>
> - Daniel's clean-up of functional tests
> - Another avocado->function conversion from Thomas
> - Update the tuxrun baseline images
> - Minor fix to the rust pl011 device
> - Documentation clarification on identity
>
> The following could do with some review:
>
> tests/functional: update the x86_64 tuxrun tests
> tests/functional: update the sparc64 tuxrun tests
> tests/functional: update the s390x tuxrun tests
> tests/functional: update the riscv64 tuxrun tests
> tests/functional: update the riscv32 tuxrun tests
> tests/functional: update the ppc64 tuxrun tests
> tests/functional: update the ppc32 tuxrun tests
> tests/functional: update the mips64el tuxrun tests
> tests/functional: update the mips64 tuxrun tests
> tests/functional: update the mips32el tuxrun tests
> tests/functional: update the mips32 tuxrun tests
> tests/functional: add a m68k tuxrun tests
> tests/functional: update the i386 tuxrun tests
> tests/functional: update the aarch64 tuxrun tests
> tests/functional: update the arm tuxrun tests
> tests/functional: Convert the Avocado aarch64 tuxrun tests
Do you think we could include patches 2-4 from this series ?
https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
Only patch 3 lacks a R-b.
Thanks,
C.
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 13/39] tests/functional: don't try to wait for the empty string
2024-11-21 16:57 ` [PATCH 13/39] tests/functional: don't try to wait for the empty string Alex Bennée
@ 2024-11-21 19:04 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:04 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> Telling exec_command_wand_wait_for_pattern to wait for the empty
> string does not make any conceptual sense, as a check for empty
> string will always succeed. It makes even less sense when followed
> by a call to wait_for_console_pattern() with a real match.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-14-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/test_virtio_gpu.py | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 23/39] tests/functional: add a m68k tuxrun tests
2024-11-21 16:57 ` [PATCH 23/39] tests/functional: add a m68k " Alex Bennée
@ 2024-11-21 19:07 ` Thomas Huth
2024-11-22 10:16 ` Thomas Huth
1 sibling, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:07 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Laurent Vivier, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> We didn't have this before and as it exercises the m68k virt platform
> it seems worth adding. We don't wait for the shutdown because QEMU
> will auto-exit on the shutdown.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Laurent Vivier <laurent@vivier.eu>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/meson.build | 1 +
> tests/functional/test_m68k_tuxrun.py | 34 ++++++++++++++++++++++++++++
> 2 files changed, 35 insertions(+)
> create mode 100644 tests/functional/test_m68k_tuxrun.py
Nice!
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 21/39] tests/functional: update the aarch64 tuxrun tests
2024-11-21 16:57 ` [PATCH 21/39] tests/functional: update the aarch64 " Alex Bennée
@ 2024-11-21 19:08 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:08 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
> With the new rootfs the blk I/O errors also go away on arm64be.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_aarch64_tuxrun.py | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 19:03 ` Cédric Le Goater
@ 2024-11-21 19:10 ` Thomas Huth
2024-11-21 21:46 ` Cédric Le Goater
0 siblings, 1 reply; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:10 UTC (permalink / raw)
To: Cédric Le Goater, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 20.03, Cédric Le Goater wrote:
> Hello Alex,
>
> On 11/21/24 17:57, Alex Bennée wrote:
>> This is a mostly testing focused set of patches but a few bug fixes as
>> well. I plan to send the PR in on Monday. I can drop any patches that
>> are objected to but I think its pretty safe.
>>
>> Contains:
>>
>> - Daniel's clean-up of functional tests
>> - Another avocado->function conversion from Thomas
>> - Update the tuxrun baseline images
>> - Minor fix to the rust pl011 device
>> - Documentation clarification on identity
>>
>> The following could do with some review:
>>
>> tests/functional: update the x86_64 tuxrun tests
>> tests/functional: update the sparc64 tuxrun tests
>> tests/functional: update the s390x tuxrun tests
>> tests/functional: update the riscv64 tuxrun tests
>> tests/functional: update the riscv32 tuxrun tests
>> tests/functional: update the ppc64 tuxrun tests
>> tests/functional: update the ppc32 tuxrun tests
>> tests/functional: update the mips64el tuxrun tests
>> tests/functional: update the mips64 tuxrun tests
>> tests/functional: update the mips32el tuxrun tests
>> tests/functional: update the mips32 tuxrun tests
>> tests/functional: add a m68k tuxrun tests
>> tests/functional: update the i386 tuxrun tests
>> tests/functional: update the aarch64 tuxrun tests
>> tests/functional: update the arm tuxrun tests
>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>
> Do you think we could include patches 2-4 from this series ?
>
> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>
> Only patch 3 lacks a R-b.
I had a question on patch 3 and a suggestion on patch 4 ... could you maybe
address them first? Thanks!
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 14/39] tests/functional: require non-NULL success_message for console wait
2024-11-21 16:57 ` [PATCH 14/39] tests/functional: require non-NULL success_message for console wait Alex Bennée
@ 2024-11-21 19:24 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:24 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> When waiting for expected output, the 'success_message' is a mandatory
> parameter, with 'failure_message' defaulting to None.
>
> The code has logic which indicates it was trying to cope with
> 'success_message' being None and 'failure_message' being non-None but
> it does not appear able to actually do anything useful. The check for
> 'success_message is None' will break out of the loop before any check
> for 'failure_message' has been performed.
>
> IOW, for practcal purposes 'success_message' must be non-None unless
> 'send_string' is set. Assert this expectation and simplify the loop
> logic.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-15-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/qemu_test/cmd.py | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py
> index 98722a9cf6..f6c4e4dda1 100644
> --- a/tests/functional/qemu_test/cmd.py
> +++ b/tests/functional/qemu_test/cmd.py
> @@ -81,6 +81,8 @@ def is_readable_executable_file(path):
> def _console_interaction(test, success_message, failure_message,
> send_string, keep_sending=False, vm=None):
> assert not keep_sending or send_string
> + assert success_message or send_string
> +
> if vm is None:
> vm = test.vm
> console = vm.console_file
> @@ -95,7 +97,7 @@ def _console_interaction(test, success_message, failure_message,
> send_string = None # send only once
>
> # Only consume console output if waiting for something
> - if success_message is None and failure_message is None:
> + if success_message is None:
> if send_string is None:
> break
> continue
> @@ -107,7 +109,7 @@ def _console_interaction(test, success_message, failure_message,
> if not msg:
> continue
> console_logger.debug(msg)
> - if success_message is None or success_message in msg:
> + if success_message in msg:
> break
> if failure_message and failure_message in msg:
> console.close()
> @@ -138,6 +140,7 @@ def interrupt_interactive_console_until_pattern(test, success_message,
> :param interrupt_string: a string to send to the console before trying
> to read a new line
> """
> + assert success_message
> _console_interaction(test, success_message, failure_message,
> interrupt_string, True)
>
> @@ -152,6 +155,7 @@ def wait_for_console_pattern(test, success_message, failure_message=None,
> :param success_message: if this message appears, test succeeds
> :param failure_message: if this message appears, test fails
> """
> + assert success_message
> _console_interaction(test, success_message, failure_message, None, vm=vm)
This assert is theoretically not needed since we call _console_interaction
with send_string=None, so if success_message is None, the new assert in
_console_interaction would trigger instead.
But it also does not hurt to have it here, so fine for me if we keep it.
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests
2024-11-21 16:57 ` [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests Alex Bennée
@ 2024-11-21 19:39 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:39 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> The tuxrun tests send a series of strings to the guest to login
> and then run commands. Since we have been unable to match on
> console output that isn't followed by a newline, the test used
> many time.sleep() statements to pretend to synchronize with
> the guest.
>
> This has proved to be unreliable for the aarch64be instance of
> the tuxrun tests, with the test often hanging. The hang is a
> very subtle timing problem, and it is suspected that some
> (otherwise apparently harmless) I/O error messages could be
> resulting in full FIFO buffers, stalling interaction with
> the guest.
>
> With the newly rewritten console interaction able to match
> strings that don't have a following newline, the tux run
> tests can now match directly on the login prompt, and/or
> shell PS1 prompt.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2689
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-17-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/qemu_test/tuxruntest.py | 16 ++++++----------
> 1 file changed, 6 insertions(+), 10 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests
2024-11-21 16:57 ` [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests Alex Bennée
@ 2024-11-21 19:41 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-21 19:41 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> Support the QEMU_TEST_QMP_BACKDOOR=backdoor.sock env variable as a
> way to get a QMP backdoor for debugging a stalled QEMU test. Most
> typically this would be used if running the tests directly:
>
> $ QEMU_TEST_QMP_BACKDOOR=backdoor.sock \
> QEMU_TEST_QEMU_BINARY=./build/qemu-system-arm \
> PYTHONPATH=./python \
> ./tests/functional/test_arm_tuxrun.py
>
> And then, when the test stalls, in a second shell run:
>
> $ ./scripts/qmp/qmp-shell backdoor.sock
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Message-Id: <20241121154218.1423005-18-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> docs/devel/testing/functional.rst | 10 ++++++++++
> tests/functional/qemu_test/testcase.py | 7 +++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst
> index 6b5d0c5b98..b8ad7b0bf7 100644
> --- a/docs/devel/testing/functional.rst
> +++ b/docs/devel/testing/functional.rst
> @@ -176,6 +176,16 @@ primarily depend on the value of the ``qemu_bin`` class attribute.
> If it is not explicitly set by the test code, its default value will
> be the result the QEMU_TEST_QEMU_BINARY environment variable.
>
> +Debugging hung QEMU
> +^^^^^^^^^^^^^^^^^^^
> +
> +When test cases go wrong it may be helpful to debug a stalled QEMU
> +process. While the QEMUMachine class owns the primary QMP monitor
> +socket, it is possible to request a second QMP monitor be created
> +by setting the ``QEMU_TEST_QMP_BACKDOOR`` env variable to refer
> +to a UNIX socket name. The ``qmp-shell`` command can then be
> +attached to the stalled QEMU to examine its live state.
> +
> Attribute reference
> -------------------
>
> diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
> index e2a329c3e5..fceafb32b0 100644
> --- a/tests/functional/qemu_test/testcase.py
> +++ b/tests/functional/qemu_test/testcase.py
> @@ -175,6 +175,13 @@ def _new_vm(self, name, *args):
> log_dir=self.logdir)
> self.log.debug('QEMUMachine "%s" created', name)
> self.log.debug('QEMUMachine "%s" temp_dir: %s', name, vm.temp_dir)
> +
> + sockpath = os.environ.get("QEMU_TEST_QMP_BACKDOOR", None)
> + if sockpath is not None:
> + vm.add_args("-chardev",
> + f"socket,id=backdoor,path={sockpath},server=on,wait=off",
> + "-mon", "chardev=backdoor,mode=control")
> +
> if args:
> vm.add_args(*args)
> return vm
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 19:10 ` Thomas Huth
@ 2024-11-21 21:46 ` Cédric Le Goater
2024-11-22 10:47 ` Thomas Huth
0 siblings, 1 reply; 79+ messages in thread
From: Cédric Le Goater @ 2024-11-21 21:46 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 11/21/24 20:10, Thomas Huth wrote:
> On 21/11/2024 20.03, Cédric Le Goater wrote:
>> Hello Alex,
>>
>> On 11/21/24 17:57, Alex Bennée wrote:
>>> This is a mostly testing focused set of patches but a few bug fixes as
>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>> are objected to but I think its pretty safe.
>>>
>>> Contains:
>>>
>>> - Daniel's clean-up of functional tests
>>> - Another avocado->function conversion from Thomas
>>> - Update the tuxrun baseline images
>>> - Minor fix to the rust pl011 device
>>> - Documentation clarification on identity
>>>
>>> The following could do with some review:
>>>
>>> tests/functional: update the x86_64 tuxrun tests
>>> tests/functional: update the sparc64 tuxrun tests
>>> tests/functional: update the s390x tuxrun tests
>>> tests/functional: update the riscv64 tuxrun tests
>>> tests/functional: update the riscv32 tuxrun tests
>>> tests/functional: update the ppc64 tuxrun tests
>>> tests/functional: update the ppc32 tuxrun tests
>>> tests/functional: update the mips64el tuxrun tests
>>> tests/functional: update the mips64 tuxrun tests
>>> tests/functional: update the mips32el tuxrun tests
>>> tests/functional: update the mips32 tuxrun tests
>>> tests/functional: add a m68k tuxrun tests
>>> tests/functional: update the i386 tuxrun tests
>>> tests/functional: update the aarch64 tuxrun tests
>>> tests/functional: update the arm tuxrun tests
>>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>>
>> Do you think we could include patches 2-4 from this series ?
>>
>> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>>
>> Only patch 3 lacks a R-b.
>
> I had a question on patch 3 and a suggestion on patch 4 ... could you maybe address them first? Thanks!
Oh Sorry I forgot.
I did address patch 4 in my tree ... In Patch 3, EXTRA_BOOTARGS was
added by Alex IIRC to work around the console issue. We ended up
adding the sleep call. I can resend tomorrow.
Thanks,
C.
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 29/39] tests/functional: update the ppc64 tuxrun tests
2024-11-21 16:57 ` [PATCH 29/39] tests/functional: update the ppc64 " Alex Bennée
@ 2024-11-22 9:52 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 9:52 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_ppc64_tuxrun.py | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 24/39] tests/functional: update the mips32 tuxrun tests
2024-11-21 16:57 ` [PATCH 24/39] tests/functional: update the mips32 " Alex Bennée
@ 2024-11-22 10:08 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:08 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
s/upto/up to/ ?
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_mips_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 25/39] tests/functional: update the mips32el tuxrun tests
2024-11-21 16:57 ` [PATCH 25/39] tests/functional: update the mips32el " Alex Bennée
@ 2024-11-22 10:09 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:09 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_mipsel_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 26/39] tests/functional: update the mips64 tuxrun tests
2024-11-21 16:57 ` [PATCH 26/39] tests/functional: update the mips64 " Alex Bennée
@ 2024-11-22 10:09 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:09 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_mips64_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 27/39] tests/functional: update the mips64el tuxrun tests
2024-11-21 16:57 ` [PATCH 27/39] tests/functional: update the mips64el " Alex Bennée
@ 2024-11-22 10:11 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:11 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_mips64el_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
` (40 preceding siblings ...)
2024-11-21 19:03 ` Cédric Le Goater
@ 2024-11-22 10:14 ` Thomas Huth
41 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:14 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> This is a mostly testing focused set of patches but a few bug fixes as
> well. I plan to send the PR in on Monday. I can drop any patches that
> are objected to but I think its pretty safe.
>
> Contains:
>
> - Daniel's clean-up of functional tests
> - Another avocado->function conversion from Thomas
> - Update the tuxrun baseline images
> - Minor fix to the rust pl011 device
> - Documentation clarification on identity
>
> The following could do with some review:
>
> tests/functional: update the x86_64 tuxrun tests
> tests/functional: update the sparc64 tuxrun tests
> tests/functional: update the s390x tuxrun tests
> tests/functional: update the riscv64 tuxrun tests
> tests/functional: update the riscv32 tuxrun tests
> tests/functional: update the ppc64 tuxrun tests
> tests/functional: update the ppc32 tuxrun tests
> tests/functional: update the mips64el tuxrun tests
> tests/functional: update the mips64 tuxrun tests
> tests/functional: update the mips32el tuxrun tests
> tests/functional: update the mips32 tuxrun tests
> tests/functional: add a m68k tuxrun tests
> tests/functional: update the i386 tuxrun tests
> tests/functional: update the aarch64 tuxrun tests
> tests/functional: update the arm tuxrun tests
If you've got some spare time: Maybe also update the sh4 tuxrun test to see
whether we could drop the FLAKY marker there now?
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 23/39] tests/functional: add a m68k tuxrun tests
2024-11-21 16:57 ` [PATCH 23/39] tests/functional: add a m68k " Alex Bennée
2024-11-21 19:07 ` Thomas Huth
@ 2024-11-22 10:16 ` Thomas Huth
1 sibling, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:16 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Laurent Vivier, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> We didn't have this before and as it exercises the m68k virt platform
> it seems worth adding. We don't wait for the shutdown because QEMU
> will auto-exit on the shutdown.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Laurent Vivier <laurent@vivier.eu>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/meson.build | 1 +
> tests/functional/test_m68k_tuxrun.py | 34 ++++++++++++++++++++++++++++
> 2 files changed, 35 insertions(+)
> create mode 100644 tests/functional/test_m68k_tuxrun.py
>
> diff --git a/tests/functional/meson.build b/tests/functional/meson.build
> index 923f9e7078..3ce969066c 100644
> --- a/tests/functional/meson.build
> +++ b/tests/functional/meson.build
> @@ -95,6 +95,7 @@ tests_m68k_system_thorough = [
> 'm68k_mcf5208evb',
> 'm68k_nextcube',
> 'm68k_q800',
> + 'm68k_tuxrun',
> ]
>
> tests_microblaze_system_thorough = [
> diff --git a/tests/functional/test_m68k_tuxrun.py b/tests/functional/test_m68k_tuxrun.py
> new file mode 100644
Please make it executable like all other test files, so we can run it more
easily without the test harness, too!
Thanks,
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures
2024-11-21 16:57 ` [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Alex Bennée
@ 2024-11-22 10:19 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:19 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 17.57, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> If a failure occurs early in the QemuBaseTest constructor, the
> 'log_filename' object atttribute may not exist yet. This happens
s/atttribute/attribute/
> most notably if the QEMU_TEST_QEMU_BINARY is not set. We can't
> initialize 'log_filename' earlier as we use the binary to identify
> the architecture which is then used to build the path in which the
> logs are stored.
With the typo fixed:
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 20/39] tests/functional: update the arm tuxrun tests
2024-11-21 16:57 ` [PATCH 20/39] tests/functional: update the arm " Alex Bennée
@ 2024-11-22 10:22 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:22 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_arm_tuxrun.py | 28 ++++++++++++++--------------
> 1 file changed, 14 insertions(+), 14 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 28/39] tests/functional: update the ppc32 tuxrun tests
2024-11-21 16:57 ` [PATCH 28/39] tests/functional: update the ppc32 " Alex Bennée
@ 2024-11-22 10:42 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:42 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_ppc_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 17:31 ` Alex Bennée
@ 2024-11-22 10:45 ` Thomas Huth
2024-11-23 15:29 ` Alex Bennée
0 siblings, 1 reply; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:45 UTC (permalink / raw)
To: Alex Bennée, Peter Maydell
Cc: qemu-devel, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 18.31, Alex Bennée wrote:
> Peter Maydell <peter.maydell@linaro.org> writes:
>
>> On Thu, 21 Nov 2024 at 16:58, Alex Bennée <alex.bennee@linaro.org> wrote:
>>>
>>> This is a mostly testing focused set of patches but a few bug fixes as
>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>> are objected to but I think its pretty safe.
>>>
>>> Contains:
>>>
>>> - Daniel's clean-up of functional tests
>>> - Another avocado->function conversion from Thomas
>>> - Update the tuxrun baseline images
>>> - Minor fix to the rust pl011 device
>>> - Documentation clarification on identity
>>
>> Should we really be updating the tuxrun baseline images
>> in the middle of a release freeze period? Unless the old images
>> are going to go away and break the tests, I think it would
>> be better to stick with what we're currently testing.
>
> Well the arm64be fixed a real problem and while I was at it I figured
> might as well keep the rest in sync. I have tested them so they all pass
> (although I'm waiting on the CI run now).
But there could be new intermittent problems in the new images ... so if
we'd face such a problem, we would not know whether it is the image or
whether it is QEMU. Thus maybe let's better keep the old versions for 9.2
(except for the arm64 patch that fixes a real problem), and use the new
versions for 10.0 ?
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-21 21:46 ` Cédric Le Goater
@ 2024-11-22 10:47 ` Thomas Huth
2024-11-22 11:59 ` Cédric Le Goater
0 siblings, 1 reply; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:47 UTC (permalink / raw)
To: Cédric Le Goater, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 21/11/2024 22.46, Cédric Le Goater wrote:
> On 11/21/24 20:10, Thomas Huth wrote:
>> On 21/11/2024 20.03, Cédric Le Goater wrote:
>>> Hello Alex,
>>>
>>> On 11/21/24 17:57, Alex Bennée wrote:
>>>> This is a mostly testing focused set of patches but a few bug fixes as
>>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>>> are objected to but I think its pretty safe.
>>>>
>>>> Contains:
>>>>
>>>> - Daniel's clean-up of functional tests
>>>> - Another avocado->function conversion from Thomas
>>>> - Update the tuxrun baseline images
>>>> - Minor fix to the rust pl011 device
>>>> - Documentation clarification on identity
>>>>
>>>> The following could do with some review:
>>>>
>>>> tests/functional: update the x86_64 tuxrun tests
>>>> tests/functional: update the sparc64 tuxrun tests
>>>> tests/functional: update the s390x tuxrun tests
>>>> tests/functional: update the riscv64 tuxrun tests
>>>> tests/functional: update the riscv32 tuxrun tests
>>>> tests/functional: update the ppc64 tuxrun tests
>>>> tests/functional: update the ppc32 tuxrun tests
>>>> tests/functional: update the mips64el tuxrun tests
>>>> tests/functional: update the mips64 tuxrun tests
>>>> tests/functional: update the mips32el tuxrun tests
>>>> tests/functional: update the mips32 tuxrun tests
>>>> tests/functional: add a m68k tuxrun tests
>>>> tests/functional: update the i386 tuxrun tests
>>>> tests/functional: update the aarch64 tuxrun tests
>>>> tests/functional: update the arm tuxrun tests
>>>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>>>
>>> Do you think we could include patches 2-4 from this series ?
>>>
>>> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>>>
>>> Only patch 3 lacks a R-b.
>>
>> I had a question on patch 3 and a suggestion on patch 4 ... could you
>> maybe address them first? Thanks!
>
> Oh Sorry I forgot.
>
> I did address patch 4 in my tree ... In Patch 3, EXTRA_BOOTARGS was
> added by Alex IIRC to work around the console issue. We ended up
> adding the sleep call. I can resend tomorrow.
IMHO v4 looks fine now (
https://lore.kernel.org/qemu-devel/20241122090322.1934697-1-clg@redhat.com/
) in case you want to pick it up, Alex.
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 30/39] tests/functional: update the riscv32 tuxrun tests
2024-11-21 16:57 ` [PATCH 30/39] tests/functional: update the riscv32 " Alex Bennée
@ 2024-11-22 10:58 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 10:58 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_riscv32_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 32/39] tests/functional: update the s390x tuxrun tests
2024-11-21 16:57 ` [PATCH 32/39] tests/functional: update the s390x " Alex Bennée
@ 2024-11-22 11:00 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 11:00 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_s390x_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 31/39] tests/functional: update the riscv64 tuxrun tests
2024-11-21 16:57 ` [PATCH 31/39] tests/functional: update the riscv64 " Alex Bennée
@ 2024-11-22 11:02 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 11:02 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
> Note we re-use the riscv32 kernel and rootfs for test_riscv64_rv32.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_riscv64_tuxrun.py | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 33/39] tests/functional: update the sparc64 tuxrun tests
2024-11-21 16:58 ` [PATCH 33/39] tests/functional: update the sparc64 " Alex Bennée
@ 2024-11-22 11:02 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 11:02 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.58, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_sparc64_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 34/39] tests/functional: update the x86_64 tuxrun tests
2024-11-21 16:58 ` [PATCH 34/39] tests/functional: update the x86_64 " Alex Bennée
@ 2024-11-22 11:15 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 11:15 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.58, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_x86_64_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 22/39] tests/functional: update the i386 tuxrun tests
2024-11-21 16:57 ` [PATCH 22/39] tests/functional: update the i386 " Alex Bennée
@ 2024-11-22 11:17 ` Thomas Huth
0 siblings, 0 replies; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 11:17 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis, Anders Roxell
On 21/11/2024 17.57, Alex Bennée wrote:
> Now there are new upto date images available we should update to them.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Anders Roxell <anders.roxell@linaro.org>
> ---
> tests/functional/test_i386_tuxrun.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-22 10:47 ` Thomas Huth
@ 2024-11-22 11:59 ` Cédric Le Goater
2024-11-22 12:32 ` Thomas Huth
0 siblings, 1 reply; 79+ messages in thread
From: Cédric Le Goater @ 2024-11-22 11:59 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 11/22/24 11:47, Thomas Huth wrote:
> On 21/11/2024 22.46, Cédric Le Goater wrote:
>> On 11/21/24 20:10, Thomas Huth wrote:
>>> On 21/11/2024 20.03, Cédric Le Goater wrote:
>>>> Hello Alex,
>>>>
>>>> On 11/21/24 17:57, Alex Bennée wrote:
>>>>> This is a mostly testing focused set of patches but a few bug fixes as
>>>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>>>> are objected to but I think its pretty safe.
>>>>>
>>>>> Contains:
>>>>>
>>>>> - Daniel's clean-up of functional tests
>>>>> - Another avocado->function conversion from Thomas
>>>>> - Update the tuxrun baseline images
>>>>> - Minor fix to the rust pl011 device
>>>>> - Documentation clarification on identity
>>>>>
>>>>> The following could do with some review:
>>>>>
>>>>> tests/functional: update the x86_64 tuxrun tests
>>>>> tests/functional: update the sparc64 tuxrun tests
>>>>> tests/functional: update the s390x tuxrun tests
>>>>> tests/functional: update the riscv64 tuxrun tests
>>>>> tests/functional: update the riscv32 tuxrun tests
>>>>> tests/functional: update the ppc64 tuxrun tests
>>>>> tests/functional: update the ppc32 tuxrun tests
>>>>> tests/functional: update the mips64el tuxrun tests
>>>>> tests/functional: update the mips64 tuxrun tests
>>>>> tests/functional: update the mips32el tuxrun tests
>>>>> tests/functional: update the mips32 tuxrun tests
>>>>> tests/functional: add a m68k tuxrun tests
>>>>> tests/functional: update the i386 tuxrun tests
>>>>> tests/functional: update the aarch64 tuxrun tests
>>>>> tests/functional: update the arm tuxrun tests
>>>>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>>>>
>>>> Do you think we could include patches 2-4 from this series ?
>>>>
>>>> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>>>>
>>>> Only patch 3 lacks a R-b.
>>>
>>> I had a question on patch 3 and a suggestion on patch 4 ... could you maybe address them first? Thanks!
>>
>> Oh Sorry I forgot.
>>
>> I did address patch 4 in my tree ... In Patch 3, EXTRA_BOOTARGS was
>> added by Alex IIRC to work around the console issue. We ended up
>> adding the sleep call. I can resend tomorrow.
>
> IMHO v4 looks fine now ( https://lore.kernel.org/qemu-devel/20241122090322.1934697-1-clg@redhat.com/ ) in case you want to pick it up, Alex.
>
> Thomas
>
Here is a check-functional run with this series and the v4 I sent :
https://paste.debian.net/1336417/
This system is fast so the timeouts are more certainly tests failures :
func-sh4-sh4_tuxrun ?
func-rx-rx_gdbsim https://gitlab.com/qemu-project/qemu/-/issues/2691
Thanks,
C.
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-22 11:59 ` Cédric Le Goater
@ 2024-11-22 12:32 ` Thomas Huth
2024-11-22 13:03 ` Cédric Le Goater
0 siblings, 1 reply; 79+ messages in thread
From: Thomas Huth @ 2024-11-22 12:32 UTC (permalink / raw)
To: Cédric Le Goater, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 22/11/2024 12.59, Cédric Le Goater wrote:
> On 11/22/24 11:47, Thomas Huth wrote:
>> On 21/11/2024 22.46, Cédric Le Goater wrote:
>>> On 11/21/24 20:10, Thomas Huth wrote:
>>>> On 21/11/2024 20.03, Cédric Le Goater wrote:
>>>>> Hello Alex,
>>>>>
>>>>> On 11/21/24 17:57, Alex Bennée wrote:
>>>>>> This is a mostly testing focused set of patches but a few bug fixes as
>>>>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>>>>> are objected to but I think its pretty safe.
>>>>>>
>>>>>> Contains:
>>>>>>
>>>>>> - Daniel's clean-up of functional tests
>>>>>> - Another avocado->function conversion from Thomas
>>>>>> - Update the tuxrun baseline images
>>>>>> - Minor fix to the rust pl011 device
>>>>>> - Documentation clarification on identity
>>>>>>
>>>>>> The following could do with some review:
>>>>>>
>>>>>> tests/functional: update the x86_64 tuxrun tests
>>>>>> tests/functional: update the sparc64 tuxrun tests
>>>>>> tests/functional: update the s390x tuxrun tests
>>>>>> tests/functional: update the riscv64 tuxrun tests
>>>>>> tests/functional: update the riscv32 tuxrun tests
>>>>>> tests/functional: update the ppc64 tuxrun tests
>>>>>> tests/functional: update the ppc32 tuxrun tests
>>>>>> tests/functional: update the mips64el tuxrun tests
>>>>>> tests/functional: update the mips64 tuxrun tests
>>>>>> tests/functional: update the mips32el tuxrun tests
>>>>>> tests/functional: update the mips32 tuxrun tests
>>>>>> tests/functional: add a m68k tuxrun tests
>>>>>> tests/functional: update the i386 tuxrun tests
>>>>>> tests/functional: update the aarch64 tuxrun tests
>>>>>> tests/functional: update the arm tuxrun tests
>>>>>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>>>>>
>>>>> Do you think we could include patches 2-4 from this series ?
>>>>>
>>>>> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>>>>>
>>>>> Only patch 3 lacks a R-b.
>>>>
>>>> I had a question on patch 3 and a suggestion on patch 4 ... could you
>>>> maybe address them first? Thanks!
>>>
>>> Oh Sorry I forgot.
>>>
>>> I did address patch 4 in my tree ... In Patch 3, EXTRA_BOOTARGS was
>>> added by Alex IIRC to work around the console issue. We ended up
>>> adding the sleep call. I can resend tomorrow.
>>
>> IMHO v4 looks fine now ( https://lore.kernel.org/qemu-
>> devel/20241122090322.1934697-1-clg@redhat.com/ ) in case you want to pick
>> it up, Alex.
>>
>> Thomas
>>
>
> Here is a check-functional run with this series and the v4 I sent :
>
> https://paste.debian.net/1336417/
>
> This system is fast so the timeouts are more certainly tests failures :
>
> func-sh4-sh4_tuxrun ?
> func-rx-rx_gdbsim https://gitlab.com/qemu-project/qemu/-/issues/2691
Both tests are marked with QEMU_TEST_FLAKY_TESTS, so yes, it's likely the
flakiness of the tests.
Thomas
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-22 12:32 ` Thomas Huth
@ 2024-11-22 13:03 ` Cédric Le Goater
0 siblings, 0 replies; 79+ messages in thread
From: Cédric Le Goater @ 2024-11-22 13:03 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, qemu-devel
Cc: Peter Maydell, Philippe Mathieu-Daudé, Michael S. Tsirkin,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Eric Farman, Bin Meng, qemu-s390x,
Niek Linnenbank, qemu-arm, John Snow, Wainer dos Santos Moschetta,
Cleber Rosa, qemu-rust, Nicholas Piggin, Daniel P. Berrangé,
Palmer Dabbelt, Markus Armbruster, Weiwei Li, Mahmoud Mandour,
Mark Cave-Ayland, Liu Zhiwei, Aurelien Jarno, Ani Sinha,
Alistair Francis
On 11/22/24 13:32, Thomas Huth wrote:
> On 22/11/2024 12.59, Cédric Le Goater wrote:
>> On 11/22/24 11:47, Thomas Huth wrote:
>>> On 21/11/2024 22.46, Cédric Le Goater wrote:
>>>> On 11/21/24 20:10, Thomas Huth wrote:
>>>>> On 21/11/2024 20.03, Cédric Le Goater wrote:
>>>>>> Hello Alex,
>>>>>>
>>>>>> On 11/21/24 17:57, Alex Bennée wrote:
>>>>>>> This is a mostly testing focused set of patches but a few bug fixes as
>>>>>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>>>>>> are objected to but I think its pretty safe.
>>>>>>>
>>>>>>> Contains:
>>>>>>>
>>>>>>> - Daniel's clean-up of functional tests
>>>>>>> - Another avocado->function conversion from Thomas
>>>>>>> - Update the tuxrun baseline images
>>>>>>> - Minor fix to the rust pl011 device
>>>>>>> - Documentation clarification on identity
>>>>>>>
>>>>>>> The following could do with some review:
>>>>>>>
>>>>>>> tests/functional: update the x86_64 tuxrun tests
>>>>>>> tests/functional: update the sparc64 tuxrun tests
>>>>>>> tests/functional: update the s390x tuxrun tests
>>>>>>> tests/functional: update the riscv64 tuxrun tests
>>>>>>> tests/functional: update the riscv32 tuxrun tests
>>>>>>> tests/functional: update the ppc64 tuxrun tests
>>>>>>> tests/functional: update the ppc32 tuxrun tests
>>>>>>> tests/functional: update the mips64el tuxrun tests
>>>>>>> tests/functional: update the mips64 tuxrun tests
>>>>>>> tests/functional: update the mips32el tuxrun tests
>>>>>>> tests/functional: update the mips32 tuxrun tests
>>>>>>> tests/functional: add a m68k tuxrun tests
>>>>>>> tests/functional: update the i386 tuxrun tests
>>>>>>> tests/functional: update the aarch64 tuxrun tests
>>>>>>> tests/functional: update the arm tuxrun tests
>>>>>>> tests/functional: Convert the Avocado aarch64 tuxrun tests
>>>>>>
>>>>>> Do you think we could include patches 2-4 from this series ?
>>>>>>
>>>>>> https://lore.kernel.org/all/20241112130246.970281-1-clg@redhat.com/
>>>>>>
>>>>>> Only patch 3 lacks a R-b.
>>>>>
>>>>> I had a question on patch 3 and a suggestion on patch 4 ... could you maybe address them first? Thanks!
>>>>
>>>> Oh Sorry I forgot.
>>>>
>>>> I did address patch 4 in my tree ... In Patch 3, EXTRA_BOOTARGS was
>>>> added by Alex IIRC to work around the console issue. We ended up
>>>> adding the sleep call. I can resend tomorrow.
>>>
>>> IMHO v4 looks fine now ( https://lore.kernel.org/qemu- devel/20241122090322.1934697-1-clg@redhat.com/ ) in case you want to pick it up, Alex.
>>>
>>> Thomas
>>>
>>
>> Here is a check-functional run with this series and the v4 I sent :
>>
>> https://paste.debian.net/1336417/
>>
>> This system is fast so the timeouts are more certainly tests failures :
>>
>> func-sh4-sh4_tuxrun ?
>> func-rx-rx_gdbsim https://gitlab.com/qemu-project/qemu/-/issues/2691
>
> Both tests are marked with QEMU_TEST_FLAKY_TESTS, so yes, it's likely the flakiness of the tests.
>
> Thomas
func-sh4-sh4_tuxrun runs fine with :
@@ -46,10 +46,8 @@ class TuxRunSh4Test(TuxRunBaselineTest):
console_index=1)
self.vm.launch()
- self.wait_for_console_pattern("Welcome to TuxTest")
- time.sleep(0.1)
- exec_command(self, 'root')
- time.sleep(0.1)
+ self.wait_for_console_pattern("tuxtest login:")
+ exec_command_and_wait_for_pattern(self, 'root', 'root@tuxtest:~#')
exec_command_and_wait_for_pattern(self, 'halt',
"reboot: System halted")
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus
2024-11-21 16:58 ` [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus Alex Bennée
@ 2024-11-22 19:31 ` Richard Henderson
0 siblings, 0 replies; 79+ messages in thread
From: Richard Henderson @ 2024-11-22 19:31 UTC (permalink / raw)
To: qemu-devel
On 11/21/24 10:58, Alex Bennée wrote:
> From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>
> Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function")
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> Message-Id: <20241112212622.3590693-2-pierrick.bouvier@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> include/qemu/qemu-plugin.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
> index 622c9a0232..0fba36ae02 100644
> --- a/include/qemu/qemu-plugin.h
> +++ b/include/qemu/qemu-plugin.h
> @@ -803,6 +803,7 @@ void qemu_plugin_register_atexit_cb(qemu_plugin_id_t id,
> qemu_plugin_udata_cb_t cb, void *userdata);
>
> /* returns how many vcpus were started at this point */
> +QEMU_PLUGIN_API
> int qemu_plugin_num_vcpus(void);
>
> /**
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/39] maintainer updates for -rc2 pre-PR
2024-11-22 10:45 ` Thomas Huth
@ 2024-11-23 15:29 ` Alex Bennée
0 siblings, 0 replies; 79+ messages in thread
From: Alex Bennée @ 2024-11-23 15:29 UTC (permalink / raw)
To: Thomas Huth
Cc: Peter Maydell, qemu-devel, Philippe Mathieu-Daudé,
Michael S. Tsirkin, Daniel Henrique Barboza, Pierrick Bouvier,
Harsh Prateek Bora, Marcel Apfelbaum, Jiaxun Yang, Halil Pasic,
Christian Borntraeger, qemu-ppc, Daniel Henrique Barboza,
Alexandre Iooss, qemu-riscv, Thomas Huth, Bernhard Beschow,
Eric Farman, Bin Meng, qemu-s390x, Niek Linnenbank, qemu-arm,
John Snow, Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis
Thomas Huth <thuth@redhat.com> writes:
> On 21/11/2024 18.31, Alex Bennée wrote:
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>>> On Thu, 21 Nov 2024 at 16:58, Alex Bennée <alex.bennee@linaro.org> wrote:
>>>>
>>>> This is a mostly testing focused set of patches but a few bug fixes as
>>>> well. I plan to send the PR in on Monday. I can drop any patches that
>>>> are objected to but I think its pretty safe.
>>>>
>>>> Contains:
>>>>
>>>> - Daniel's clean-up of functional tests
>>>> - Another avocado->function conversion from Thomas
>>>> - Update the tuxrun baseline images
>>>> - Minor fix to the rust pl011 device
>>>> - Documentation clarification on identity
>>>
>>> Should we really be updating the tuxrun baseline images
>>> in the middle of a release freeze period? Unless the old images
>>> are going to go away and break the tests, I think it would
>>> be better to stick with what we're currently testing.
>> Well the arm64be fixed a real problem and while I was at it I
>> figured
>> might as well keep the rest in sync. I have tested them so they all pass
>> (although I'm waiting on the CI run now).
>
> But there could be new intermittent problems in the new images ... so
> if we'd face such a problem, we would not know whether it is the image
> or whether it is QEMU. Thus maybe let's better keep the old versions
> for 9.2 (except for the arm64 patch that fixes a real problem), and
> use the new versions for 10.0 ?
Fair enough. Will drop the others for now.
>
> Thomas
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB
2024-11-21 16:58 ` [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Alex Bennée
@ 2024-11-26 4:55 ` Ani Sinha
2024-11-26 21:27 ` Michael S. Tsirkin
1 sibling, 0 replies; 79+ messages in thread
From: Ani Sinha @ 2024-11-26 4:55 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, Peter Maydell, Philippe Mathieu-Daudé,
Michael Tsirkin, Daniel Henrique Barboza, Pierrick Bouvier,
Harsh Prateek Bora, Marcel Apfelbaum, Jiaxun Yang, Halil Pasic,
Christian Borntraeger, qemu-ppc, Daniel Henrique Barboza,
Alexandre Iooss, qemu-riscv, Thomas Huth, Bernhard Beschow,
Thomas Huth, Eric Farman, Bin Meng, qemu-s390x, Niek Linnenbank,
qemu-arm, John Snow, Wainer Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel Berrange, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Alistair Francis, Stefan Hajnoczi,
Richard Henderson
> On 21 Nov 2024, at 10:28 PM, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> The docs for submitting a patch describe using your "Real Name" with
> the Signed-off-by line. Although somewhat ambiguous, this has often
> been interpreted to mean someone's legal name.
>
> In recent times, there's been a general push back[1] against the notion
> that use of Signed-off-by in a project automatically requires / implies
> the use of legal ("real") names and greater awareness of the downsides.
>
> Full discussion of the problems of such policies is beyond the scope of
> this commit message, but at a high level they are liable to marginalize,
> disadvantage, and potentially result in harm, to contributors.
>
> TL;DR: there are compelling reasons for a person to choose distinct
> identities in different contexts & a decision to override that choice
> should not be taken lightly.
>
> A number of key projects have responded to the issues raised by making
> it clear that a contributor is free to determine the identity used in
> SoB lines:
>
> * Linux has clarified[2] that they merely expect use of the
> contributor's "known identity", removing the previous explicit
> rejection of pseudonyms.
>
> * CNCF has clarified[3] that the real name is simply the identity
> the contributor chooses to use in the context of the community
> and does not have to be a legal name, nor birth name, nor appear
> on any government ID.
>
> Since we have no intention of ever routinely checking any form of ID
> documents for contributors[4], realistically we have no way of knowing
> anything about the name they are using, except through chance, or
> through the contributor volunteering the information. IOW, we almost
> certainly already have people using pseudonyms for contributions.
>
> This proposes to accept that reality and eliminate unnecessary friction,
> by following Linux & the CNCF in merely asking that a contributors'
> commonly known identity, of their choosing, be used with the SoB line.
>
> [1] Raised in many contexts at many times, but a decent overall summary
> can be read at https://drewdevault.com/2023/10/31/On-real-names.html
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330
> [3] https://github.com/cncf/foundation/blob/659fd32c86dc/dco-guidelines.md
> [4] Excluding the rare GPG key signing parties for regular maintainers
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
> Acked-by: Peter Maydell <peter.maydell@linaro.org>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> Acked-by: Richard Henderson <richard.henderson@linaro.org>
> Message-Id: <20241021190939.1482466-1-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Ani Sinha <anisinha@redhat.com>
> ---
> docs/devel/submitting-a-patch.rst | 7 ++++++-
> .gitlab-ci.d/check-dco.py | 5 ++++-
> 2 files changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst
> index 83e9092b8c..10b062eec2 100644
> --- a/docs/devel/submitting-a-patch.rst
> +++ b/docs/devel/submitting-a-patch.rst
> @@ -18,7 +18,7 @@ one-shot fix, the bare minimum we ask is that:
>
> * - Check
> - Reason
> - * - Patches contain Signed-off-by: Real Name <author@email>
> + * - Patches contain Signed-off-by: Your Name <author@email>
> - States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed_off_by_line`
> * - Sent as patch emails to ``qemu-devel@nongnu.org``
> - The project uses an email list based workflow. See :ref:`submitting_your_patches`
> @@ -335,6 +335,11 @@ include a "From:" line in the body of the email (different from your
> envelope From:) that will give credit to the correct author; but again,
> that author's Signed-off-by: line is mandatory, with the same spelling.
>
> +The name used with "Signed-off-by" does not need to be your legal name,
> +nor birth name, nor appear on any government ID. It is the identity you
> +choose to be known by in the community, but should not be anonymous,
> +nor misrepresent whom you are.
> +
> There are various tooling options for automatically adding these tags
> include using ``git commit -s`` or ``git format-patch -s``. For more
> information see `SubmittingPatches 1.12
> diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
> index d221b16bd5..70dec7d6ee 100755
> --- a/.gitlab-ci.d/check-dco.py
> +++ b/.gitlab-ci.d/check-dco.py
> @@ -78,7 +78,10 @@
>
> To indicate acceptance of the DCO every commit must have a tag
>
> - Signed-off-by: REAL NAME <EMAIL>
> + Signed-off-by: YOUR NAME <EMAIL>
> +
> +where "YOUR NAME" is your commonly known identity in the context
> +of the community.
>
> This can be achieved by passing the "-s" flag to the "git commit" command.
>
> --
> 2.39.5
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB
2024-11-21 16:58 ` [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Alex Bennée
2024-11-26 4:55 ` Ani Sinha
@ 2024-11-26 21:27 ` Michael S. Tsirkin
1 sibling, 0 replies; 79+ messages in thread
From: Michael S. Tsirkin @ 2024-11-26 21:27 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, Peter Maydell, Philippe Mathieu-Daudé,
Daniel Henrique Barboza, Pierrick Bouvier, Harsh Prateek Bora,
Marcel Apfelbaum, Jiaxun Yang, Halil Pasic, Christian Borntraeger,
qemu-ppc, Daniel Henrique Barboza, Alexandre Iooss, qemu-riscv,
Thomas Huth, Bernhard Beschow, Thomas Huth, Eric Farman, Bin Meng,
qemu-s390x, Niek Linnenbank, qemu-arm, John Snow,
Wainer dos Santos Moschetta, Cleber Rosa, qemu-rust,
Nicholas Piggin, Daniel P. Berrangé, Palmer Dabbelt,
Markus Armbruster, Weiwei Li, Mahmoud Mandour, Mark Cave-Ayland,
Liu Zhiwei, Aurelien Jarno, Ani Sinha, Alistair Francis,
Stefan Hajnoczi, Richard Henderson
On Thu, Nov 21, 2024 at 04:58:06PM +0000, Alex Bennée wrote:
> From: Daniel P. Berrangé <berrange@redhat.com>
>
> The docs for submitting a patch describe using your "Real Name" with
> the Signed-off-by line. Although somewhat ambiguous, this has often
> been interpreted to mean someone's legal name.
>
> In recent times, there's been a general push back[1] against the notion
> that use of Signed-off-by in a project automatically requires / implies
> the use of legal ("real") names and greater awareness of the downsides.
>
> Full discussion of the problems of such policies is beyond the scope of
> this commit message, but at a high level they are liable to marginalize,
> disadvantage, and potentially result in harm, to contributors.
>
> TL;DR: there are compelling reasons for a person to choose distinct
> identities in different contexts & a decision to override that choice
> should not be taken lightly.
>
> A number of key projects have responded to the issues raised by making
> it clear that a contributor is free to determine the identity used in
> SoB lines:
>
> * Linux has clarified[2] that they merely expect use of the
> contributor's "known identity", removing the previous explicit
> rejection of pseudonyms.
>
> * CNCF has clarified[3] that the real name is simply the identity
> the contributor chooses to use in the context of the community
> and does not have to be a legal name, nor birth name, nor appear
> on any government ID.
>
> Since we have no intention of ever routinely checking any form of ID
> documents for contributors[4], realistically we have no way of knowing
> anything about the name they are using, except through chance, or
> through the contributor volunteering the information. IOW, we almost
> certainly already have people using pseudonyms for contributions.
>
> This proposes to accept that reality and eliminate unnecessary friction,
> by following Linux & the CNCF in merely asking that a contributors'
> commonly known identity, of their choosing, be used with the SoB line.
>
> [1] Raised in many contexts at many times, but a decent overall summary
> can be read at https://drewdevault.com/2023/10/31/On-real-names.html
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330
> [3] https://github.com/cncf/foundation/blob/659fd32c86dc/dco-guidelines.md
> [4] Excluding the rare GPG key signing parties for regular maintainers
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
> Acked-by: Peter Maydell <peter.maydell@linaro.org>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> Acked-by: Richard Henderson <richard.henderson@linaro.org>
> Message-Id: <20241021190939.1482466-1-berrange@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> docs/devel/submitting-a-patch.rst | 7 ++++++-
> .gitlab-ci.d/check-dco.py | 5 ++++-
> 2 files changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst
> index 83e9092b8c..10b062eec2 100644
> --- a/docs/devel/submitting-a-patch.rst
> +++ b/docs/devel/submitting-a-patch.rst
> @@ -18,7 +18,7 @@ one-shot fix, the bare minimum we ask is that:
>
> * - Check
> - Reason
> - * - Patches contain Signed-off-by: Real Name <author@email>
> + * - Patches contain Signed-off-by: Your Name <author@email>
> - States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed_off_by_line`
> * - Sent as patch emails to ``qemu-devel@nongnu.org``
> - The project uses an email list based workflow. See :ref:`submitting_your_patches`
> @@ -335,6 +335,11 @@ include a "From:" line in the body of the email (different from your
> envelope From:) that will give credit to the correct author; but again,
> that author's Signed-off-by: line is mandatory, with the same spelling.
>
> +The name used with "Signed-off-by" does not need to be your legal name,
> +nor birth name, nor appear on any government ID. It is the identity you
> +choose to be known by in the community, but should not be anonymous,
> +nor misrepresent whom you are.
> +
> There are various tooling options for automatically adding these tags
> include using ``git commit -s`` or ``git format-patch -s``. For more
> information see `SubmittingPatches 1.12
> diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
> index d221b16bd5..70dec7d6ee 100755
> --- a/.gitlab-ci.d/check-dco.py
> +++ b/.gitlab-ci.d/check-dco.py
> @@ -78,7 +78,10 @@
>
> To indicate acceptance of the DCO every commit must have a tag
>
> - Signed-off-by: REAL NAME <EMAIL>
> + Signed-off-by: YOUR NAME <EMAIL>
> +
> +where "YOUR NAME" is your commonly known identity in the context
> +of the community.
>
> This can be achieved by passing the "-s" flag to the "git commit" command.
>
> --
> 2.39.5
^ permalink raw reply [flat|nested] 79+ messages in thread
end of thread, other threads:[~2024-11-26 21:27 UTC | newest]
Thread overview: 79+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-21 16:57 [PATCH 00/39] maintainer updates for -rc2 pre-PR Alex Bennée
2024-11-21 16:57 ` [PATCH 01/39] tests/functional: fix mips64el test to honour workdir Alex Bennée
2024-11-21 16:57 ` [PATCH 02/39] tests/functional: automatically clean up scratch files after tests Alex Bennée
2024-11-21 16:57 ` [PATCH 03/39] tests/functional: remove "AVOCADO" from env variable name Alex Bennée
2024-11-21 16:57 ` [PATCH 04/39] tests/functional: remove todo wrt avocado.utils.wait_for Alex Bennée
2024-11-21 16:57 ` [PATCH 05/39] tests/functional: remove leftover :avocado: tags Alex Bennée
2024-11-21 16:57 ` [PATCH 06/39] tests/functional: remove obsolete reference to avocado bug Alex Bennée
2024-11-21 16:57 ` [PATCH 07/39] tests/functional: remove comments talking about avocado Alex Bennée
2024-11-21 19:03 ` Pierrick Bouvier
2024-11-21 16:57 ` [PATCH 08/39] tests/functional: honour self.workdir in ACPI bits tests Alex Bennée
2024-11-21 16:57 ` [PATCH 09/39] tests/functional: put QEMUMachine logs in testcase log directory Alex Bennée
2024-11-21 16:57 ` [PATCH 10/39] tests/functional: honour requested test VM name in QEMUMachine Alex Bennée
2024-11-21 16:57 ` [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine Alex Bennée
2024-11-21 19:02 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 12/39] tests/functional: logs details of console interaction operations Alex Bennée
2024-11-21 19:03 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 13/39] tests/functional: don't try to wait for the empty string Alex Bennée
2024-11-21 19:04 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 14/39] tests/functional: require non-NULL success_message for console wait Alex Bennée
2024-11-21 19:24 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 15/39] tests/functional: rewrite console handling to be bytewise Alex Bennée
2024-11-21 16:57 ` [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests Alex Bennée
2024-11-21 19:39 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests Alex Bennée
2024-11-21 19:41 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Alex Bennée
2024-11-22 10:19 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 19/39] tests/functional: Convert the Avocado aarch64 tuxrun tests Alex Bennée
2024-11-21 16:57 ` [PATCH 20/39] tests/functional: update the arm " Alex Bennée
2024-11-22 10:22 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 21/39] tests/functional: update the aarch64 " Alex Bennée
2024-11-21 19:08 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 22/39] tests/functional: update the i386 " Alex Bennée
2024-11-22 11:17 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 23/39] tests/functional: add a m68k " Alex Bennée
2024-11-21 19:07 ` Thomas Huth
2024-11-22 10:16 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 24/39] tests/functional: update the mips32 " Alex Bennée
2024-11-22 10:08 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 25/39] tests/functional: update the mips32el " Alex Bennée
2024-11-22 10:09 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 26/39] tests/functional: update the mips64 " Alex Bennée
2024-11-22 10:09 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 27/39] tests/functional: update the mips64el " Alex Bennée
2024-11-22 10:11 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 28/39] tests/functional: update the ppc32 " Alex Bennée
2024-11-22 10:42 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 29/39] tests/functional: update the ppc64 " Alex Bennée
2024-11-22 9:52 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 30/39] tests/functional: update the riscv32 " Alex Bennée
2024-11-22 10:58 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 31/39] tests/functional: update the riscv64 " Alex Bennée
2024-11-22 11:02 ` Thomas Huth
2024-11-21 16:57 ` [PATCH 32/39] tests/functional: update the s390x " Alex Bennée
2024-11-22 11:00 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 33/39] tests/functional: update the sparc64 " Alex Bennée
2024-11-22 11:02 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 34/39] tests/functional: update the x86_64 " Alex Bennée
2024-11-22 11:15 ` Thomas Huth
2024-11-21 16:58 ` [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus Alex Bennée
2024-11-22 19:31 ` Richard Henderson
2024-11-21 16:58 ` [PATCH 36/39] plugins: detect qemu plugin API symbols from header Alex Bennée
2024-11-21 16:58 ` [PATCH 37/39] plugins: eradicate qemu-plugins.symbols static file Alex Bennée
2024-11-21 16:58 ` [PATCH 38/39] rust/pl011: Fix range checks for device ID accesses Alex Bennée
2024-11-21 16:58 ` [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Alex Bennée
2024-11-26 4:55 ` Ani Sinha
2024-11-26 21:27 ` Michael S. Tsirkin
2024-11-21 17:19 ` [PATCH 00/39] maintainer updates for -rc2 pre-PR Peter Maydell
2024-11-21 17:31 ` Alex Bennée
2024-11-22 10:45 ` Thomas Huth
2024-11-23 15:29 ` Alex Bennée
2024-11-21 19:03 ` Cédric Le Goater
2024-11-21 19:10 ` Thomas Huth
2024-11-21 21:46 ` Cédric Le Goater
2024-11-22 10:47 ` Thomas Huth
2024-11-22 11:59 ` Cédric Le Goater
2024-11-22 12:32 ` Thomas Huth
2024-11-22 13:03 ` Cédric Le Goater
2024-11-22 10:14 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).