From baf9c104249b5ae30b2d1376a10deb0b08d45c19 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Oct 12 2022 08:35:02 +0000 Subject: Increase QEMU_MAX_MIGRATION_TIME to avoid incomplete tests We see tests periodically come up incomplete with this: "Migrate to file failed, it has been running for more than 240 seconds" Turns out there's a setting for this, so...let's set it. I don't think there's really a bug here, just when our workers are busy, these migrations can take longer than expected. Signed-off-by: Adam Williamson --- diff --git a/templates.fif.json b/templates.fif.json index ab57fe2..196ee21 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -9,9 +9,10 @@ "QEMUCPUS": "2", "QEMURAM": "3072", "QEMUVGA": "virtio", + "QEMU_MAX_MIGRATION_TIME": "480", + "QEMU_VIRTIO_RNG": "1", "XRES": "1024", "YRES": "768", - "QEMU_VIRTIO_RNG": "1", "WORKER_CLASS": "qemu_x86_64" } }, @@ -23,6 +24,7 @@ "QEMUCPUS": "2", "QEMUMACHINE": "virt", "QEMURAM": "1024", + "QEMU_MAX_MIGRATION_TIME": "480", "QEMU_NO_KVM": "1", "QEMU_VIRTIO_RNG": "1", "SERIALDEV": "ttyAMA0", @@ -40,6 +42,7 @@ "QEMUCPUS": "2", "QEMUMACHINE": "virt,gic-version=max", "QEMURAM": 3072, + "QEMU_MAX_MIGRATION_TIME": "480", "QEMU_VIRTIO_RNG": "1", "SERIALDEV": "ttyAMA0", "TIMEOUT_SCALE": "1.5", @@ -59,6 +62,7 @@ "QEMUCPU": "host", "QEMURAM": 4096, "QEMUVGA": "std", + "QEMU_MAX_MIGRATION_TIME": "480", "QEMU_VIRTIO_RNG": "1", "WORKER_CLASS": "qemu_ppc64le" } @@ -74,6 +78,7 @@ "QEMUVGA": "virtio", "XRES": "1024", "YRES": "768", + "QEMU_MAX_MIGRATION_TIME": "480", "QEMU_VIRTIO_RNG": "1", "UEFI": "1", "UEFI_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE.fd",