Skip to content

setup watches before creating the buildconfig - #12702

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
bparees:controller_flake
Jan 29, 2017
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
bparees:controller_flake

Conversation

@bparees

@bparees bparees commented Jan 27, 2017 •

Copy link
Copy Markdown
Contributor

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

bparees commented Jan 27, 2017

Copy link
Copy Markdown
Contributor Author

@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

bparees commented Jan 27, 2017

Copy link
Copy Markdown
Contributor Author

[test]

@csrwng

csrwng commented Jan 27, 2017

Copy link
Copy Markdown
Contributor

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

bparees commented Jan 27, 2017

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

Evaluated for origin merge up to 95c082e

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 95c082e

@openshift-bot

Copy link
Copy Markdown
Contributor

@openshift-bot

openshift-bot commented Jan 29, 2017 •

Copy link
Copy Markdown
Contributor

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