Repository navigation
Fix extended networking service tests to retry updates on conflict - #14201
Conversation
|
@ncdc does any of this ring a bell? did the rebase land something like this? Do we need to update other tests that do similar things? |
|
@stevekuznetsov retrying on conflict is generally a good thing to do. I don't recall offhand what, if anything, might have started mutating the pod in 1.6. You can check the master api logs for PUT and PATCH requests and see if you can find a culprit. |
Everything is supposed to be retrying-on-update anyway. Hopefully the reason it didn't break anywhere else is because everywhere else was already doing it right.
There are 2 PUTs to the pod's /status right after creation, but I don't know if that's new. |
|
Code looks good. Will test manually |
|
[merge] |
|
[Test]ing while waiting on the merge queue |
ca9191a to
e2845b5
Compare
|
flake #14245 [test] |
|
flake #14236 [test] |
|
Evaluated for origin test up to e2845b5 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1566/) (Base Commit: 74e1a68) |
|
Evaluated for origin merge up to e2845b5 |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/720/) (Base Commit: cced181) (Image: devenv-rhel7_6247) |
Service tests are currently flaking because apparently the endpoints controller believes that there are no pods (even un-ready ones) backing the service sometimes:
The code in the test updates the pod without retrying-on-failure; something must have changed elsewhere recently that causes some other part of the code to update new pods immediately after creation (or at least changed the timing of an existing potential conflict that we were reliably avoiding).
Fixes #14197
(hopefully)
@openshift/networking @smarterclayton @stevekuznetsov