Skip to content

CI: github.com/cilium/cilium/pkg/fswatcher timeout panic #25666

@bimmlerd

Description

@bimmlerd

Test Name

github.com/cilium/cilium/pkg/fswatcher

Failure Output

panic: test timed out after 10m0s                                                                  
running tests:                                                                                     
	Test (10m0s)                                                                                       
                                                                                                   
                      
FAIL	github.com/cilium/cilium/pkg/fswatcher	600.111s

Stack Trace

goroutine 12 [running]:                                                                            
testing.(*M).startAlarm.func1()                                                                    
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:2241 +0x3c5                              
created by time.goFunc                                                                             
	/opt/hostedtoolcache/go/1.20.4/x64/src/time/sleep.go:176 +0x32                                     
                                                                                                   
goroutine 1 [chan receive]:                                                                        
testing.(*T).Run(0xc000007d40, {0x6876dc?, 0x549885?}, 0x69a5c0)                                   
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:1630 +0x405                              
testing.runTests.func1(0x8500a0?)                                                                  
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:2036 +0x45                               
testing.tRunner(0xc000007d40, 0xc000070c80)                                                        
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:1576 +0x10b                              
testing.runTests(0xc000100320?, {0x845520, 0x1, 0x1}, {0xc000108ce0?, 0x100c000108c20?, 0x84f6e0?})
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:2034 +0x489                              
testing.(*M).Run(0xc000100320)                                                                     
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:1906 +0x63a                              
main.main()                                                                                        
	_testmain.go:78 +0x1c5                                                                             
                                                                                                   
goroutine 6 [chan receive]:                                                                        
gopkg.in/check%2ev1.(*suiteRunner).runTest(...)                                                    
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:813                              
gopkg.in/check%2ev1.(*suiteRunner).run(0xc000116100)                                               
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:618 +0x1bd                       
gopkg.in/check%2ev1.Run({0x64d4e0?, 0x87d6d8?}, 0x8369a0?)                                         
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/run.go:92 +0x2a                           
gopkg.in/check%2ev1.RunAll(0x8369a0?)                                                              
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/run.go:84 +0x85                           
gopkg.in/check%2ev1.TestingT(0xc000124000)                                                         
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/run.go:72 +0x27c                          
github.com/cilium/cilium/pkg/fswatcher.Test(0x0?)                                                  
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher_test.go:19 +0x19                           
testing.tRunner(0xc000124000, 0x69a5c0)                                                            
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:1576 +0x10b                              
created by testing.(*T).Run                                                                        
	/opt/hostedtoolcache/go/1.20.4/x64/src/testing/testing.go:1629 +0x3ea                              
                                                                                                   
goroutine 7 [select]:                                                                              
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine(0xc000128000)                                    
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:464 +0x8d                        
created by gopkg.in/check%2ev1.(*resultTracker).start                                              
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:444 +0x56                        
                                                                                                   
goroutine 8 [chan receive]:                                                                        
github.com/cilium/cilium/pkg/fswatcher.(*FsWatcherTestSuite).TestWatcher(0x0?, 0xc00012a000)       
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher_test.go:89 +0x9c9                          
reflect.Value.call({0x64d4e0?, 0x87d6d8?, 0x213?}, {0x687668, 0x4}, {0xc00006ff08, 0x1, 0x1?})     
	/opt/hostedtoolcache/go/1.20.4/x64/src/reflect/value.go:586 +0xb0b                                 
reflect.Value.Call({0x64d4e0?, 0x87d6d8?, 0xc00001e2a0?}, {0xc000042f08?, 0x0?, 0xc000042e96?})    
	/opt/hostedtoolcache/go/1.20.4/x64/src/reflect/value.go:370 +0xbc                                  
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1(0xc00012a000)                                    
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:775 +0x632                       
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()                                                
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:669 +0xa2                        
created by gopkg.in/check%2ev1.(*suiteRunner).forkCall                                             
	/home/runner/work/cilium/cilium/vendor/gopkg.in/check.v1/check.go:666 +0x285                       
                                                                                                   
goroutine 9 [IO wait]:                                                                             
internal/poll.runtime_pollWait(0x7fe2389e3158, 0x72)                                               
	/opt/hostedtoolcache/go/1.20.4/x64/src/runtime/netpoll.go:306 +0x89                                
internal/poll.(*pollDesc).wait(0xc0000685a0?, 0xc00018fed0?, 0x1)                                  
	/opt/hostedtoolcache/go/1.20.4/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32                   
internal/poll.(*pollDesc).waitRead(...)                                                            
	/opt/hostedtoolcache/go/1.20.4/x64/src/internal/poll/fd_poll_runtime.go:89                         
internal/poll.(*FD).Read(0xc0000685a0, {0xc00018fed0, 0x10000, 0x10000})                           
	/opt/hostedtoolcache/go/1.20.4/x64/src/internal/poll/fd_unix.go:167 +0x299                         
os.(*File).read(...)                                                                               
	/opt/hostedtoolcache/go/1.20.4/x64/src/os/file_posix.go:31                                         
os.(*File).Read(0xc000012110, {0xc00018fed0?, 0x6d9ac8?, 0x1?})                                    
	/opt/hostedtoolcache/go/1.20.4/x64/src/os/file.go:118 +0x5e                                        
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc00006a280)                                   
	/home/runner/work/cilium/cilium/vendor/github.com/fsnotify/fsnotify/backend_inotify.go:356 +0xdf   
created by github.com/fsnotify/fsnotify.NewWatcher                                                 
	/home/runner/work/cilium/cilium/vendor/github.com/fsnotify/fsnotify/backend_inotify.go:150 +0x1b0  
                                                                                                   
goroutine 10 [select]:                                                                             
github.com/cilium/cilium/pkg/fswatcher.(*Watcher).loop(0xc000074db0)                               
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher.go:210 +0x109                              
created by github.com/cilium/cilium/pkg/fswatcher.New                                              
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher.go:98 +0x230                               
                                                                                                   
goroutine 11 [select]:                                                                             
github.com/cilium/cilium/pkg/fswatcher.(*FsWatcherTestSuite).TestWatcher.func1()                   
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher_test.go:46 +0xd8                           
created by github.com/cilium/cilium/pkg/fswatcher.(*FsWatcherTestSuite).TestWatcher                
	/home/runner/work/cilium/cilium/pkg/fswatcher/fswatcher_test.go:43 +0x5ec

Standard Output

None

Standard Error

None

Resources

None

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area/CIContinuous Integration testing issue or flakeci/flakeThis is a known failure that occurs in the tree. Please investigate me!pinnedThese issues are not marked stale by our issue bot.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions