Skip to content

[Flaking-Test] VPA - test/e2e/v1/admission_controller.go #10240

Description

@irbekrm

The 'accepts valid and rejects invalid VPA object' test here flaked:

[38;5;9m[FAILED] Admission controller did not inspect the object
  Expected
      <string>: VerticalPodAutoscaler.autoscaling.k8s.io "cert-vpa-invalid" is invalid: [spec.resourcePolicy.containerPolicies[0].minAllowed.requests: Invalid value: "object": spec.resourcePolicy.containerPolicies[0].minAllowed.requests in body must be of type integer,string: "object", <nil>: Invalid value: "": "spec.resourcePolicy.containerPolicies[0].minAllowed.requests" must validate at least one schema (anyOf), spec.resourcePolicy.containerPolicies[0].minAllowed.requests: Invalid value: "object": spec.resourcePolicy.containerPolicies[0].minAllowed.requests in body must be of type integer: "object", <nil>: Invalid value: null: some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]
  to match regular expression
      <string>: .*admission webhook .*vpa.* denied the request: 

for an unrelated PR #10175 and succeeded on the next run.

It seems that in this case the webhook validation was not hit and the error was returned from the API server?

test log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/vertical-pod-autoscalerIssues or PRs related to the Vertical Pod Autoscaler componentneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions