]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/vstart_runner: increase timeout for vstart.sh command 56974/head
authorRishabh Dave <ridave@redhat.com>
Thu, 18 Apr 2024 08:59:15 +0000 (14:29 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 18 Apr 2024 13:24:19 +0000 (18:54 +0530)
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 <ridave@redhat.com>
(cherry picked from commit f779b428689ea245aa0c978732c468860520c609)

qa/tasks/vstart_runner.py

index 3ef987f4d7c9dfb5462936917c90610568cf5ca1..252184bd663351f15fa3c8d6c54fcba3bcf871ad 100644 (file)
@@ -1399,7 +1399,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=(5 * 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