From 285ca57378de8943f9ecc29cad4c4b1d4d2eb53c Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Thu, 18 Apr 2024 14:29:15 +0530 Subject: [PATCH] qa/vstart_runner: increase timeout for vstart.sh command Since the timeout bug was fixed (https://tracker.ceph.com/issues/65533) "Ceph API tests" sometimes fails because vstart.sh command had to be aborted due to timeout. Currently, "timeout" is set to 300 seconds which sometimes is not enough for vstart.sh to run successfully for "Ceph API tests" CI job. 180 seconds usually suffices for vstart.sh to run successfully when used for CephFS. Increase value of "timeout" to avoid such failures on "Ceph API tests" CI. Fixes: https://tracker.ceph.com/issues/65565 Signed-off-by: Rishabh Dave (cherry picked from commit f779b428689ea245aa0c978732c468860520c609) (cherry picked from commit 5a8a9df401663ca48b0031104d00ea0e4b636165) Conflicts: qa/tasks/vstart_runner.py - accept the incoming changes --- qa/tasks/vstart_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index 7aa9ac680c2c4..4fcd0cfe1bb19 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -1393,7 +1393,7 @@ def exec_test(): log.info('\nrunning vstart.sh now...') # usually, i get vstart.sh running completely in less than 100 # seconds. - remote.run(args=args, env=vstart_env, timeout=(3 * 60)) + remote.run(args=args, env=vstart_env, timeout=(10 * 60)) log.info('\nvstart.sh finished running') # Wait for OSD to come up so that subsequent injectargs etc will -- 2.39.5