-
Notifications
You must be signed in to change notification settings - Fork 445
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
[BUG] unexpected goroutines remain in service after upgrading from 1.69.1 to 1.70.1 #2987
Comments
Thanks for reporting this. This is a known issue in the seelog library which was introduced as an indirect dependency by #2817:
Since you're using goleak, would you be okay with using the same workaround as dd-trace-go is currently using? func TestMain(m *testing.M) {
// TODO: seelog (indirect dependency) has a known goroutine leak where it leaks a single goroutine on init (https://github.com/cihub/seelog/issues/182)
goleak.VerifyTestMain(m, goleak.IgnoreAnyFunction("github.com/cihub/seelog.(*asyncLoopLogger).processQueue"))
} Ideally we would fix this on our end, but it's going to require a bigger effort. cc @ajgajg1134 |
Am I missing a context here? dd-trace-go is owned by DataDog org. It seems that datadog-agent is also under the same org. Should the datadog-agent be fixed? If that is not possible, maybe dd-trace-go should hold off updating this component until the leak is fixed? |
The team is actively working on this issue, and while we cannot remove the new dependency on |
Version of dd-trace-go
1.70.1
Describe what happened:
After updating our services depending on dd-trace-go that rely on APM features as, we detected leaks in go routines. Likely caused by te semlog update
Describe what you expected:
No goroutine leaks.
Steps to reproduce the issue:
Running unit tests. Not easy to provide sample here.
Additional environment details (Version of Go, Operating System, etc.):
Go version: 1.23.3
OS: Linux/amd64
The text was updated successfully, but these errors were encountered: