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][receiver/opencensus] TestEnsureRecordedMetrics_zeroLengthSpansSender failing #37633

Open
pjanotti opened this issue Feb 1, 2025 · 2 comments
Labels

Comments

@pjanotti
Copy link
Contributor

pjanotti commented Feb 1, 2025

Component(s)

receiver/opencensus

Describe the issue you're reporting

Looks like a race in the test, I couldn't repro it locally so likely it is low frequency. Detected at https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13051122084/job/36411445776#step:8:351

=== FAIL: internal/octrace TestEnsureRecordedMetrics_zeroLengthSpansSender (0.10s)
    observability_test.go:82: 
        	Error Trace:	D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/octrace/observability_test.go:82
        	Error:      	Received unexpected error:
        	            	the following errors occurred:
        	            	 -  metric 'otelcol_receiver_accepted_spans' not found
        	            	 -  metric 'otelcol_receiver_refused_spans' not found
        	Test:       	TestEnsureRecordedMetrics_zeroLengthSpansSender

@pjanotti pjanotti added needs triage New item requiring triage flaky test a test is flaky labels Feb 1, 2025
Copy link
Contributor

github-actions bot commented Feb 1, 2025

Pinging code owners:

  • receiver/opencensus: @open-telemetry/collector-approvers

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

@pjanotti pjanotti removed the needs triage New item requiring triage label Feb 1, 2025
@crobert-1 crobert-1 changed the title [flaky test][receiver/opencensus] [flaky test][receiver/opencensus] TestEnsureRecordedMetrics_zeroLengthSpansSender failing Feb 3, 2025
@crobert-1
Copy link
Member

Added the name of the failing test to the title in an effort to make the issue easier to find in the future.

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

2 participants