kudo icon indicating copy to clipboard operation
kudo copied to clipboard

Upgrade test is flaky

Open alenkacz opened this issue 4 years ago • 1 comments

What happened:

https://app.circleci.com/pipelines/github/kudobuilder/kudo/5550/workflows/05b77ccc-9174-4a58-9713-2611aa5bc32c

    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed crds
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed namespace
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed service account
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | error installing: webhook: error when creating resource selfsigned-issuer/kudo-system. Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | Error: error installing: webhook: error when creating resource selfsigned-issuer/kudo-system. Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority

What you expected to happen:

Not fail

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Kudo version (use kubectl kudo version):
  • Operator:
  • operatorVersion:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

alenkacz avatar Nov 10 '20 10:11 alenkacz

I think the only way how to be sure it works is to try to create an issue as per https://cert-manager.io/docs/installation/kubernetes/#verifying-the-installation

We could add that somehow to tests or we could add that to kudo init somehow as well. Thoughts? @ANeumann82

alenkacz avatar Nov 10 '20 11:11 alenkacz