Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: TestDynamicExporterLifecycle #32587

Open
lmb opened this issue May 16, 2024 · 2 comments
Open

CI: TestDynamicExporterLifecycle #32587

lmb opened this issue May 16, 2024 · 2 comments
Labels
area/CI Continuous Integration testing issue or flake ci/flake This is a known failure that occurs in the tree. Please investigate me! sig/hubble Impacts hubble server or relay

Comments

@lmb
Copy link
Contributor

lmb commented May 16, 2024

CI failure

panic: test timed out after 10m0s
running tests:
	TestDynamicExporterLifecycle (10m0s)

goroutine 65 [running]:
testing.(*M).startAlarm.func1()
	/root/sdk/go1.22.3/src/testing/testing.go:2366 +0x385
created by time.goFunc
	/root/sdk/go1.22.3/src/time/sleep.go:177 +0x2d

goroutine 1 [chan receive, 10 minutes]:
testing.(*T).Run(0xc000610d00, {0x19faf0b?, 0x0?}, 0x1ab77d8)
	/root/sdk/go1.22.3/src/testing/testing.go:1750 +0x3ab
testing.runTests.func1(0xc000610d00)
	/root/sdk/go1.22.3/src/testing/testing.go:2161 +0x37
testing.tRunner(0xc000610d00, 0xc000033c60)
	/root/sdk/go1.22.3/src/testing/testing.go:1689 +0xfb
testing.runTests(0xc000602420, {0x2a72220, 0x10, 0x10}, {0x1?, 0x52638e?, 0x2a95d40?})
	/root/sdk/go1.22.3/src/testing/testing.go:2159 +0x445
testing.(*M).Run(0xc00045e280)
	/root/sdk/go1.22.3/src/testing/testing.go:2027 +0x68b
main.main()
	_testmain.go:113 +0x193

goroutine 38 [chan send, 10 minutes]:
github.com/cilium/cilium/pkg/hubble/exporter.(*configWatcher).Stop(0xc00024a1c0?)
	/host/pkg/hubble/exporter/config_watcher.go:81 +0x6d
github.com/cilium/cilium/pkg/hubble/exporter.(*DynamicExporter).Stop(0xc00034b2c0)
	/host/pkg/hubble/exporter/dynamic_exporter.go:58 +0xc5
github.com/cilium/cilium/pkg/hubble/exporter.TestDynamicExporterLifecycle(0xc000348340)
	/host/pkg/hubble/exporter/dynamic_exporter_test.go:40 +0x1ef
testing.tRunner(0xc000348340, 0x1ab77d8)
	/root/sdk/go1.22.3/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
	/root/sdk/go1.22.3/src/testing/testing.go:1742 +0x390

goroutine 16 [sync.Mutex.Lock, 10 minutes]:
sync.runtime_SemacquireMutex(0x30220a0?, 0x20?, 0x30220a0?)
	/root/sdk/go1.22.3/src/runtime/sema.go:77 +0x25
sync.(*Mutex).lockSlow(0xc00034b300)
	/root/sdk/go1.22.3/src/sync/mutex.go:171 +0x15d
sync.(*Mutex).Lock(...)
	/root/sdk/go1.22.3/src/sync/mutex.go:90
sync.(*RWMutex).Lock(0x3?)
	/root/sdk/go1.22.3/src/sync/rwmutex.go:146 +0x31
github.com/cilium/cilium/pkg/hubble/exporter.(*DynamicExporter).onConfigReload(0xc00034b2c0, {0x1c8bcc8, 0x30220a0}, 0x31b7b661343ab32f, {{0xc00032e1c0?, 0x16b83a0?, 0xc000718401?}})
	/host/pkg/hubble/exporter/dynamic_exporter.go:85 +0x9d
github.com/cilium/cilium/pkg/hubble/exporter.(*configWatcher).reload(0xc00024a1c0)
	/host/pkg/hubble/exporter/config_watcher.go:72 +0xc3
github.com/cilium/cilium/pkg/hubble/exporter.NewConfigWatcher.func1()
	/host/pkg/hubble/exporter/config_watcher.go:57 +0x33
created by github.com/cilium/cilium/pkg/hubble/exporter.NewConfigWatcher in goroutine 38
	/host/pkg/hubble/exporter/config_watcher.go:51 +0x325
FAIL	github.com/cilium/cilium/pkg/hubble/exporter	600.180s
@lmb lmb added area/CI Continuous Integration testing issue or flake sig/hubble Impacts hubble server or relay ci/flake This is a known failure that occurs in the tree. Please investigate me! labels May 16, 2024
@glibsm
Copy link
Member

glibsm commented May 16, 2024

Linking to the PR that added the functionality #28873

@glibsm
Copy link
Member

glibsm commented May 16, 2024

cc @marqc just in case it rings a bell. Fresh report, I don't think anyone looked into this yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ci/flake This is a known failure that occurs in the tree. Please investigate me! sig/hubble Impacts hubble server or relay
Projects
None yet
Development

No branches or pull requests

2 participants