You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not related to #6297, I've tracked down the same test error a month ago: commit and ci, there should be other occurrences but stopped here.
But since I started to debug this, I managed to discover that the collector integration test always try to register zpages to the same address (127.0.0.1:55679) instead of using the helper testutil.GetAvailableLocalAddress(t) to get an available address. Occasionally, this port is not be available, possibly because of this, ending the test with the error:
failed to start extensions: listen tcp 127.0.0.1:55679: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
The following tests that fails with a different view with the same name is already registered is because we don't clean up the telemetryInitializer when the collector.service.Start(ctx) errors, in this case because the zpage extension was not started properly. Similar to #6238.
This can lead to other resource leaks because we don't clean up any resource that has been correctly started. For example, if an error happens on the NotifyPipelineReady function, all started extensions and pipelines would not be shutdown.
See https://github.com/open-telemetry/opentelemetry-collector/actions/runs/3255902434/jobs/5345701291
The text was updated successfully, but these errors were encountered: