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
This commit is contained in:
Ivan Grokhotkov
2022-08-25 10:45:03 +02:00
parent c5b094a96f
commit 5c8db0ea7f

View File

@@ -34,7 +34,7 @@ class TestPythonInstall(unittest.TestCase):
def run_idf_tools(self, extra_args): # type: (List[str]) -> str def run_idf_tools(self, extra_args): # type: (List[str]) -> str
args = [sys.executable, '../idf_tools.py'] + extra_args 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') 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: 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 # stack() returns list of callers frame records. [1] represent caller of this function