Skip to contentSkip to conversation

x86: Increase timeout for vmx_vmcs_shadow_test

PATCH Applied David Matlack 2 participants 2 messages Dec 13, 2021 – Dec 14, 2021 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Increase timeout for vmx_vmcs_shadow_test

When testing with debug kernels (e.g. CONFIG_DEBUG_VM) vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up taking about 120s to complete (on a barmetal host), so increase the timeout to 180s.

---
 x86/unittests.cfg | 1 +
 1 file changed, 1 insertion(+)
x86/unittests.cfg +1 -0
index 3000e53c790f..133a2a1501dd 100644
@@ -346,6 +346,7 @@ file = vmx.flat
 extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
 arch = x86_64
 groups = vmx
+timeout = 180
 
 [debug]
 file = debug.flat

base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2

Signature · 1 line
2.34.1.173.g76aa8bc2d0-goog
maintainer Applied
#1 lore raw
Quoted 23 lines · David Matlack

When testing with debug kernels (e.g. CONFIG_DEBUG_VM) vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up taking about 120s to complete (on a barmetal host), so increase the timeout to 180s.

---
  x86/unittests.cfg | 1 +
  1 file changed, 1 insertion(+)
x86/unittests.cfg +1 -0
index 3000e53c790f..133a2a1501dd 100644
@@ -346,6 +346,7 @@ file = vmx.flat
  extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
  arch = x86_64
  groups = vmx
+timeout = 180
 
  [debug]
  file = debug.flat
Quoted 2 lines

base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2

Applied, thanks.

Paolo