* [PATCH] tests/avocado/migration: Remove the malfunctioning s390x tests
@ 2023-07-21 16:43 Thomas Huth
2023-07-24 9:03 ` Juan Quintela
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2023-07-21 16:43 UTC (permalink / raw)
To: qemu-devel, Philippe Mathieu-Daudé, Juan Quintela
Cc: qemu-s390x, Peter Xu, Leonardo Bras, Cleber Rosa,
Wainer dos Santos Moschetta, Beraldo Leal,
Daniel P . Berrangé
The tests from tests/avocado/migration.py do not work at all
on s390x - the bios shuts down immediately when it cannot find
a boot disk, so there is nothing left to migrate here. For doing
a proper migration test, we would need a proper payload, but we
already do such tests in the migration *qtest*, so it is unnecessary
to redo such a test here, thus let's simply remove this test.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
I'm tempted to remove this file completely - what test coverage do
we get here that we don't get by tests/qtest/migration-test.c already?
tests/avocado/migration.py | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/tests/avocado/migration.py b/tests/avocado/migration.py
index 8b2ec0e3c4..fdc1d234fb 100644
--- a/tests/avocado/migration.py
+++ b/tests/avocado/migration.py
@@ -134,21 +134,3 @@ def test_migration_with_unix(self):
def test_migration_with_exec(self):
self.migration_with_exec()
-
-
-@skipUnless('s390x' in os.uname()[4], "host != target")
-class S390X(MigrationTest):
- """
- :avocado: tags=arch:s390x
- :avocado: tags=machine:s390-ccw-virtio
- :avocado: tags=cpu:qemu
- """
-
- def test_migration_with_tcp_localhost(self):
- self.migration_with_tcp_localhost()
-
- def test_migration_with_unix(self):
- self.migration_with_unix()
-
- def test_migration_with_exec(self):
- self.migration_with_exec()
--
2.39.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tests/avocado/migration: Remove the malfunctioning s390x tests
2023-07-21 16:43 [PATCH] tests/avocado/migration: Remove the malfunctioning s390x tests Thomas Huth
@ 2023-07-24 9:03 ` Juan Quintela
0 siblings, 0 replies; 2+ messages in thread
From: Juan Quintela @ 2023-07-24 9:03 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Philippe Mathieu-Daudé, qemu-s390x, Peter Xu,
Leonardo Bras, Cleber Rosa, Wainer dos Santos Moschetta,
Beraldo Leal, Daniel P . Berrangé
Thomas Huth <thuth@redhat.com> wrote:
> The tests from tests/avocado/migration.py do not work at all
> on s390x - the bios shuts down immediately when it cannot find
> a boot disk, so there is nothing left to migrate here. For doing
> a proper migration test, we would need a proper payload, but we
> already do such tests in the migration *qtest*, so it is unnecessary
> to redo such a test here, thus let's simply remove this test.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
> ---
> I'm tempted to remove this file completely - what test coverage do
> we get here that we don't get by tests/qtest/migration-test.c already?
Nothing new there, just three small tests. That are included in
migration-test.c
I agree we can drop it if we want to.
Later, Juan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-24 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 16:43 [PATCH] tests/avocado/migration: Remove the malfunctioning s390x tests Thomas Huth
2023-07-24 9:03 ` Juan Quintela
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).