Oksana Vohchana
002b24c0c7
Acceptance test: Fix to EXEC migration
...
The exec migration test isn't run a whole test scenario.
This patch fixes it
Fixes: 2e768cb682
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20200325113138.20337-1-ovoshcha@redhat.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-04-06 20:03:14 +02:00
Philippe Mathieu-Daudé
5427ecd4ab
tests/acceptance/migration: Default to -nodefaults
...
We don't need the default options to run this test.
This fixes errors when running a binary built with
--without-default-devices such:
ERROR: qemu-system-arm: Unsupported NIC model: virtio-net-pci
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20200129212345.20547-28-philmd@redhat.com >
[PMD: Rebased]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Philippe Mathieu-Daudé
a091864943
tests/acceptance/migration: Add the 'migration' tag
...
By using an Avocado tag, we can run all tests described by that
tag as once:
$ avocado --show=app run -t migration tests/acceptance/
JOB ID : 165477737509503fcfa6d7108057a0a18f2a6559
JOB LOG : avocado/job-results/job-2020-02-04T17.29-1654777/job.log
(1/3) tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost: PASS (0.38 s)
(2/3) tests/acceptance/migration.py:Migration.test_migration_with_unix: PASS (0.33 s)
(3/3) tests/acceptance/migration.py:Migration.test_migration_with_exec: PASS (0.07 s)
RESULTS : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20200204163304.14616-1-philmd@redhat.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Oksana Vohchana
2e768cb682
tests/acceptance/migration: Test EXEC transport when migrating
...
Along with VM migration via TCP, we can use migration through
the EXEC transport protocol
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20200203111631.18796-3-ovoshcha@redhat.com >
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Oksana Vohchana
b2cf8d4704
tests/acceptance/migration: Test UNIX transport when migrating
...
Along with VM migration via TCP, we can use migration through
the UNIX transport protocol
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20200203111631.18796-3-ovoshcha@redhat.com >
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Oksana Vohchana
63adf16d4f
tests/acceptance/migration: Factor out do_migrate()
...
We are going to reuse this code when testing different transport
methods, so factor it out first.
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20200203111631.18796-2-ovoshcha@redhat.com >
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Oksana Vohchana
d7c9a83344
tests/acceptance/migration: Factor out assert_migration()
...
We are going to reuse this code when testing different transport
methods, so factor it out first
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20200203111631.18796-2-ovoshcha@redhat.com >
[PMD: Split patch in 2, reworded subject and description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2020-02-07 15:12:48 +01:00
Cleber Rosa
7a408b9976
Acceptance tests: drop left over usage of " 🥑 enable"
...
Commit 9531d26c10 removed all of "🥑 enable" tags, but then
a new entry was added with the introduction of migration.py.
Let's remove it for consistency.
Signed-off-by: Cleber Rosa <crosa@redhat.com >
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20190607152223.9467-4-crosa@redhat.com >
Signed-off-by: Cleber Rosa <crosa@redhat.com >
2019-08-28 20:42:16 -04:00
Caio Carrara
a7abb53765
tests.acceptance: adds simple migration test
...
This change adds the simplest possible migration test. Beyond the test
purpose itself it's also useful to exercise the multi virtual machines
capabilities from base avocado qemu test class.
Signed-off-by: Cleber Rosa <crosa@redhat.com >
Signed-off-by: Caio Carrara <ccarrara@redhat.com >
Reviewed-by: Cleber Rosa <crosa@redhat.com >
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Message-Id: <20190212193855.13223-3-ccarrara@redhat.com >
Signed-off-by: Cleber Rosa <crosa@redhat.com >
2019-02-22 14:07:01 -05:00