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

Failed to create ServiceAccount for new project during the e2e ci test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • None
    • 4.15.0
    • None
    • Critical
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      During the e2e ci test, many cases failed with error :
          Nov 24 01:26:34.012: INFO: The user is now "e2e-test-olm-a-3l5clhyp-stnth-user"
          Nov 24 01:26:34.012: INFO: Creating project "e2e-test-olm-a-3l5clhyp-stnth"
          Nov 24 01:26:34.119: INFO: Waiting on permissions in project "e2e-test-olm-a-3l5clhyp-stnth" ...
          Nov 24 01:26:34.151: INFO: Waiting for ServiceAccount "default" to be provisioned...
          Nov 24 01:26:34.299: INFO: Waiting for service account "default" secrets () to include dockercfg ...
          Nov 24 01:26:34.410: INFO: Waiting for ServiceAccount "deployer" to be provisioned...
          Nov 24 01:26:34.543: INFO: Waiting for ServiceAccount "builder" to be provisioned...
          Nov 24 01:26:34.675: INFO: Waiting for service account "builder" to be available: serviceaccounts "builder" not found (will retry) ...
          Nov 24 01:26:52.876: INFO: Waiting for service account "builder" to be available: serviceaccounts "builder" not found (will retry) ...
      .....
          STEP: Destroying namespace "e2e-test-olm-a-3l5clhyp-stnth" for this suite. @ 11/24/23 01:29:35.347
          << Timeline
      
          [FAILED] Unexpected error:
              <wait.errInterrupted>: 
              timed out waiting for the condition
              {
                  cause: <*errors.errorString | 0xc000279d80>{
                      s: "timed out waiting for the condition",
                  },
              }
          occurred
          In [BeforeEach] at: /go/src/github.com/openshift/openshift-tests-private/test/extended/util/client.go:332 

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

      4.15

      How reproducible:

      sometimes

      Steps to Reproduce:

      1. create new project during e2e ci test;

      Actual results:

      Failed to provision SA for the new project. 
      the code is :
      https://github.com/openshift/openshift-tests-private/blob/master/test/extended/util/client.go#L332
      
          for _, sa := range DefaultServiceAccounts {
              e2e.Logf("Waiting for ServiceAccount %q to be provisioned...", sa)
              err = WaitForServiceAccount(c.KubeClient().CoreV1().ServiceAccounts(newNamespace), sa)
              o.Expect(err).NotTo(o.HaveOccurred())
          }
      
      full logs :
      https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.15-multi-nightly-azure-ipi-baselinecaps-vset-additionalcap-arm-f14/1727843070872915968/artifacts/azure-ipi-baselinecaps-vset-additionalcap-arm-f14/openshift-extended-test/build-log.txt
      
      
      must-gather :
      https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.15-multi-nightly-azure-ipi-baselinecaps-vset-additionalcap-arm-f14/1727843070872915968/artifacts/azure-ipi-baselinecaps-vset-additionalcap-arm-f14/gather-must-gather/artifacts/
      
      
      see error from must-gather :
      namespaces/openshift-controller-manager/pods/controller-manager-7bd9956867-c8khn/controller-manager/controller-manager/logs/current.log
      76:2023-11-24T01:26:34.145966103Z E1124 01:26:34.145916       1 project_finalizer_controller.go:110] error syncing namespace, it will be retried: Operation cannot be fulfilled on namespaces "e2e-test-olm-a-3l5clhyp-stnth": the object has been modified; please apply your changes to the latest version and try again
      
      
      

      Expected results:

      No error for SA provision

      Additional info:

       

      Attachments

        Activity

          People

            jinyunma Jinyun Ma
            yinzhou@redhat.com ying zhou
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: