From dbc8fd4956cbfb2fd045a2b8d47b12c8ec3002aa Mon Sep 17 00:00:00 2001 From: Jaroslava Fiedlerova Date: Mon, 25 Nov 2024 18:03:32 +0100 Subject: [PATCH] CI: increase timeout for OC CN deployment Occasionally, the CN deployment takes longer than 60 seconds to complete successfully. As a result, the CI reports failure, even when all other test stages pass (e.g., gNB attaches to the CN, UE connects, and iperf tests succeed). --- ci-scripts/cls_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/cls_cluster.py b/ci-scripts/cls_cluster.py index 503529d256..4b5f6807c3 100644 --- a/ci-scripts/cls_cluster.py +++ b/ci-scripts/cls_cluster.py @@ -73,7 +73,7 @@ def OC_deploy_CN(cmd, ocUserName, ocPassword, ocNamespace, path): if not succeeded: return False, CONST.OC_LOGIN_FAIL cmd.run('helm uninstall oai5gcn --wait --timeout 60s') - ret = cmd.run(f'helm install --wait --timeout 60s oai5gcn {path}/ci-scripts/charts/oai-5g-basic/.') + ret = cmd.run(f'helm install --wait --timeout 120s oai5gcn {path}/ci-scripts/charts/oai-5g-basic/.') if ret.returncode != 0: logging.error('OC OAI CN5G: Deployment failed') OC_logout(cmd)