-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
oc create -f test/testdata/app-scenarios
fails to POST
#10008
Comments
@juanvallejo why the assign to me? |
@stevekuznetsov Ah was not sure who to assign to this |
@juanvallejo if unsure, leave assignment and priority label unset, someone like @danmcp will come by to set them soon |
@sgallagher can you please spend some time figuring out what is the issue here? |
@juanvallejo Can you point me at a recent example? The original link has expired. |
@sgallagher Hm, the build seems to have been deleted, after checking on ci.openshift.redhat.com/jenkins/. Unfortunately this was the only build I can find this error happening |
Ah here's one that just happened as well: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check/4612/consoleFull#-200384109356c25df4e4b05b79524e5d52 |
The failures seem to be this always:
|
oc create -f test/testdata/app-scenarios
test case keeps failing on jenkinsoc create -f test/testdata/app-scenarios
fails to POST
Looks like that message is coming from https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/api/rest/create.go#L106 // CheckGeneratedNameError checks whether an error that occurred creating a resource is due
// to generation being unable to pick a valid name.
func CheckGeneratedNameError(strategy RESTCreateStrategy, err error, obj runtime.Object) error {
if !errors.IsAlreadyExists(err) {
return err
}
objectMeta, kind, kerr := objectMetaAndKind(strategy, obj)
if kerr != nil {
return kerr
}
if len(objectMeta.GenerateName) == 0 {
return err
}
return errors.NewServerTimeoutForKind(kind.GroupKind(), "POST", 0)
} that's a terrible error... it looks like it's converting an AlreadyExists error into a server timeout error if it has a generate name |
@smarterclayton looks like the sample data for petset is the culprit... it's creating a petset and all the pods that go with it, so the pod creates will race with the petset controller, and are likely to fail with an |
bumping priority, I think we'll hit this flake a lot |
reopening until #10240 goes in as well |
Link to last failure: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check/4612/consoleFull#-200384109356c25df4e4b05b79524e5d52
Version
Steps To Reproduce
Current Result
Expected Result
Should succeed
EDIT: updated link to last failure
The text was updated successfully, but these errors were encountered: