Fix intermittent failures on-demand KPI job 57/141057/1
authorhalil.cakal <halil.cakal@est.tech>
Wed, 28 May 2025 11:15:37 +0000 (12:15 +0100)
committerhalil.cakal <halil.cakal@est.tech>
Fri, 30 May 2025 10:37:25 +0000 (11:37 +0100)
commit835a9024d524a48e2875645882c24712c5d176f8
tree9628cc5a4f09f1e70d4da640e0c31f593bf7de89
parent84f8fdd66082f1662f99121162fbc98f1a3df870
Fix intermittent failures on-demand KPI job

- On-demand KPI jobs fails frequently since cps-and-ncmp sometimes got
  "Connection refused" error that means the PostgreSQL isn't fully ready
 yet.
- Give more time to db to start (210s), previously it was 30s
- Change healthcheck interval from 10s to 2s
- Reduce the timeout of healtchecks from 10s to 1s
- Store db container logs to investigate further
- cps-and-ncmp waits for db until its fully ready before make connection

Issue-ID: CPS-2694

Change-Id: Ie6362741f98222eec58892734190b1ee0fff148e
Signed-off-by: halil.cakal <halil.cakal@est.tech>
docker-compose/cps-base.yml
k6-tests/make-logs.sh