Skip to contentSkip to conversation

x86: Increase the timeout for the test "vmx_apicv_test"

PATCH Superseded Aaron Lewis 2 participants 3 messages Jul 1, 2024 – Jul 8, 2024 KVM

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Increase the timeout for the test "vmx_apicv_test"

This test can take over 10 seconds to run on IvyBridge in debug. Increase the timeout to give this test the time it needs to complete.

---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -1
index 7c1691a988621..51c063d248e19 100644
@@ -349,7 +349,7 @@ file = vmx.flat
 extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test vmx_basic_vid_test vmx_eoi_virt_test"
 arch = x86_64
 groups = vmx
-timeout = 10
+timeout = 100
 
 [vmx_posted_intr_test]
 file = vmx.flat
Signature · 1 line
2.45.2.803.g4e1b14247a-goog
#1 lore raw
Quoted 2 lines · Aaron Lewis

This test can take over 10 seconds to run on IvyBridge in debug. Increase the timeout to give this test the time it needs to complete.

Heh, there's a pretty big gap between 10 seconds and 100 seconds. Can we tighten the timeout, e.g. to 30 seconds, without risking false failures on IVB?

Quoted 21 lines
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -1
index 7c1691a988621..51c063d248e19 100644
@@ -349,7 +349,7 @@ file = vmx.flat
 extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test vmx_basic_vid_test vmx_eoi_virt_test"
 arch = x86_64
 groups = vmx
-timeout = 10
+timeout = 100
 
 [vmx_posted_intr_test]
 file = vmx.flat
Signature · 1 line
2.45.2.803.g4e1b14247a-goog
#2 lore raw
Quoted 7 lines · Sean Christopherson
Quoted 2 lines · Aaron Lewis

This test can take over 10 seconds to run on IvyBridge in debug. Increase the timeout to give this test the time it needs to complete.

Heh, there's a pretty big gap between 10 seconds and 100 seconds. Can we tighten the timeout, e.g. to 30 seconds, without risking false failures on IVB?

Yeah, 30 seconds should work.

Quoted 22 lines
Quoted 22 lines
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -2
index 7c1691a988621..51c063d248e19 100644
@@ -349,7 +349,7 @@ file = vmx.flat
 extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test vmx_basic_vid_test vmx_eoi_virt_test"
 arch = x86_64
 groups = vmx
-timeout = 10
+timeout = 100
 
 [vmx_posted_intr_test]
 file = vmx.flat
--

2.45.2.803.g4e1b14247a-goog