#1140131 golang-k8s-client-go: flaky FTBFS: FAIL: TestGetServerResourcesForGroupVersion: discovery_client_test.go:428: took too long to perform discovery: 7.985600238s

#1140131#5
Date:
2026-06-16 08:35:00 UTC
From:
To:
Hi!  This package appears to FTBFS during build randomly, here is how
one failure looks like:

450s === RUN   TestGetServerResourcesForGroupVersion
450s     discovery_client_test.go:385: unexpected request: /apis/foobar
450s     discovery_client_test.go:428: took too long to perform discovery: 7.985600238s
450s --- FAIL: TestGetServerResourcesForGroupVersion (7.99s)

https://ci.debian.net/packages/g/golang-k8s-client-go/testing/arm64/72117103/#L1955

/Simon

#1140131#10
Date:
2026-07-14 18:41:03 UTC
From:
To:
Here is another flaky test FTBFS problem:

https://ci.debian.net/packages/g/golang-k8s-client-go/testing/loong64/73193348/#L5136

This is blocking testing migration of
https://tracker.debian.org/pkg/golang-github-google-gofuzz now

/Simon

683s === RUN   TestSharedInformerWatchDisruption
683s polling
683s listenerNoResync: handle: pod1
683s listenerResync: handle: pod1
683s listenerNoResync: handle: pod2
683s listenerResync: handle: pod2
683s sleeping
683s final check
683s polling
683s sleeping
683s final check
683s polling
683s sleeping
683s final check
683s polling
683s sleeping
683s final check
683s listenerResync: handle: pod1
683s listenerResync: handle: pod2
683s polling
683s     shared_informer_test.go:465: listenerNoResync: expected map[pod2:{} pod3:{}], got []
683s polling
683s     shared_informer_test.go:465: listenerResync: expected map[pod1:{} pod2:{} pod3:{}], got [pod1 pod2]
683s --- FAIL: TestSharedInformerWatchDisruption (8.17s)