Source: crowdsec
Version: 1.4.6-6
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=crowdsec&arch=amd64&ver=1.4.6-6%2Bb1&stamp=1691250195&raw=0

panic: test timed out after 10m0s
running tests:
        TestPluginWatcherInterval (9m21s)

goroutine 1446 [running]:
testing.(*M).startAlarm.func1()
        /usr/lib/go-1.20/src/testing/testing.go:2241 +0x3c5
created by time.goFunc
        /usr/lib/go-1.20/src/time/sleep.go:176 +0x32

goroutine 1 [chan receive, 9 minutes]:
testing.(*T).Run(0xc0003649c0, {0xbc3e75?, 0x5282e5?}, 0xc04718)
        /usr/lib/go-1.20/src/testing/testing.go:1630 +0x405
testing.runTests.func1(0x10f5680?)
        /usr/lib/go-1.20/src/testing/testing.go:2036 +0x45
testing.tRunner(0xc0003649c0, 0xc00029fc88)
        /usr/lib/go-1.20/src/testing/testing.go:1576 +0x10b
testing.runTests(0xc000372b40?, {0x109db80, 0xb, 0xb}, {0xc00035c190?, 
0x100c00029fd10?, 0x10f4c60?})
        /usr/lib/go-1.20/src/testing/testing.go:2034 +0x489
testing.(*M).Run(0xc000372b40)
        /usr/lib/go-1.20/src/testing/testing.go:1906 +0x63a
main.main()
        _testmain.go:67 +0x1aa

goroutine 194 [chan receive, 9 minutes]:
gopkg.in/tomb%2ev2.(*Tomb).Wait(0xc0004927d0)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:126 +0x35
github.com/crowdsecurity/crowdsec/pkg/csplugin.resetTestTomb(0xcba2e0?, 
0xc00007eb40)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher_test.go:20
 +0x45
github.com/crowdsecurity/crowdsec/pkg/csplugin.TestPluginWatcherInterval(0xc00036be00?)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher_test.go:76
 +0x2b4
testing.tRunner(0xc00041fd40, 0xc04718)
        /usr/lib/go-1.20/src/testing/testing.go:1576 +0x10b
created by testing.(*T).Run
        /usr/lib/go-1.20/src/testing/testing.go:1629 +0x3ea

goroutine 163 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000278640,
 0xc0004139f0)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by 
github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerRunTimeThreshold
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:499
 +0x45b

goroutine 164 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc000278688,
 {0xc0000c05e0, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000413a40, 0xc0003b0380?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 32 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000372460,
 0xc0004932c0)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerNoThreshold
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:282
 +0x30d

goroutine 175 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc000372fe8,
 {0xc00003b6f0, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0004925a0, 0xc000486288?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 176 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc000372fe8)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0004925a0, 0xc00036b6c0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 165 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc000278688)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000413a40, 0xc0004000c0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 174 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000372fa0,
 0xc000492550)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerRunSimple
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:542
 +0x2ed

goroutine 33 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc0003724a8,
 {0xc0004837c0, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000493310, 0x0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 82 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc0003724a8)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000493310, 0xc00036a100?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 89 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000372f00,
 0xc000493d10)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by 
github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerRunGroupAndTimeThreshold_TimeFirst
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:341
 +0x45b

goroutine 90 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc000372f48,
 {0xc000483dc0, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000493d60, 0xc0004865a8?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 91 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc000372f48)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000493d60, 0x0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 95 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000278140,
 0xc0000362d0)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by 
github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerRunGroupAndTimeThreshold_CountFirst
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:391
 +0x45b

goroutine 197 [chan send, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc00007eb40,
 {0xbb7da7, 0xa})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:144
 +0x5fe
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0004927d0, 0xc000492550?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 96 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc000278188,
 {0xc0000c0530, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0000363c0, 0xc0003b0000?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 97 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc000278188)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0000363c0, 0xc00036b040?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 146 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginBroker).Run(0xc000372320,
 0xc0000364b0)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker.go:104
 +0x12f
created by 
github.com/crowdsecurity/crowdsec/pkg/csplugin.TestBrokerRunGroupThreshold
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/broker_test.go:446
 +0x45b

goroutine 147 [select]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginTicker(0xc000372368,
 {0xc00003a750, 0xd})
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:113
 +0x1a5
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:72
 +0x25
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000036500, 0x0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee

goroutine 148 [select, 9 minutes]:
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).watchPluginAlertCounts(0xc000372368)
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:152
 +0xad
github.com/crowdsecurity/crowdsec/pkg/csplugin.(*PluginWatcher).Start.func2()
        
/<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/csplugin/watcher.go:78
 +0x1d
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000036500, 0xc0004260c0?)
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:163 +0x36
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /<<PKGBUILDDIR>>/_build/src/gopkg.in/tomb.v2/tomb.go:159 +0xee
FAIL    github.com/crowdsecurity/crowdsec/pkg/csplugin  600.022s

Cheers
-- 
Sebastian Ramacher

Reply via email to