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

[OCP 4.18] Build Subscription Content Tests Fail on OCP on top of OSP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16
    • Documentation / Build
    • Moderate
    • No
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When applying the etc-pki-entitlement secret in an OpenShift build, an error is encountered due to the metadata.annotations field exceeding the size limit of 262144 bytes.
      
      [sig-builds][Feature:Builds][subscription-content] builds installing subscription content [apigroup:build.openshift.io] should succeed for RHEL 7 base images [Suite:openshift/conformance/parallel]
      [sig-builds][Feature:Builds][subscription-content] builds installing subscription content [apigroup:build.openshift.io] should succeed for RHEL 8 base images [Suite:openshift/conformance/parallel]
      [sig-builds][Feature:Builds][subscription-content] builds installing subscription content [apigroup:build.openshift.io] should succeed for RHEL 9 base images [Suite:openshift/conformance/parallel]

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

          4.16 on top of OSP17.1

      How reproducible:

          Always

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

         Test case fails 

      Expected results:

          

      Additional info:

      fail [github.com/openshift/origin/test/extended/builds/subscription_content.go:55]: creating secret etc-pki-entitlement
      Unexpected error:
          <*fmt.wrapError | 0xc001897d40>:
          Error running /usr/local/bin/oc --namespace=e2e-test-build-subscription-content-7kbtn --kubeconfig=/tmp/configfile603472159 apply -f -:
          StdOut>
          The Secret "etc-pki-entitlement" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
          StdErr>
          The Secret "etc-pki-entitlement" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
          exit status 1
      {
          msg: "Error running /usr/local/bin/oc --namespace=e2e-test-build-subscription-content-7kbtn --kubeconfig=/tmp/configfile603472159 apply -f -:\nStdOut>\nThe Secret \"etc-pki-entitlement\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes\nStdErr>\nThe Secret \"etc-pki-entitlement\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes\nexit status 1\n",
          err: <*exec.ExitError | 0xc001897d20>{
              ProcessState: {
                  pid: 537188,
                  status: 256,
                  rusage: {
                      Utime: {Sec: 0, Usec: 224613},
                      Stime: {Sec: 0, Usec: 39183},
                      Maxrss: 212436,
                      Ixrss: 0,
                      Idrss: 0,
                      Isrss: 0,
                      Minflt: 3671,
                      Majflt: 0,
                      Nswap: 0,
                      Inblock: 0,
                      Oublock: 0,
                      Msgsnd: 0,
                      Msgrcv: 0,
                      Nsignals: 0,
                      Nvcsw: 686,
                      Nivcsw: 143,
                  },
              },
              Stderr: nil,
          },
      }occurred
      Ginkgo exit error 1: exit with code 1

              joaedwar@redhat.com Joan Edwards
              rhn-support-imatza Itay Matza
              Apoorva Jagtap Apoorva Jagtap
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: