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

Ingress Operator E2E log.SetLogger was never called error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.14.0
    • 4.14
    • Networking / router
    • None
    • Low
    • No
    • Sprint 237, Sprint 238
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      cluster-ingress-operator E2E has an error message:
      
      [controller-runtime] log.SetLogger(...) was never called, logs will not be displayed:
      
      Looks like newClient is called from two places, TestMain and TestIngressStatus

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Run E2E tests that call newClient, such as TestIngressStatus
      2. Examine logs

      Actual results:

      https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_cluster-ingress-operator/924/pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator/1663696029016395776/build-log.txt 

      [controller-runtime] log.SetLogger(...) was never called, logs will not be displayed:
      goroutine 9120 [running]:
      runtime/debug.Stack()
      	/usr/lib/golang/src/runtime/debug/stack.go:24 +0x65
      sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot()
      	/go/src/github.com/openshift/cluster-ingress-operator/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:59 +0xbd
      sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(0xc000113000, {0x1dd106b, 0x14})
      	/go/src/github.com/openshift/cluster-ingress-operator/vendor/sigs.k8s.io/controller-runtime/pkg/log/deleg.go:147 +0x4c
      github.com/go-logr/logr.Logger.WithName({{0x21435e0, 0xc000113000}, 0x0}, {0x1dd106b?, 0xe?})
      	/go/src/github.com/openshift/cluster-ingress-operator/vendor/github.com/go-logr/logr/logr.go:336 +0x46
      sigs.k8s.io/controller-runtime/pkg/client.newClient(0xc00086afc0, {0x0, 0xc0001a0fc0, {0x2144930, 0xc00033ac00}, 0x0, {0x0, 0x0}, 0x0})
      	/go/src/github.com/openshift/cluster-ingress-operator/vendor/sigs.k8s.io/controller-runtime/pkg/client/client.go:115 +0xb4
      sigs.k8s.io/controller-runtime/pkg/client.New(0xc00086afc0?, {0x0, 0xc0001a0fc0, {0x2144930, 0xc00033ac00}, 0x0, {0x0, 0x0}, 0x0})
      	/go/src/github.com/openshift/cluster-ingress-operator/vendor/sigs.k8s.io/controller-runtime/pkg/client/client.go:101 +0x85
      github.com/openshift/cluster-ingress-operator/pkg/operator/client.NewClient(0x0?)
      	/go/src/github.com/openshift/cluster-ingress-operator/pkg/operator/client/client.go:83 +0x145
      github.com/openshift/cluster-ingress-operator/test/e2e.TestIngressStatus(0xc000503520)
      	/go/src/github.com/openshift/cluster-ingress-operator/test/e2e/dns_ingressdegrade_test.go:33 +0x95
      testing.tRunner(0xc000503520, 0x1f015a0)
      	/usr/lib/golang/src/testing/testing.go:1576 +0x10b
      created by testing.(*T).Run
      	/usr/lib/golang/src/testing/testing.go:1629 +0x3ea

      Expected results:

      No error message

      Additional info:

      This is due to 1.27 rebase

      Attachments

        Issue Links

          Activity

            People

              gspence@redhat.com Grant Spence
              gspence@redhat.com Grant Spence
              Shudi Li Shudi Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: