From b3328e96a41e08b9f9b88f4d2b71d6a2c04f0167 Mon Sep 17 00:00:00 2001 From: Jaroslava Fiedlerova Date: Thu, 30 Jan 2025 21:44:19 +0100 Subject: [PATCH] CI: increase healthcheck interval for VNF-PNF deployment The healthcheck interval sets when the first health check occurs after the container starts. Increasing the healthcheck interval helps avoid marking the container as "healthy" during the initialization phase of PNF. In particular, USRP initialization of PNF service may take longer, and deployment failures can occur even after the 10 seconds interval. Extending the healtcheck interval provides more time for the service before assessing container health. --- ci-scripts/yaml_files/5g_sa_n310_4x4_60MHz/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-scripts/yaml_files/5g_sa_n310_4x4_60MHz/docker-compose.yml b/ci-scripts/yaml_files/5g_sa_n310_4x4_60MHz/docker-compose.yml index c349ac0406..0ecba5f39e 100644 --- a/ci-scripts/yaml_files/5g_sa_n310_4x4_60MHz/docker-compose.yml +++ b/ci-scripts/yaml_files/5g_sa_n310_4x4_60MHz/docker-compose.yml @@ -16,7 +16,7 @@ services: - ../../conf_files/gnb-vnf.sa.band77.162prb.nfapi.4x4.conf:/opt/oai-gnb/etc/gnb.conf healthcheck: test: /bin/bash -c "pgrep nr-softmodem" - interval: 10s + interval: 15s timeout: 5s retries: 5 oai-pnf: @@ -36,6 +36,6 @@ services: - ../../conf_files/gnb-pnf.band77.usrpn310.4x4.conf:/opt/oai-gnb/etc/gnb.conf healthcheck: test: /bin/bash -c "pgrep nr-softmodem" - interval: 10s + interval: 15s timeout: 5s retries: 5