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

setup watches before creating the buildconfig #12702

Merged
merged 1 commit into from
Jan 29, 2017

Conversation

bparees
Copy link
Contributor

@bparees bparees commented Jan 27, 2017

fixes #12017

between the fact that we were watching on builds based on the buildconfig resource version, and that we were starting the watches after the build was potentially created, there was probably a race condition here if the build got created really quickly.

@bparees
Copy link
Contributor Author

bparees commented Jan 27, 2017

@csrwng ptal

@bparees bparees force-pushed the controller_flake branch 4 times, most recently from 60b08f4 to adb9252 Compare January 27, 2017 21:18
@bparees
Copy link
Contributor Author

bparees commented Jan 27, 2017

[test]

@csrwng
Copy link
Contributor

csrwng commented Jan 27, 2017

Passing the wrong resource version to the watch is bad. But regarding the ordering, I don't see how a build would be created by just creating the buildconfig. An imagestreamtag has to be created for a build to be created, and that was getting created after the watch started.

LGTM

@bparees
Copy link
Contributor Author

bparees commented Jan 27, 2017

yeah you're right about the triggering part, I made a quick assumption about what was causing the build to get created that was incorrect. oh well, hopefully it was the resource version issue that was causing the flakes.

[merge]

@bparees bparees force-pushed the controller_flake branch 3 times, most recently from 84f26bf to a24a394 Compare January 28, 2017 18:07
@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 95c082e

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 95c082e

@openshift-bot
Copy link
Contributor

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

@openshift-bot
Copy link
Contributor

openshift-bot commented Jan 29, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13405/) (Base Commit: 5ee0737) (Image: devenv-rhel7_5808)

@openshift-bot openshift-bot merged commit 1397911 into openshift:master Jan 29, 2017
@bparees bparees deleted the controller_flake branch January 30, 2017 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestBuildRunningPodDeleteController flake
3 participants