Skip to content

[exporter/awsxray] Flaky test TestXrayAndW3CSpanTraceResourceExtraction #21094

Closed as not planned
@atoulme

Description

Component(s)

exporter/awsxray

What happened?

Flaky test with https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/4757846016/jobs/8455186394?pr=21089

make -C exporter/awsxrayexporter test
make[2]: Entering directory '/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/awsxrayexporter'
go test -race -timeout 300s -parallel 4 --tags="" ./...
--- FAIL: TestXrayAndW3CSpanTraceResourceExtraction (0.00s)
    awsxray_test.go:70: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/awsxrayexporter/awsxray_test.go:70
        	Error:      	"[%!s(*string=0xc00030e3b0) %!s(*string=0xc00030e[50](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/4757846016/jobs/8455186394?pr=21089#step:8:51)0) %!s(*string=0xc00030e890)]" should have 2 item(s), but has 3
        	Test:       	TestXrayAndW3CSpanTraceResourceExtraction
        	Messages:   	2 spans have xay trace id
FAIL
FAIL	github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter	0.3[53](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/4757846016/jobs/8455186394?pr=21089#step:8:54)s

Collector version

latest

Environment information

No response

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

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