From: Vratko Polak Date: Tue, 28 Sep 2021 13:58:53 +0000 (+0200) Subject: MLRsearch: Increase timeout to 20 minutes X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=31df68a76b1f9ce981a4fa28fe79ba9c1af458b4;hp=6d117db97736edd6cfcfe6617775035bd2747ca5 MLRsearch: Increase timeout to 20 minutes There are sporadic failures due to timeout. An earlier edit changed how the timeout is applied (now it is for the whole search, previously it was for final phase only) so failures are not unexpected. Increasing timeout value from 12 minutes to 20 minutes (both for NDRPDR and for NDR part of RECONF) as the frequency shows it will not prolong runs much. The timeout is increased both in Robot call site and in Python keyword default argument. Change-Id: I3f07125ba9eeb90ce5819b1450044441b8b3977a Signed-off-by: Vratko Polak --- diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index a26d0fa21d..b2748f74ba 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -1465,7 +1465,7 @@ class OptimizedSearch: final_trial_duration=30.0, initial_trial_duration=1.0, number_of_intermediate_phases=2, - timeout=720.0, + timeout=1200.0, ppta=1, resetter=None, traffic_directions=2, diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index 33bd31f758..8de74c5707 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -154,7 +154,7 @@ | | ... | final_trial_duration=${30.0} | | ... | initial_trial_duration=${1.0} | | ... | number_of_intermediate_phases=${2} -| | ... | timeout=${720.0} +| | ... | timeout=${1200.0} | | ... | ppta=${ppta} | | ... | resetter=${resetter} | | ... | traffic_directions=${traffic_directions} @@ -241,7 +241,7 @@ | | ... | final_trial_duration=${10.0} | | ... | initial_trial_duration=${1.0} | | ... | number_of_intermediate_phases=${1} -| | ... | timeout=${720} +| | ... | timeout=${1200} | | ... | ppta=${ppta} | | ... | resetter=${resetter} | | ... | traffic_directions=${traffic_directions}