Skip to content

Flaky test TestComponentLifecycle on windows #10811

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

Closed
codeboten opened this issue Aug 6, 2024 · 0 comments · Fixed by #10839
Closed

Flaky test TestComponentLifecycle on windows #10811

codeboten opened this issue Aug 6, 2024 · 0 comments · Fixed by #10839
Labels
bug Something isn't working extension/zpages zPages extension os:windows Windows specific issues

Comments

@codeboten
Copy link
Contributor

See https://github.com/open-telemetry/opentelemetry-collector/actions/runs/10268301856/job/28410976363#step:5:387 for more details

--- FAIL: TestComponentLifecycle (0.00s)
    --- FAIL: TestComponentLifecycle/lifecycle (0.00s)
        generated_component_test.go:42: 
            	Error Trace:	D:/a/opentelemetry-collector/opentelemetry-collector/extension/zpagesextension/generated_component_test.go:42
            	Error:      	Received unexpected error:
            	            	listen tcp 127.0.0.1:55679: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
            	Test:       	TestComponentLifecycle/lifecycle
FAIL
FAIL	go.opentelemetry.io/collector/extension/zpagesextension	0.874s
FAIL
@codeboten codeboten added bug Something isn't working extension/zpages zPages extension os:windows Windows specific issues labels Aug 6, 2024
codeboten pushed a commit that referenced this issue Aug 8, 2024
#### Description
The default port used by `zpagesextension` is in a range that Windows
machines can exclude by default. This change adds a PowerShell script to
release the default `zpagesextension` port (55679) on the Windows GH
workflows.

#### Link to tracking issue
Fixes #10811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension/zpages zPages extension os:windows Windows specific issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant