mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-28 17:45:44 +00:00
tests: Enable live upgrade tests
Following our recent v26.0 release we can re-enable our live upgrade tests to try and make it possible for us to move to making LTS releases. Currently limited to x86-64 as the live upgrade tests fail on aarch64. Fixes: #3949 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
476e30f5cb
commit
31dfe3d02a
@ -46,7 +46,7 @@ fi
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# Download Cloud Hypervisor binary from its last stable release
|
# Download Cloud Hypervisor binary from its last stable release
|
||||||
LAST_RELEASE_VERSION="v23.0"
|
LAST_RELEASE_VERSION="v26.0"
|
||||||
CH_RELEASE_URL="https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$LAST_RELEASE_VERSION/cloud-hypervisor-static"
|
CH_RELEASE_URL="https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$LAST_RELEASE_VERSION/cloud-hypervisor-static"
|
||||||
CH_RELEASE_NAME="cloud-hypervisor-static"
|
CH_RELEASE_NAME="cloud-hypervisor-static"
|
||||||
pushd $WORKLOADS_DIR
|
pushd $WORKLOADS_DIR
|
||||||
|
@ -8927,82 +8927,85 @@ mod live_migration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_basic() {
|
fn test_live_upgrade_basic() {
|
||||||
_test_live_migration(true, false, false, false, false)
|
_test_live_migration(true, false, false, false, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_local() {
|
fn test_live_upgrade_local() {
|
||||||
_test_live_migration(true, false, true, false, false)
|
_test_live_migration(true, false, true, false, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_numa() {
|
fn test_live_upgrade_numa() {
|
||||||
_test_live_migration(true, true, false, false, false)
|
_test_live_migration(true, true, false, false, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_numa_local() {
|
fn test_live_upgrade_numa_local() {
|
||||||
_test_live_migration(true, true, true, false, false)
|
_test_live_migration(true, true, true, false, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_watchdog() {
|
fn test_live_upgrade_watchdog() {
|
||||||
_test_live_migration(true, false, false, true, false)
|
_test_live_migration(true, false, false, true, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_watchdog_local() {
|
fn test_live_upgrade_watchdog_local() {
|
||||||
_test_live_migration(true, false, true, true, false)
|
_test_live_migration(true, false, true, true, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_balloon() {
|
fn test_live_upgrade_balloon() {
|
||||||
_test_live_migration(true, false, false, false, true)
|
_test_live_migration(true, false, false, false, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_live_upgrade_balloon_local() {
|
fn test_live_upgrade_balloon_local() {
|
||||||
_test_live_migration(true, false, true, false, true)
|
_test_live_migration(true, false, true, false, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mod live_migration_sequential {
|
mod live_migration_sequential {
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
// Require to run ovs-dpdk tests sequentially because they rely on the same ovs-dpdk setup
|
// Require to run ovs-dpdk tests sequentially because they rely on the same ovs-dpdk setup
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_live_migration_ovs_dpdk() {
|
fn test_live_migration_ovs_dpdk() {
|
||||||
_test_live_migration_ovs_dpdk(false, false);
|
_test_live_migration_ovs_dpdk(false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_live_migration_ovs_dpdk_local() {
|
fn test_live_migration_ovs_dpdk_local() {
|
||||||
_test_live_migration_ovs_dpdk(false, true);
|
_test_live_migration_ovs_dpdk(false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_live_upgrade_ovs_dpdk() {
|
fn test_live_upgrade_ovs_dpdk() {
|
||||||
_test_live_migration_ovs_dpdk(true, false);
|
_test_live_migration_ovs_dpdk(true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
#[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(not(feature = "mshv"))]
|
#[cfg(not(feature = "mshv"))]
|
||||||
fn test_live_upgrade_ovs_dpdk_local() {
|
fn test_live_upgrade_ovs_dpdk_local() {
|
||||||
_test_live_migration_ovs_dpdk(true, true);
|
_test_live_migration_ovs_dpdk(true, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user