Skip to content

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

Open
@songy23

Description

@songy23

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions