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

TestDefaultComponents does not pass on github actions #2738

Closed
bogdandrutu opened this issue Mar 19, 2021 · 1 comment · Fixed by #2763
Closed

TestDefaultComponents does not pass on github actions #2738

bogdandrutu opened this issue Mar 19, 2021 · 1 comment · Fixed by #2763
Assignees
Labels
bug Something isn't working

Comments

@bogdandrutu
Copy link
Member

bogdandrutu commented Mar 19, 2021

=== RUN   TestDefaultComponents
    defaults_test.go:136: 
        	Error Trace:	defaults_test.go:136
        	            				defaults_test.go:83
        	Error:      	Received unexpected error:
        	            	listen tcp 127.0.0.1:1777: bind: address already in use
        	Test:       	TestDefaultComponents
--- FAIL: TestDefaultComponents (0.00s)
@bogdandrutu bogdandrutu added the bug Something isn't working label Mar 19, 2021
@pjanotti
Copy link
Contributor

This happened at the Start of the first instance of pprofextension with the default config. Because of the port in question, this may be due to the same extension having "leaked" from another test. That said this test can be more resilient to ports not available by using the test helper - I will open a PR for it.

pjanotti added a commit to pjanotti/opentelemetry-service that referenced this issue Mar 22, 2021
Fixes open-telemetry#2738 by selecting available endpoints and ports for the default extensions tests.
bogdandrutu pushed a commit that referenced this issue Mar 22, 2021
Fixes #2738 by selecting available endpoints and ports for the default extensions tests.
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this issue Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants