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

Panic in test: [sig-network] IngressClass [Feature:Ingress] should prevent Ingress creation if more than 1 IngressClass marked as default [Serial] [Suite:openshift/conformance/serial]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Done
    • 4.12.0
    • 4.12.0
    • Networking / router
    • None
    • Hide

      None

      Show
      None
    • NA

    Description

      Description of problem:

      Found during 1.25 rebase work, test hit this panic in two runs of 4.12-e2e-vsphere-ovn-upi-serial:

      https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/openshift-kubernetes-1360-nightly-4.12-e2e-vsphere-ovn-upi-serial/1567239801269129216

      https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/openshift-kubernetes-1360-nightly-4.12-e2e-vsphere-ovn-upi-serial/1567066819087306752

      Full error for reference:

      ```github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/leafnodes/runner.go:107 +0x96
      panic({0x766b520, 0xc183570})
          runtime/panic.go:838 +0x207
      k8s.io/kubernetes/test/e2e/network.glob..func15.4()
          k8s.io/kubernetes@v1.24.0/test/e2e/network/ingressclass.go:97 +0x284
      github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0x300000002?)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/leafnodes/runner.go:113 +0xb1
      github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc002466e40?)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/leafnodes/runner.go:64 +0x125
      github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0x7f72ca69cfff?)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/leafnodes/it_node.go:26 +0x7b
      github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc003305b30, 0xc00066b208?, {0x8faff00, 0xc00045edc0})
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/spec/spec.go:215 +0x28a
      github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc003305b30, {0x8faff00, 0xc00045edc0})
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/spec/spec.go:138 +0xe7
      github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc002480280, 0xc003305b30)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/specrunner/spec_runner.go:200 +0xe8
      github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc002480280)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/specrunner/spec_runner.go:170 +0x1a5
      github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc002480280)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/specrunner/spec_runner.go:66 +0xc5
      github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0004762d0, {0x8fb0260, 0xc002ba2690}, {0x0, 0x0}, {0xc002bb8600, 0x1, 0x1}, {0x8ff18e0, 0xc00045edc0}, ...)
          github.com/onsi/ginkgo@v4.7.0-origin.0+incompatible/internal/suite/suite.go:62 +0x4b2
      github.com/openshift/origin/pkg/test/ginkgo.(*TestOptions).Run(0xc0024b28c0, {0xc000311420, 0xc58c8b0?, 0x4f19d80?})
          github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:448 +0x32
      github.com/openshift/origin/test/extended/util.WithCleanup(0xc002527bb8)
          github.com/openshift/origin/test/extended/util/test.go:168 +0xad
      main.newRunTestCommand.func1(0xc0024cc780?, {0xc000311420, 0x1, 0x1})
          github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:448 +0x325
      github.com/spf13/cobra.(*Command).execute(0xc0024cc780, {0xc0003113a0, 0x1, 0x1})
          github.com/spf13/cobra@v1.4.0/command.go:856 +0x67c
      github.com/spf13/cobra.(*Command).ExecuteC(0xc000c3fb80)
          github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4
      github.com/spf13/cobra.(*Command).Execute(...)
          github.com/spf13/cobra@v1.4.0/command.go:902
      main.main.func1(0xc000de1700?)
          github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:94 +0x8a
      main.main()
          github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:95 +0x476

      fail [runtime/panic.go:220]: Test Panicked: runtime error: invalid memory address or nil pointer dereference
      Ginkgo exit error 1: exit with code 1
      ```

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

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      Test hit panic

      Expected results:

      No panic

      Additional info:

       

      Attachments

        Activity

          People

            maszulik1@redhat.com Maciej Szulik
            kgarriso@redhat.com Kirsten Garrison (Inactive)
            Melvin Joseph Melvin Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: