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

[WIP] Testing trace propagation in POTel #4240

Draft
wants to merge 1 commit into
base: potel-base
Choose a base branch
from

Conversation

antonpirker
Copy link
Member

I want to make some proper high level tests of trace propagation.

@antonpirker antonpirker requested a review from a team as a code owner April 3, 2025 15:18
@antonpirker antonpirker marked this pull request as draft April 3, 2025 15:18
Copy link

codecov bot commented Apr 3, 2025

❌ 46 Tests Failed:

Tests completed Failed Passed Skipped
20404 46 20358 4418
View the top 3 failed test(s) by shortest run time
tests.tracing.test_trace_propagation test_trace_propagation_no_incoming_trace[traces_sample_rate=0]
Stack Traces | 0.089s run time
tests/tracing/test_trace_propagation.py:68: in test_trace_propagation_no_incoming_trace
    assert "sentry-trace" in request.headers
E   AssertionError: assert 'sentry-trace' in {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'}
E    +  where {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} = <PreparedRequest [GET]>.headers
tests.tracing.test_trace_propagation test_trace_propagation_no_incoming_trace[traces_sample_rate=1]
Stack Traces | 0.09s run time
tests/tracing/test_trace_propagation.py:68: in test_trace_propagation_no_incoming_trace
    assert "sentry-trace" in request.headers
E   AssertionError: assert 'sentry-trace' in {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'}
E    +  where {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} = <PreparedRequest [GET]>.headers
tests.tracing.test_trace_propagation test_trace_propagation_no_incoming_trace[traces_sample_rate=None]
Stack Traces | 0.091s run time
tests/tracing/test_trace_propagation.py:68: in test_trace_propagation_no_incoming_trace
    assert "sentry-trace" in request.headers
E   AssertionError: assert 'sentry-trace' in {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'}
E    +  where {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} = <PreparedRequest [GET]>.headers

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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

Successfully merging this pull request may close these issues.

1 participant