Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: retry rollout latest on update conflicts #11482

Merged
merged 1 commit into from
Dec 9, 2016
Merged

test: retry rollout latest on update conflicts #11482

merged 1 commit into from
Dec 9, 2016

Conversation

0xmichalis
Copy link
Contributor

Fixes #11477

[test]

@0xmichalis
Copy link
Contributor Author

@mfojtik

@0xmichalis
Copy link
Contributor Author

#11094 [test]

@0xmichalis
Copy link
Contributor Author

[test]

1 similar comment
@mfojtik
Copy link
Contributor

mfojtik commented Oct 25, 2016

[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to ab40017

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10827/) (Base Commit: c3fc160)

@0xmichalis
Copy link
Contributor Author

@mfojtik mind tagging?

@mfojtik
Copy link
Contributor

mfojtik commented Oct 31, 2016

@Kargakis why are we not protecting from the conflicts in oc rollout latest code? as an end-user I want to rollout and don't want to retry because something updated my config.

@0xmichalis
Copy link
Contributor Author

Not always true. Most update conflicts happen due to the dc controller
updating the status of the deployment config. So someone could argue that
they would want to retry in such a case.

On Mon, Oct 31, 2016 at 2:54 PM, Michal Fojtik notifications@github.com
wrote:

@Kargakis https://github.com/kargakis why are we not protecting from
the conflicts in oc rollout latest code? as an end-user I want to rollout
and don't want to retry because something updated my config.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11482 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuFf5p4x93gXB5VrQiEbg2k-_0L7O8Hks5q5fL4gaJpZM4KdA15
.

@mfojtik
Copy link
Contributor

mfojtik commented Oct 31, 2016

@Kargakis is there a case when they don't want to retry? end users don't know about controller updating the status and I can argue that don't care when they just created the DC.

@0xmichalis
Copy link
Contributor Author

@Kargakis is there a case when they don't want to retry? end users don't know about controller updating the status and I can argue that don't care when they just created the DC.

I can't think of any.

@mfojtik
Copy link
Contributor

mfojtik commented Oct 31, 2016

@Kargakis i'm ok with this to fix flaky tests for now but we should add TODO and create issue to add retrying into rollout latest (in upstream). WDYT?

@0xmichalis
Copy link
Contributor Author

@mfojtik there is no rollout latest upstream. I have proposed somewhere to use GuaranteedUpdate in instantiate (similar to how the upstream rollback REST uses GuaranteedUpdate for rollbacks) but we really need to think if it's 100% correct to do so.

@0xmichalis
Copy link
Contributor Author

@mfojtik merge this?

@mfojtik
Copy link
Contributor

mfojtik commented Dec 6, 2016

[merge]

@0xmichalis
Copy link
Contributor Author

#12155 [merge]

@mfojtik
Copy link
Contributor

mfojtik commented Dec 6, 2016

flake: #11004

[merge]

@0xmichalis
Copy link
Contributor Author

#11004 and #12072 [merge]

@0xmichalis
Copy link
Contributor Author

flake is #12157

@0xmichalis
Copy link
Contributor Author

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Dec 7, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10827/) (Image: devenv-rhel7_5515)

@0xmichalis 0xmichalis added the lgtm Indicates that a PR is ready to be merged. label Dec 8, 2016
@0xmichalis
Copy link
Contributor Author

#8571 [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to ab40017

@openshift-bot openshift-bot merged commit 81af607 into openshift:master Dec 9, 2016
@0xmichalis 0xmichalis deleted the flaky-test branch December 9, 2016 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants