Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-6426

Ginkgo test failure: [Apiserver] MicroShift enable SCC admission for pods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • openshift-4.21
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • 0
    • None
    • None
    • None
    • uShift Sprint 281, uShift Sprint 282
    • None
    • None
    • None

      Description of problem:

      [sig-api-machinery] API_Server on Microshift Author:rgangwar-MicroShiftBoth-ConnectedOnly-Medium-55394-[Apiserver] MicroShift enable SCC admission for pods test failed
      
      When this pod is created on a new namespace (https://github.com/openshift/openshift-tests-private/blob/master/test/extended/testdata/apiserverauth/pod-for-ping.json): fsGroup in .spec.securityContext is missing

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

      failing on 4.21.0-rc.0 and only on x86

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

        Summarizing 1 Failure:
          [PANICKED!] [sig-api-machinery] API_Server on Microshift [It] Author:rgangwar-MicroShiftBoth-ConnectedOnly-Medium-55394-[Apiserver] MicroShift enable SCC admission for pods
          /home/ec2-user/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.11.linux-amd64/src/runtime/panic.go:115
      
        Ran 1 of 1 Specs in 156.645 seconds
        FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped
      
      github.com/openshift/openshift-tests-private/test/extended/apiserverauth.init.func3.8()
      	/tmp/tmp.l6meo8ruK6/openshift-tests-private/test/extended/apiserverauth/apiserver_microshift.go:590 +0x1bcf
      github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0x0?, 0x0?})
      	/home/ec2-user/go/pkg/mod/github.com/openshift/onsi-ginkgo/v2@v2.6.1-0.20240806135314-3946b2b7b2a8/internal/node.go:472 +0x13
      github.com/onsi/ginkgo/v2/internal.(*Suite).runNode.func3()
      	/home/ec2-user/go/pkg/mod/github.com/openshift/onsi-ginkgo/v2@v2.6.1-0.20240806135314-3946b2b7b2a8/internal/suite.go:901 +0x7b
      created by github.com/onsi/ginkgo/v2/internal.(*Suite).runNode in goroutine 1
      	/home/ec2-user/go/pkg/mod/github.com/openshift/onsi-ginkgo/v2@v2.6.1-0.20240806135314-3946b2b7b2a8/internal/suite.go:888 +0xd7b
      fail [runtime/panic.go:115]: Test Panicked: runtime error: index out of range [6] with length 6

      Full log: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-microshift-release-4.21-periodics-e2e-aws-tests-bootc-release-periodic/2003299834286575616/artifacts/e2e-aws-tests-bootc-release-periodic/openshift-microshift-e2e-metal-tests/artifacts/scenario-info/el96-lrel@ginkgo-tests/ginkgo-results/test-output.log 

      Expected results:

       

      Additional info:

      It's not failing on OCP RC.0: https://jenkins-csb-openshift-qe-mastern.dno.corp.redhat.com/job/ocp-common/job/ginkgo-test/297096/console

              agullon Alejandro Gullón
              agullon Alejandro Gullón
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: