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

MTT: verify flaky in TestIOR

XMLWordPrintable

      IBM was reporting flakiness in this test case. We can see that for 2.2 and 2.3 it's failing all the time in those versions:

      === RUN   TestIOR/check_IOR_does_not_delete_routes_after_deleting_Istio_pod
          ior_test.go:161:    
          ior_test.go:161: STEP 1: Ensure the IOR enabled
          ior_test.go:166:    
          ior_test.go:166: STEP 2: Create 3 Gateways and they are in their own Namespace
          ior_test.go:176:    Creating namespaces: [ns-0 ns-1 ns-2]
          ior_test.go:179:    
          ior_test.go:179: STEP 3: Update SMMR to include 3 Namespaces
          ior_test.go:186:    FATAL: Expect to find 3 Routes but found 4 instead
          subtest.go:23: 
          subtest.go:25: Subtest failed in 83.71s (excluding cleanup)
          test.go:95: Capturing cluster state using must-gather registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:2.4
          test.go:99: /home/jenkins/workspace/maistra/maistra-test-tool/maistra-test-tool/tests/result-20230714112402/v2.3/failures-must-gather/20230714113807-TestIOR-check_IOR_does_not_delete_routes_after_deleting_Istio_pod
          ior_test.go:151: 
          ior_test.go:151: Performing cleanup
          ior_test.go:156:    Deleting namespaces: [ns-0 ns-1 ns-2]
          ior_test.go:151: Cleanup completed in 15.36s
      --- FAIL: TestIOR/check_IOR_does_not_delete_routes_after_deleting_Istio_pod (222.30s)
      
      === RUN   TestIOR/check_IOR_basic_functionalities
          ior_test.go:98:    
          ior_test.go:98: STEP 1: Ensure the IOR enabled
          ior_test.go:103:    
          ior_test.go:103: STEP 2: Check whether the IOR creates Routes for hosts specified in the Gateway
          ior_test.go:53:    Creating Gateway for www.test.ocp host
          ior_test.go:58:    Checking whether a Route is generated for www.test.ocp
          ior_test.go:62:    FATAL: Expect a single route set for www.test.ocp host, but got %!s(int=0) instead
          subtest.go:23: 
          subtest.go:25: Subtest failed in 78.70s (excluding cleanup)
          test.go:95: Capturing cluster state using must-gather registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:2.4
          test.go:99: /home/jenkins/workspace/maistra/maistra-test-tool/maistra-test-tool/tests/result-20230714225100/v2.2/failures-must-gather/20230714231514-TestIOR-check_IOR_basic_functionalities
          ior_test.go:92: 
          ior_test.go:92: Performing cleanup
          ior_test.go:92: Cleanup completed in 0.00s
      --- FAIL: TestIOR/check_IOR_basic_functionalities (384.58s)
      

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

              Created:
              Updated:
              Resolved: