-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/carbon] Flaky Test - Test_Server_ListenAndServe/udp #10916
Comments
Possibly related to #1426, #10151, #10872. cc @bogdandrutu |
pardon, Does the testutil function There doesn't appear to be a way to instruct the testutil functions to search for a free udp port.
|
@jspaleta, thanks for looking into this. Are you willing to submit a PR for this? If so, I will assign the issue to you. |
Hey, |
@djaglowski you can assign me, I think I'm up to speed enough know to do a PR to extend the test suite. |
@djaglowski |
okay with this merged, I can now open the PRs to fix up the disabled tests for carbon an statsd |
@djaglowski |
@jspaleta PR does not have the effect we want, reverting now. |
@bogdandrutu, |
@bogdandrutu |
Okay I've identified a bug in the reciever tests. It has noth ing to do with the udp port binding, which was a potential other problem. The new test failure happens when the UDPserver reads in a 0 byte length message from its UDP packet connection. The deferred waitGroup.Done() fires, but there is not msg copied into the msg channel because the zero length buffer read doesnt result in a msg being copied to the channel. I'll work on refactoring the tests now to catch this. |
@djaglowski |
Thanks for digging into this @jspaleta. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Observed here: https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/6862350950?check_suite_focus=true#step:7:951
The text was updated successfully, but these errors were encountered: