You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test flake in TestPolicyBasedRestrictionOfBuildCreateAndCloneByStrategy #5410
I1026 20:07:52.886170 28086 controller.go:84] Updated all DeploymentConfigs for trigger on ImageStream integration/builderimage
I1026 20:07:52.888302 28086 image_change_controller.go:47] Build image change controller detected ImageStream change
I1026 20:07:52.987682 28086 controller.go:84] Updated all DeploymentConfigs for trigger on ImageStream integration/builderimage
I1026 20:07:53.006215 28086 helper.go:376] UpdateTrackingTags: stream=integration/builderimage, updatedTag=latest, updatedImage.dockerImageReference=test/builderimage:latest, updatedImage.image=image-id
--- FAIL: TestPolicyBasedRestrictionOfBuildCreateAndCloneByStrategy-16 (7.14s)
build_admission_test.go:171: Couldn't create ImageStreamMapping: imageStream "builderimage" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
@deads2k the test is not updating the ImageStream directly, it's doing so indirectly by trying to add the imagestreamtag... I guess I can add the retry logic in the test.
@deads2k the test is not updating the ImageStream directly, it's doing so indirectly by trying to add the imagestreamtag... I guess I can add the retry logic in the test.
Should the imagestreammapping.REST be retrying a couple times for you or would that be incorrect? It seems like you'd be safe to retry as long as the update did not mutate anything related to your tag, right?
Activity
deads2k commentedon Oct 27, 2015
@csrwng This test looks like the admission control one for builds.
deads2k commentedon Oct 27, 2015
you could consider using patch instead of replace, it will retry on changes as long as they are non-conflicting changes.
csrwng commentedon Oct 27, 2015
@deads2k the test is not updating the ImageStream directly, it's doing so indirectly by trying to add the imagestreamtag... I guess I can add the retry logic in the test.
deads2k commentedon Oct 27, 2015
Should the
imagestreammapping.RESTbe retrying a couple times for you or would that be incorrect? It seems like you'd be safe to retry as long as the update did not mutate anything related to your tag, right?smarterclayton commentedon Oct 27, 2015
We added a retry in image stream import - maybe it was in the controller, not in ISM
deads2k commentedon Oct 28, 2015
looks like a dupe of #5421
soltysh commentedon Oct 29, 2015
#5421 was resolved with #5455 please close.