apupier opened a new issue, #4891:
URL: https://github.com/apache/camel-k/issues/4891

   ### What happened?
   
   During automated test execution , i noticed a stack in log:
   
   ```
   [controller-runtime] log.SetLogger(...) was never called, logs will not be 
displayed:
   goroutine 45 [running]:
   runtime/debug.Stack()
       runtime/debug/stack.go:24 +0x5e
   sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot()
       sigs.k8s.io/[email protected]/pkg/log/log.go:59 +0xcd
   
sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(0xc0000c0b80,
 {0x25d5c56, 0x7})
       sigs.k8s.io/[email protected]/pkg/log/deleg.go:147 +0x45
   github.com/go-logr/logr.Logger.WithName(...)
       github.com/go-logr/[email protected]/logr.go:336
   github.com/apache/camel-k/v2/pkg/util/log.Logger.WithName({{{0x2a0a558?, 
0xc0000c0b80?}, 0x0?}}, {0x25d5c56?, 0xc8?})
       github.com/apache/camel-k/v2/pkg/util/log/log.go:81 +0x45
   github.com/apache/camel-k/v2/pkg/util/log.WithName(...)
       github.com/apache/camel-k/v2/pkg/util/log/log.go:186
   
github.com/apache/camel-k/v2/pkg/util/kubernetes/log.NewPodScraper({0x7fdca52e4100?,
 0xc000145300}, {0xc0009ca3b0, 0x7}, {0xc00084de80, 0x20}, {0xc0009ca3a0, 0xf}, 
0x0)
       github.com/apache/camel-k/v2/pkg/util/kubernetes/log/pod_scraper.go:62 
+0x85
   
github.com/apache/camel-k/v2/pkg/util/kubernetes/log.(*SelectorScraper).addPodScraper(0xc0004050e0,
 {0x2a059b8, 0xc000533ef0}, {0xc00084de80, 0x20}, 0xc0005a1600)
       
github.com/apache/camel-k/v2/pkg/util/kubernetes/log/annotation_scraper.go:135 
+0x89
   
github.com/apache/camel-k/v2/pkg/util/kubernetes/log.(*SelectorScraper).synchronize(0xc0004050e0,
 {0x2a059b8, 0xc000533ef0}, 0xc0005a1600?)
       
github.com/apache/camel-k/v2/pkg/util/kubernetes/log/annotation_scraper.go:108 
+0x1c7
   
github.com/apache/camel-k/v2/pkg/util/kubernetes/log.(*SelectorScraper).periodicSynchronize(0xc0004050e0,
 {0x2a059b8?, 0xc000533ef0}, 0xc0005a1600, 0xc000011fc8)
       
github.com/apache/camel-k/v2/pkg/util/kubernetes/log/annotation_scraper.go:77 
+0x4c
   created by 
github.com/apache/camel-k/v2/pkg/util/kubernetes/log.(*SelectorScraper).periodicSynchronize
 in goroutine 134
       
github.com/apache/camel-k/v2/pkg/util/kubernetes/log/annotation_scraper.go:94 
+0x190
    ```
   
   ### Steps to reproduce
   
   do not know. My guess is that there is an attempt to access logs but the 
integration has just been deleted
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   2.1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to