]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/cephadm: extend timeout limit again to fix timeout issue
authorRongqi Sun <sunrongqi@huawei.com>
Wed, 17 Apr 2024 08:02:36 +0000 (08:02 +0000)
committerRongqi Sun <sunrongqi@huawei.com>
Tue, 23 Apr 2024 02:26:14 +0000 (02:26 +0000)
When run make check(arm64) on omani series servers,
Shows:
python: timeout after 60 seconds
INFO     root:call_wrappers.py:284 Non-zero exit code 124 from /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/cephadm/.tox/py3/bin/python -c for i in range(1000000): print(i, flush=True)

Seems like 60s is not enough, extend to 300s would be fine.

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
src/cephadm/tests/test_util_funcs.py

index 6d53012f702254cd1d296ee8936ec9c7a76f3da1..92872b196f31966ef38222ea7888ec786cf98bfa 100644 (file)
@@ -558,7 +558,7 @@ class FakeContext:
     with_cephadm_ctx is not appropriate (it enables too many mocks, etc).
     """
 
-    timeout = 60
+    timeout = 300
 
 
 def _has_non_zero_exit(clog):