capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
79 stars 19 forks source link

Unstable k3d integration tests - Capact Helm chart installation fails #723

Open pkosiec opened 2 years ago

pkosiec commented 2 years ago

Description

Unfortunately, the integration tests on k3d introduced in #492 (PR: https://github.com/capactio/capact/pull/718) are unstable on our pipeline. I saw multiple failures because of the same reason:

• Installing capact Helm chart [started 11:42 UTC]
Error: All attempts fail:
 ✗ Installing capact Helm chart [took 4s]
#1: while installing Helm chart [capact]: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "[https://ingress-nginx-controller-admission.capact-system.svc:443/networking/v1beta1/ingresses?timeout=10s](https://ingress-nginx-controller-admission.capact-system.svc/networking/v1beta1/ingresses?timeout=10s)": dial tcp 10.43.112.55:443: connect: connection refused
#2: while installing Helm chart [capact]: failed to create resource: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "[https://ingress-nginx-controller-admission.capact-system.svc:443/networking/v1beta1/ingresses?timeout=10s](https://ingress-nginx-controller-admission.capact-system.svc/networking/v1beta1/ingresses?timeout=10s)": dial tcp 10.43.112.55:443: connect: connection refused
#3: while installing Helm chart [capact]: failed to create resource: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": Post "[https://ingress-nginx-controller-admission.capact-system.svc:443/networking/v1beta1/ingresses?timeout=10s](https://ingress-nginx-controller-admission.capact-system.svc/networking/v1beta1/ingresses?timeout=10s)": dial tcp 10.43.112.55:443: connect: connection refused

Sometimes I needed to run the pipeline 4 times to make it successfully pass.

See the sample runs:

It's worth noting that the PR and commit didn't introduce any changes related to any components run during these integration tests.