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

[receiver/podman] Component tests are failing on Windows #30045

Closed
evan-bradley opened this issue Dec 18, 2023 · 2 comments
Closed

[receiver/podman] Component tests are failing on Windows #30045

evan-bradley opened this issue Dec 18, 2023 · 2 comments
Labels
bug Something isn't working ci-cd CI, CD, testing, build issues os:windows receiver/podman

Comments

@evan-bradley
Copy link
Contributor

Component(s)

receiver/podman

What happened?

We are currently receiving the current error on main when running Windows unit tests for the Podman receiver:

C:/mingw64/bin/make -C receiver/podmanreceiver test
make[2]: Entering directory 'D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/podmanreceiver'
go test -race -timeout 300s -parallel 4 --tags="" ./...
?   	github.com/open-telemetry/opentelemetry-collector-contrib/receiver/otlpjsonfilereceiver/internal/metadata	[no test files]
?   	github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver/internal/metadata	[no test files]
--- FAIL: Test_ComponentLifecycle (0.00s)
    --- FAIL: Test_ComponentLifecycle/metrics-shutdown (0.00s)
        generated_component_test.go:67: 
            	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/podmanreceiver/generated_component_test.go:67
            	Error:      	Received unexpected error:
            	            	podman receiver is not supported on windows
            	Test:       	Test_ComponentLifecycle/metrics-shutdown
FAIL
FAIL	github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver	0.063s
FAIL
make[2]: *** [../../Makefile.Common:118: test] Error 1
make[2]: Leaving directory 'D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/podmanreceiver'
make[1]: *** [Makefile:152: receiver/podmanreceiver] Error 2

From: https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/7250553809/job/19751004982

I believe this error comes from generating the tests, which was done here: #29957

Collector version

main

Environment information

No response

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@evan-bradley evan-bradley added bug Something isn't working ci-cd CI, CD, testing, build issues labels Dec 18, 2023
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@evan-bradley
Copy link
Contributor Author

Resolved by #30080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci-cd CI, CD, testing, build issues os:windows receiver/podman
Projects
None yet
Development

No branches or pull requests

2 participants