-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.14
-
None
-
Low
-
No
-
Sprint 237, Sprint 238
-
2
-
Rejected
-
False
-
-
N/A
-
Release Note Not Required
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:
[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
- clones
-
OCPBUGS-14395 DNS Operator log.SetLogger was never called error message
- Closed
- relates to
-
OCPBUGS-19510 CI issue with cluster-dns-operator TestCoreDNSDaemonSetReconciliation
- Closed
- links to
-
RHEA-2023:5006 rpm