#1119884 crowdsec: TestPluginWatcherInterval: test timed out after 10m0s

Package:
crowdsec
Source:
crowdsec
Description:
lightweight and collaborative security engine
Submitter:
Simon Josefsson
Date:
2026-08-12 08:33:02 UTC
Severity:
normal
#1119884#5
Date:
2025-11-01 19:29:10 UTC
From:
To:
Hi!  This package seems to have a flaky test that cause testing
migration issues for golang-logrus, full build log here:

https://ci.debian.net/packages/c/crowdsec/testing/arm64/65721707/

1589s === RUN   TestPluginWatcherInterval
1589s panic: test timed out after 10m0s
1589s 	running tests:
1589s 		TestPluginWatcherInterval (8m46s)

Maybe it is sufficient to increase the timeout to say 20 minutes?

/Simon

#1119884#10
Date:
2025-11-17 08:43:16 UTC
From:
To:
retitle 1119884 crowdsec: flaky test: FAIL: TestPluginWatcherInterval: watcher_test.go:75: assertion failed: error is not nil: context deadline exceeded
thanks

It failed in a different way now, on ppc64el:

https://ci.debian.net/packages/c/crowdsec/testing/ppc64el/66233705/#S7

I suggest disabling this self test if the reason for the failure cannot
be found.

/Simon

448s === RUN   TestPluginWatcherInterval
448s     watcher_test.go:75: assertion failed: error is not nil: context deadline exceeded
448s --- FAIL: TestPluginWatcherInterval (0.01s)

#1119884#17
Date:
2026-08-12 08:31:13 UTC
From:
To:
Happened again, causing testing migration blocking of golang-yaml.v2:

https://ci.debian.net/packages/c/crowdsec/testing/ppc64el/74276437/#L5992

605s === RUN   TestPluginWatcherInterval
605s     watcher_test.go:75: assertion failed: error is not nil: context deadline exceeded
605s --- FAIL: TestPluginWatcherInterval (0.01s)

/Simon