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

flaky tests in k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions: validation #121754

Closed
neolit123 opened this issue Nov 6, 2023 · 2 comments
Labels
kind/flake Categorizes issue or PR as related to a flaky test. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@neolit123
Copy link
Member

neolit123 commented Nov 6, 2023

Which jobs are flaking?

https://testgrid.k8s.io/presubmits-kubernetes-blocking#pull-kubernetes-unit

Which tests are flaking?

https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/121034/pull-kubernetes-unit/1720520061770272768

{Failed;Failed;Failed;Failed;Failed;  === RUN   TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_defaulting_to_type_atomic_when_optionalOldSelf_is_set
    validation_test.go:9832: unexpected error: spec.validation.openAPIV3Schema.properties[value].items.x-kubernetes-validations[0].optionalOldSelf: Invalid value: "self == oldSelf": may not be set if oldSelf is not used in rule
    --- FAIL: TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_defaulting_to_type_atomic_when_optionalOldSelf_is_set (0.00s)
;=== RUN   TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_defaulting_to_type_atomic_when_optionalOldSelf_is_set#01
    validation_test.go:9832: unexpected error: spec.validation.openAPIV3Schema.properties[value].items.x-kubernetes-validations[0].optionalOldSelf: Invalid value: "self == oldSelf": may not be set if oldSelf is not used in rule
    --- FAIL: TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_defaulting_to_type_atomic_when_optionalOldSelf_is_set#01 (0.00s)
;=== RUN   TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_of_type_set_when_optionalOldSelf_is_set
    validation_test.go:9832: unexpected error: spec.validation.openAPIV3Schema.properties[value].items.x-kubernetes-validations[0].optionalOldSelf: Invalid value: "self == oldSelf": may not be set if oldSelf is not used in rule
    --- FAIL: TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_list_of_type_set_when_optionalOldSelf_is_set (0.00s)
;=== RUN   TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_map_of_unrecognized_type_when_optionalOldSelf_is_set
    validation_test.go:9832: unexpected error: spec.validation.openAPIV3Schema.properties[value].properties[subfield].x-kubernetes-validations[0].optionalOldSelf: Invalid value: "self == oldSelf": may not be set if oldSelf is not used in rule
    --- FAIL: TestValidateCustomResourceDefinitionValidation/forbid_transition_rule_on_element_of_map_of_unrecognized_type_when_optionalOldSelf_is_set (0.00s)
;=== RUN   TestValidateCustomResourceDefinitionValidation
--- FAIL: TestValidateCustomResourceDefinitionValidation (0.39s)
;}

Since when has it been flaking?

unknown

Testgrid link

https://testgrid.k8s.io/presubmits-kubernetes-blocking#pull-kubernetes-unit

Reason for failure (if possible)

No response

Anything else we need to know?

No response

Relevant SIG(s)

/sig api-machinery

@neolit123 neolit123 added the kind/flake Categorizes issue or PR as related to a flaky test. label Nov 6, 2023
@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 6, 2023
@neolit123
Copy link
Member Author

not a flake?
only happened during work on #121034

@alexzielenski
Copy link
Contributor

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants