Closed nirs closed 2 weeks ago
Added another commit to increase argocd test wait timeout, since ti fails consistently now.
CI run succeeded on the first try with 120 seconds timeout: https://github.com/RamenDR/ramen/actions/runs/9616066710
With 60 seconds timeout the first try failed and the second succeeded: https://github.com/RamenDR/ramen/actions/runs/9615087975/job/26523802354
I think the issue is running at the same time we deploy ceph cluster and pool, which is very cpu intensive for some reason.
If we fail in the middle of the argocd test (e.g. timeout waiting for the test app), the next attempt will fail instead of continuing the test.
I reproduced the issue using this change:
Example run reproducing the issue:
Adding the --upsert flag fixes the issue.
The command should be idempotent if the desired spec is the same as the existing spec, which should be the case in the test, but for some reason the spec differ. We need to open argocd issue for this.