From 5c8db0ea7fd443d74c84c323e5dca515fdeb9d0f Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 25 Aug 2022 10:45:03 +0200 Subject: [PATCH] ci: increase timeout for python packages install test On the build runners, the installation frequently takes around 150 seconds, which is above the current timeout. This change increases the timeout. Closes IDFCI-1436 --- tools/test_idf_tools/test_idf_tools_python_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_idf_tools/test_idf_tools_python_env.py b/tools/test_idf_tools/test_idf_tools_python_env.py index 3d2da27ef1..9c335784aa 100644 --- a/tools/test_idf_tools/test_idf_tools_python_env.py +++ b/tools/test_idf_tools/test_idf_tools_python_env.py @@ -34,7 +34,7 @@ class TestPythonInstall(unittest.TestCase): def run_idf_tools(self, extra_args): # type: (List[str]) -> str args = [sys.executable, '../idf_tools.py'] + extra_args - ret = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=120) + ret = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=300) decoded_output = ret.stdout.decode('utf-8', 'ignore') with open(os.path.join(IDF_PATH, 'tools', 'test_idf_tools', 'test_python_env_logs.txt'), 'a+') as w: # stack() returns list of callers frame records. [1] represent caller of this function