Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-59621

[CI][sig-api-machinery] ValidatingAdmissionPolicy [Privileged:ClusterAdmin] [It] should type check a CRD [sig-api-machinery]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.z
    • Test Framework
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      periodic-ci-shiftstack-ci-release-4.17-techpreview-e2e-openstack-ovn-techpreview failed with the same issue (Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203" ): 

      fail [k8s.io/kubernetes/test/e2e/apimachinery/validatingadmissionpolicy.go:380]: wait for type checking: ValidatingAdmissionPolicy.admissionregistration.k8s.io "e2e-validating-admission-policy-5350.confused-crd-policy.example.com" is invalid: metadata.labels: Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')
      Error: exit with code 1    

      Logs:

      Version-Release number of selected component (if applicable):

      4.17    

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      Fail    

      Expected results:

      Pass    

      Additional info:

      I0722 06:09:39.083864 15451 validatingadmissionpolicy.go:380] Unexpected error: wait for type checking: 
            <*errors.StatusError | 0xc0037061e0>: 
            ValidatingAdmissionPolicy.admissionregistration.k8s.io "e2e-validating-admission-policy-5350.confused-crd-policy.example.com" is invalid: metadata.labels: Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')
            {
                ErrStatus: 
                    code: 422
                    details:
                      causes:
                      - field: metadata.labels
                        message: 'Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203":
                          a valid label must be an empty string or consist of alphanumeric characters,
                          ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
                          (e.g. ''MyValue'',  or ''my_value'',  or ''12345'', regex used for validation
                          is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
                        reason: FieldValueInvalid
                      - field: metadata.labels
                        message: 'Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203":
                          a valid label must be an empty string or consist of alphanumeric characters,
                          ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
                          (e.g. ''MyValue'',  or ''my_value'',  or ''12345'', regex used for validation
                          is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
                        reason: FieldValueInvalid
                      - field: metadata.labels
                        message: 'Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC m=+1.190783203":
                          a valid label must be an empty string or consist of alphanumeric characters,
                          ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
                          (e.g. ''MyValue'',  or ''my_value'',  or ''12345'', regex used for validation
                          is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
                        reason: FieldValueInvalid
                      group: admissionregistration.k8s.io
                      kind: ValidatingAdmissionPolicy
                      name: e2e-validating-admission-policy-5350.confused-crd-policy.example.com
                    message: 'ValidatingAdmissionPolicy.admissionregistration.k8s.io "e2e-validating-admission-policy-5350.confused-crd-policy.example.com"
                      is invalid: metadata.labels: Invalid value: "2025-07-22 06:09:39.0479192 +0000 UTC
                      m=+1.190783203": a valid label must be an empty string or consist of alphanumeric
                      characters, ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
                      (e.g. ''MyValue'',  or ''my_value'',  or ''12345'', regex used for validation is
                      ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
                    metadata: {}
                    reason: Invalid
                    status: Failure,
            }    

              rhn-engineering-dgoodwin Devan Goodwin
              rh-ee-mcarpio Miguel Carpio
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: