-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.17
-
Moderate
-
No
-
3
-
NE Sprint 255
-
1
-
Rejected
-
False
-
-
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:
- is related to
-
OCPBUGS-36340 TestIngressControllerNamespaceSelectorUpdateShouldClearRouteStatus "Operation cannot be fulfilled" error
- MODIFIED
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update