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

[Flaky test] spanmetricsconnector.TestConnectorConsumeTracesExpiredMetrics flaky on Windows #37096

Open
songy23 opened this issue Jan 8, 2025 · 2 comments
Labels

Comments

@songy23
Copy link
Member

songy23 commented Jan 8, 2025

Component(s)

connector/spanmetrics

Describe the issue you're reporting

https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/12671504546/job/35313417276

=== Failed
=== FAIL: . TestConnectorConsumeTracesExpiredMetrics (0.04s)
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 1059 [running]:
make[2]: *** [../../Makefile.Common:134: test] Error 3
testing.tRunner.func1.2({0x140dfc760, 0xc0002b4078})
	C:/hostedtoolcache/windows/go/1.22.8/x64/src/testing/testing.go:1631 +0x3f7
testing.tRunner.func1()
	C:/hostedtoolcache/windows/go/1.22.8/x64/src/testing/testing.go:1634 +0x6b6
make[1]: *** [Makefile:200: connector/spanmetricsconnector] Error 2
panic({0x140dfc760?, 0xc0002b4078?})
make[1]: *** Waiting for unfinished jobs....
	C:/hostedtoolcache/windows/go/1.22.8/x64/src/runtime/panic.go:770 +0x132
github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector.TestConnectorConsumeTracesExpiredMetrics(0xc00011e000)
	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/connector/spanmetricsconnector/connector_test.go:1322 +0x128e
testing.tRunner(0xc00011e000, 0x140eb3dc0)
	C:/hostedtoolcache/windows/go/1.22.8/x64/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
	C:/hostedtoolcache/windows/go/1.22.8/x64/src/testing/testing.go:1742 +0x826

=== FAIL: . TestLoadConfig (unknown)

=== FAIL: . TestConsumeTraces (unknown)
@songy23 songy23 added flaky test a test is flaky os:windows needs triage New item requiring triage connector/spanmetrics labels Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Pinging code owners:

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

Copy link
Contributor

github-actions bot commented Jan 8, 2025

Pinging code owners for connector/spanmetrics: @portertech @Frapschen. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant