Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-35356

TestIngressControllerRouteSelectorUpdateShouldClearRouteStatus the object has been modified flake

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.17
    • Networking / router
    • Moderate
    • No
    • 3
    • NE Sprint 255
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A (Internal Fix)
    • Release Note Not Required
    • Done

      Description of problem:

      TestIngressControllerRouteSelectorUpdateShouldClearRouteStatus is flaking because sometimes the IngressController gets modified after the E2E test retrieved the state of the IngressController object, we get this error when trying to apply changes: 
      
      === NAME  TestAll/parallel/TestIngressControllerRouteSelectorUpdateShouldClearRouteStatus
          router_status_test.go:134: failed to update ingresscontroller: Operation cannot be fulfilled on ingresscontrollers.operator.openshift.io "ic-route-selector-test": the object has been modified; please apply your changes to the latest version and try again
      
      We should use updateIngressControllerSpecWithRetryOnConflict to repeatedly attempt to update the IngressController while refreshing the state.

      Version-Release number of selected component (if applicable):

      4.17

      How reproducible:

       

      Steps to Reproduce:

      1. Run TestIngressControllerRouteSelectorUpdateShouldClearRouteStatus E2E test 
      

      Actual results:

      === NAME TestAll/parallel/TestIngressControllerRouteSelectorUpdateShouldClearRouteStatus router_status_test.go:134: failed to update ingresscontroller: Operation cannot be fulfilled on ingresscontrollers.operator.openshift.io "ic-route-selector-test": the object has been modified; please apply your changes to the latest version and try again

      Expected results:

      Test should pass

      Additional info:

      Example Flake

      Search.CI Link

            gspence@redhat.com Grant Spence
            gspence@redhat.com Grant Spence
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: