Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
# A local path can be used for developing or testing local changes. Make
# sure the submodules in a local libvirt checkout are populated.
libvirt-src = {
# url = "git+file:<path/to/libvirt>?submodules=1";
url = "git+https://github.com/cyberus-technology/libvirt?ref=gardenlinux&submodules=1";
# url = "git+ssh://git@gitlab.cyberus-technology.de/cyberus/cloud/libvirt?ref=managedsave-fix&submodules=1";
url = "git+file:/home/pschuster/dev/libvirt?submodules=1";
# url = "git+https://github.com/cyberus-technology/libvirt?ref=gardenlinux&submodules=1";
# url = "git+ssh://git@gitlab.cyberus-technology.de/pschuster/libvirt?ref=poc-migration-statistics&submodules=1";
flake = false;
};
cloud-hypervisor-src = {
# url = "git+file:<path/to/cloud-hypervisor>";
url = "github:cyberus-technology/cloud-hypervisor?ref=gardenlinux";
url = "git+file:/home/pschuster/dev/cloud-hypervisor";
# url = "github:phip1611/cloud-hypervisor?ref=poc-migration-statistics";
flake = false;
};
edk2-src = {
Expand Down
57 changes: 4 additions & 53 deletions tests/testscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,9 +1096,11 @@ def test_live_migration_virsh_non_blocking(self):
controllerVM.succeed(
"screen -dmS migrate virsh migrate --domain testvm --desturi ch+tcp://computeVM/session --persistent --live --p2p --parallel --parallel-connections 4"
)

# Wait a moment to let the migration start
time.sleep(2)
breakpoint()
out = controllerVM.succeed("virsh domjobinfo testvm")
print(out)

# Check that 'virsh list' can be done without blocking
self.assertLess(
Expand Down Expand Up @@ -2154,59 +2156,8 @@ def test_list_cpu_models(self):
def suite():
# Test cases sorted by their need of hugepages and in alphabetical order.
testcases = [
# We allocate hugepages first and then execute all functions that
# need hugepages on both hosts.
LibvirtTests.allocate_hugepages,
LibvirtTests.test_live_migration_with_hugepages,
# Free the hugepages on the computeVM and execute tests that use or
# need hugepages only on the controllerVM.
LibvirtTests.free_hugepages_compute,
LibvirtTests.test_hugepages,
LibvirtTests.test_hugepages_prefault,
LibvirtTests.test_live_migration_with_hugepages_failure_case,
LibvirtTests.test_numa_hugepages,
LibvirtTests.test_numa_hugepages_prefault,
# Finally we free the hugepages on the controllerVM and execute the
# remaining tests.
LibvirtTests.free_hugepages_controller,
LibvirtTests.test_bdf_domain_defs_in_sync_after_transient_hotplug,
LibvirtTests.test_bdf_domain_defs_in_sync_after_transient_unplug,
LibvirtTests.test_bdf_explicit_assignment,
LibvirtTests.test_bdf_implicit_assignment,
LibvirtTests.test_bdf_invalid_device_id,
LibvirtTests.test_bdf_valid_device_id_with_function_id,
LibvirtTests.test_bdfs_implicitly_assigned_same_after_recreate,
LibvirtTests.test_cirros_image,
LibvirtTests.test_disk_is_locked,
LibvirtTests.test_disk_resize_qcow2,
LibvirtTests.test_disk_resize_raw,
LibvirtTests.test_hotplug,
LibvirtTests.test_libvirt_event_stop_failed,
LibvirtTests.test_libvirt_restart,
LibvirtTests.test_libvirt_default_net_prefix_triggers_desynchronizing,
LibvirtTests.test_list_cpu_models,
LibvirtTests.test_live_migration,
LibvirtTests.test_live_migration_kill_chv_on_receiver_side,
LibvirtTests.test_live_migration_kill_chv_on_sender_side,
LibvirtTests.test_live_migration_parallel_connections,
LibvirtTests.test_live_migration_tls,
LibvirtTests.test_live_migration_tls_without_certificates,
LibvirtTests.test_live_migration_virsh_non_blocking,
LibvirtTests.test_live_migration_with_hotplug,
LibvirtTests.test_live_migration_with_hotplug_and_virtchd_restart,
LibvirtTests.test_live_migration_with_serial_tcp,
LibvirtTests.test_live_migration_with_vcpu_pinning,
LibvirtTests.test_managedsave,
LibvirtTests.test_network_hotplug_attach_detach_persistent,
LibvirtTests.test_network_hotplug_attach_detach_transient,
LibvirtTests.test_network_hotplug_persistent_transient_detach_vm_restart,
LibvirtTests.test_network_hotplug_persistent_vm_restart,
LibvirtTests.test_network_hotplug_transient_vm_restart,
LibvirtTests.test_numa_topology,
LibvirtTests.test_serial_file_output,
LibvirtTests.test_serial_tcp,
LibvirtTests.test_shutdown,
LibvirtTests.test_virsh_console_works_with_pty,
# LibvirtTests.test_live_migration,
]

suite = unittest.TestSuite()
Expand Down
Loading