[kvm-unit-tests PATCH] x86: Increase access_fep timeout to 300s

Yosry Ahmed posted 1 patch 2 weeks, 5 days ago
x86/unittests.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[kvm-unit-tests PATCH] x86: Increase access_fep timeout to 300s
Posted by Yosry Ahmed 2 weeks, 5 days ago
Commit a1fae402cbc2 ("x86: Set forced emulation access timeouts to 240")
increased the timeout of access_fep to 240. However, the test still
times out on some setups. More specifically, it times out on Icelake
machines with with some debug config options enabled (e.g.
CONFIG_DEBUG_VM, CONFIG_PROVE_LOCKING, ..).

In this specific setup, the test takes slightly over ~280s, so increase
the timeout to 300s. One thing that can be done to avoid running into
this again is separating 4-level and 5-level paging tests into different
targets.

Signed-off-by: Yosry Ahmed <yosry@kernel.org>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 522318d32bf68..397517e37b644 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -123,7 +123,7 @@ arch = x86_64
 test_args = force_emulation
 qemu_params = -cpu max,host-phys-bits
 groups = nodefault
-timeout = 240
+timeout = 300
 
 [access-reduced-maxphyaddr]
 file = access_test.flat
-- 
2.53.0.851.ga537e3e6e9-goog