From 586c8f7ee641c1a95f370b1448a9ef722d27f57e Mon Sep 17 00:00:00 2001 From: lcheng Date: Fri, 10 Jan 2025 10:36:16 +0800 Subject: [PATCH] migration: Update error message Signed-off-by: lcheng --- .../cfg/migration/async_ops/destroy_vm_during_performphase.cfg | 2 +- .../migration_poweroff_vm.cfg | 2 ++ .../migration_uri/tls_migrate_tls_x509_verify_on_src.cfg | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libvirt/tests/cfg/migration/async_ops/destroy_vm_during_performphase.cfg b/libvirt/tests/cfg/migration/async_ops/destroy_vm_during_performphase.cfg index a31660f2cf..08c1d9eb30 100644 --- a/libvirt/tests/cfg/migration/async_ops/destroy_vm_during_performphase.cfg +++ b/libvirt/tests/cfg/migration/async_ops/destroy_vm_during_performphase.cfg @@ -62,4 +62,4 @@ expected_dest_state = "nonexist" expected_src_state = "shut off" action_during_mig = [{"func": "virsh.destroy", "after_event": "iteration: '1'", "func_param": {"name": "${main_vm}"}}] - err_msg = "domain is not running" + err_msg = "domain is not running|internal error: QEMU unexpectedly closed the monitor" diff --git a/libvirt/tests/cfg/migration/guest_lifecycle_operations_during_migration/migration_poweroff_vm.cfg b/libvirt/tests/cfg/migration/guest_lifecycle_operations_during_migration/migration_poweroff_vm.cfg index b204b0898c..074a4e460a 100644 --- a/libvirt/tests/cfg/migration/guest_lifecycle_operations_during_migration/migration_poweroff_vm.cfg +++ b/libvirt/tests/cfg/migration/guest_lifecycle_operations_during_migration/migration_poweroff_vm.cfg @@ -55,3 +55,5 @@ with_postcopy: poweroff_vm_dest = "yes" virsh_migrate_src_state = "paused" + with_precopy: + err_msg = "domain is not running|internal error: QEMU unexpectedly closed the monitor" diff --git a/libvirt/tests/cfg/migration/migration_uri/tls_migrate_tls_x509_verify_on_src.cfg b/libvirt/tests/cfg/migration/migration_uri/tls_migrate_tls_x509_verify_on_src.cfg index 8811103167..03ff374a0b 100644 --- a/libvirt/tests/cfg/migration/migration_uri/tls_migrate_tls_x509_verify_on_src.cfg +++ b/libvirt/tests/cfg/migration/migration_uri/tls_migrate_tls_x509_verify_on_src.cfg @@ -33,7 +33,7 @@ qemu_conf_path = '/etc/libvirt/qemu.conf' transport_type = "tls" test_case = "migrate_tls_x509_verify_on_src" - err_msg = "Certificate does not match the hostname" + err_msg = "Certificate does not match the hostname|internal error: QEMU unexpectedly closed the monitor" status_error = "yes" qemu_conf_src = '{"default_tls_x509_verify": "0", "migrate_tls_x509_verify": "0"}' virsh_migrate_extra = "--tls"