Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-4360

MTT: verify Flaky on Certmanager test case

XMLWordPrintable

      Again we are having some failures in certmanager test case setup that made the complete run fails. We need to fix two things:

      • Avoid failure in setup breaks the test run
      • Add retry to avoid those failures in setup

      Errors on failure:

          test_helper_setup.go:64: Wait for condition jsonpath='{.status.phase}'=Succeeded on csv cert-manager-operator/cert-manager-operator.v1.11.1...
          test_helper_setup.go:64: Wait for condition jsonpath='{.status.phase}'=Succeeded on csv cert-manager-operator/cert-manager-operator.v1.11.1...
          test_helper_setup.go:64: Wait for condition jsonpath='{.status.phase}'=Succeeded on csv cert-manager-operator/cert-manager-operator.v1.11.1...
          test_helper_setup.go:64: Wait for condition jsonpath='{.status.phase}'=Succeeded on csv cert-manager-operator/cert-manager-operator.v1.11.1...
          test_helper_setup.go:64: Wait for condition jsonpath='{.status.phase}'=Succeeded on csv cert-manager-operator/cert-manager-operator.v1.11.1...
          test_helper_setup.go:64: FATAL: Command failed: oc describe -n cert-manager-operator csv/cert-manager-operator.v1.11.1
              Error from server (NotFound): clusterserviceversions.operators.coreos.com "cert-manager-operator.v1.11.1" not found
              error: exit status 1
      panic: FailNow
      
      goroutine 1 [running]:
      github.com/maistra/maistra-test-tool/pkg/util/test.(*setupTestHelper).FailNow(...)
      

            frherrer@redhat.com Francisco Herrera Lira
            frherrer@redhat.com Francisco Herrera Lira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: