Skip to content

Conversation

alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Sep 26, 2025

Description

Add trace_ignore_status_codes option to exclude HTTP requests from tracing if they have certain status codes. A debug-level log message is printed if a transaction is dropped because its status code is ignored. By default no status codes automatically cause transactions to be dropped, although this will change in the next major.

Issues

Closes #4812

Reminders


Note

Adds a configurable option to skip tracing transactions when HTTP response status matches specified codes or ranges, with logging and tests.

  • Tracing:
    • Add Transaction._in_http_status_code_range() and use it in Transaction.finish() to set sampled=False when data['http.response.status_code'] matches client.options['trace_ignore_status_codes']; warn on non-int status types; log debug when discarded.
    • Extract _get_log_representation() and reuse in sampling logs.
  • Configuration:
    • Introduce trace_ignore_status_codes init option and document it in ClientConstructor.__init__ docstring.
  • Tests:
    • New tests/tracing/test_ignore_status_codes.py covering single codes, ranges, mixed lists, malformed config, invalid status type, and default behavior.

Written by Cursor Bugbot for commit ed08547. This will update automatically on new commits. Configure here.

Copy link

codecov bot commented Sep 26, 2025

❌ 78 Tests Failed:

Tests completed Failed Passed Skipped
23717 78 23639 2304
View the top 3 failed test(s) by shortest run time
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.078s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.078s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '95be38efb1f14b51b80c1201ec9172a6', 'span_id': '8414fca9e578e075', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139662425226304', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:23.785703Z', 'start_timestamp': '2025-10-01T08:43:23.784979Z', 'spans': [], 'measurements': {}, 'event_id': 'bd10fbe749474715a1d1930f7a043428', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.079s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E     +0
E     -1
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.079s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '3e056dfec310482684906abb13d563a8', 'span_id': 'a10ac7f10fb395fc', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139662425226304', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:23.693275Z', 'start_timestamp': '2025-10-01T08:43:23.692428Z', 'spans': [], 'measurements': {}, 'event_id': 'df15d4bbbf874cb9a655ea9cd7614c5e', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.079s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'b95e9ec1260044dbb2e7b480be924e4f', 'span_id': '905720612f1ee593', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139662425226304', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:23.869373Z', 'start_timestamp': '2025-10-01T08:43:23.868666Z', 'spans': [], 'measurements': {}, 'event_id': 'a8d28dee1e9b4b038914863d022e0670', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.079s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '56bb480af93a4ababb75fbda7cac56e7', 'span_id': 'a8f85011e74772d8', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139662425226304', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:24.269024Z', 'start_timestamp': '2025-10-01T08:43:24.268322Z', 'spans': [], 'measurements': {}, 'event_id': '9b5bded973c7429c91c8a2356fb2e2d5', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.079s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '5c19a011d11a4c569530403092027e9c', 'span_id': '8e7c76a90c531f24', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139662425226304', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:24.352232Z', 'start_timestamp': '2025-10-01T08:43:24.351497Z', 'spans': [], 'measurements': {}, 'event_id': '486cafb7888141e6a31672f381d9c080', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E     +0
E     -1
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:13:52) \n[GCC 11.3.0]', 'name': 'CPython', 'vers...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.7-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:13:52) \n[GCC 11.3.0]', 'name': 'CPython', 'vers...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.7-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:13:52) \n[GCC 11.3.0]', 'name': 'CPython', 'vers...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.7-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.08s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.081s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.081s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:13:52) \n[GCC 11.3.0]', 'name': 'CPython', 'vers...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.7-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.082s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '1085a87c06a34cea8f11b806272d5886', 'span_id': 'bf0e0e6fa8da28d9', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140166035422272', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:40.588737Z', 'start_timestamp': '2025-10-01T08:44:40.587879Z', 'spans': [], 'measurements': {}, 'event_id': '1557ca3ee5d14107846ab2c5d83139f7', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.082s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '9cc17d249e1442a986c070622b8f6069', 'span_id': '84a646fe321459e8', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140166035422272', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:40.675401Z', 'start_timestamp': '2025-10-01T08:44:40.674527Z', 'spans': [], 'measurements': {}, 'event_id': '0653789ebcb64c45a0e7e1752d8857ec', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.082s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:13:52) \n[GCC 11.3.0]', 'name': 'CPython', 'vers...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.7-common']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.083s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'b2c6fba7e93d4c82800987d109626d94', 'span_id': '88e5e7e029adf808', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140166035422272', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:39.987025Z', 'start_timestamp': '2025-10-01T08:44:39.986083Z', 'spans': [], 'measurements': {}, 'event_id': '09f28a7ae50d4ce6b1ba6966d13c45c5', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.083s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'd8ef4e2468804f4581e34341b817f10b', 'span_id': '8eb93a7d6d5e843b', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140166035422272', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:40.083108Z', 'start_timestamp': '2025-10-01T08:44:40.082129Z', 'spans': [], 'measurements': {}, 'event_id': 'fa3c7a002f364cb0a65d1a2b00b97eed', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.083s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '42347e5263b7447faca03c5509b3ced7', 'span_id': '9b7800df3ed90949', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140166035422272', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.10.18', 'build': '3.10.18 (main, Jun  4 2025, 04:05:45) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:40.172186Z', 'start_timestamp': '2025-10-01T08:44:40.171273Z', 'spans': [], 'measurements': {}, 'event_id': '7d191e1f3520490db0a08696e3d006b4', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.085s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '4328a9fcbc5e4e2a9d73668c7e0996f6', 'span_id': '9d7b0253828d1293', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140553559792512', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:43.109082Z', 'start_timestamp': '2025-10-01T08:43:43.108133Z', 'spans': [], 'measurements': {}, 'event_id': '0cf4b7e64bad4943891d6f828e66a43f', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.085s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '03e4ed165ac648e6b86cf7557bd7489f', 'span_id': '822c0ed261605167', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140553559792512', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:43.641547Z', 'start_timestamp': '2025-10-01T08:43:43.640551Z', 'spans': [], 'measurements': {}, 'event_id': 'e5ab509e6ba34eddbc7de9cdb6b0337e', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.086s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.087s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.087s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'bbe62d98722044e1ba1c2239881c5e75', 'span_id': 'a6159b81085c2dbc', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140553559792512', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:43.010527Z', 'start_timestamp': '2025-10-01T08:43:43.009592Z', 'spans': [], 'measurements': {}, 'event_id': 'e818729452fa4bcba6546fbbda9071d7', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.087s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-gevent']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.087s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-gevent']}, ...}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-gevent']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-gevent']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'badf8ec5cdc94dedb5761e77b80b9cdc', 'span_id': '8aaefc4122f81cd0', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139955726355328', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:46:25.571393Z', 'start_timestamp': '2025-10-01T08:46:25.570390Z', 'spans': [], 'measurements': {}, 'event_id': 'dd1e0cc394b54cb495c8f279d204eecf', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'e27450449aba4780a0a820141f5a3d55', 'span_id': '8c19a90b01f6f7dc', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140553559792512', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:43.736222Z', 'start_timestamp': '2025-10-01T08:43:43.735097Z', 'spans': [], 'measurements': {}, 'event_id': 'a7a04505fb0d4045b4f972bd69942214', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'contexts': {'runtime': {'build': '3.6.15 (default, Dec 21 2021, 12:03:22) \n[GCC 10.2.1 20210110]', 'name': 'CPytho...__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.6-gevent']}, ...}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.088s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'faee1ba846f14515a31802051415f8f6', 'span_id': '8e1bdb97b513a617', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139955726355328', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:46:25.664600Z', 'start_timestamp': '2025-10-01T08:46:25.663471Z', 'spans': [], 'measurements': {}, 'event_id': '17cd845271164bcb8c99de7119e59cdf', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.089s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '2bdff6cf1be148a1bc5b622bea58fe50', 'span_id': '8200a291ace98ec0', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140553559792512', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:43.203082Z', 'start_timestamp': '2025-10-01T08:43:43.202114Z', 'spans': [], 'measurements': {}, 'event_id': '95e3976927ec4d8c902d679e107383b9', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.09s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E     +0
E     -1
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.09s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'f8b6bedfc9094ff58b8347f2e9bddb01', 'span_id': 'a84e7cf37748614b', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139955726355328', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:46:25.024955Z', 'start_timestamp': '2025-10-01T08:46:25.023765Z', 'spans': [], 'measurements': {}, 'event_id': 'c3914d06f22f4def95c9c9f95b71db02', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.09s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '16eda4c56cf146fba88cc0a238d0b7b6', 'span_id': '9f65cb84943f8d26', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139955726355328', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:46:25.120093Z', 'start_timestamp': '2025-10-01T08:46:25.119087Z', 'spans': [], 'measurements': {}, 'event_id': '648744f73f5a4e00a81e6462998ef799', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.091s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'aacf9d8d4eaa4d92a1c14f7e81581604', 'span_id': 'bacc4f4add6dff70', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139955726355328', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.8.18', 'build': '3.8.18 (default, Dec 12 2024, 19:15:02) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:46:24.919196Z', 'start_timestamp': '2025-10-01T08:46:24.918195Z', 'spans': [], 'measurements': {}, 'event_id': '60126fb6658b43be9b534527b01b5d72', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.091s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '6212a598da994a11964fde358856873b', 'span_id': 'b6963fb90414b5ce', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140489099320192', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:35.337554Z', 'start_timestamp': '2025-10-01T08:43:35.336894Z', 'spans': [], 'measurements': {}, 'event_id': 'cebdff3bc84143349f163e82631df452', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.092s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.092s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.092s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '81ca7bcd4b524800b946f67bfcc67a51', 'span_id': 'bec0dc5ec30506b5', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140489099320192', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:35.241758Z', 'start_timestamp': '2025-10-01T08:43:35.241107Z', 'spans': [], 'measurements': {}, 'event_id': '61878df6e1f243468ee2df3fa5c50b4d', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.092s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'f4a462c1eba64ba2a4e24cbb1b133bd6', 'span_id': 'b1d75e1d57d8ba1f', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140489099320192', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:35.910690Z', 'start_timestamp': '2025-10-01T08:43:35.909971Z', 'spans': [], 'measurements': {}, 'event_id': 'aef019c1dde04ae8869a97b0a7cc9ff9', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.093s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '58c75d3ab822436c87fe6dbca0340c3f', 'span_id': '8574f18759c8688e', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140440655788928', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:11.737652Z', 'start_timestamp': '2025-10-01T08:45:11.736817Z', 'spans': [], 'measurements': {}, 'event_id': 'c3f8b7838b924ed4a9ce53f6a4383090', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.093s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'd1827574026c4ce2a90f29b9356a0d56', 'span_id': '8a960560ccd7ea56', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140440655788928', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:11.835912Z', 'start_timestamp': '2025-10-01T08:45:11.835134Z', 'spans': [], 'measurements': {}, 'event_id': '360618323d5a43f98ed8428c5e4b31f7', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.093s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'bac09e7a8fcf40b4bf974bc4c4a53cc6', 'span_id': '95b22def9e270c90', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140440655788928', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:11.934259Z', 'start_timestamp': '2025-10-01T08:45:11.933447Z', 'spans': [], 'measurements': {}, 'event_id': 'e32e484a78894d8dbdc35364c20816a1', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.093s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'cef3dad3d5cc42ec948317a6548d006b', 'span_id': 'a3603df396353bbb', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140440655788928', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:12.406284Z', 'start_timestamp': '2025-10-01T08:45:12.405386Z', 'spans': [], 'measurements': {}, 'event_id': 'f8a0ab787101417e9525bd971cde952c', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.093s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '0dc065880fb44e29a37fb35ab2f42b0e', 'span_id': '9155ba002d7ff7a5', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140489099320192', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:36.008280Z', 'start_timestamp': '2025-10-01T08:43:36.007670Z', 'spans': [], 'measurements': {}, 'event_id': '1f0c6536fdd3485da40f0aac7118111a', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.094s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '3ceedade213f4034bfbdb6bfca7fdbf1', 'span_id': '9bd5e67b36b23792', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140489099320192', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:35.434994Z', 'start_timestamp': '2025-10-01T08:43:35.434082Z', 'spans': [], 'measurements': {}, 'event_id': '63a9533dd9684059a75d6e4acad53671', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.094s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '97d139ee218d456d805ab45dfe2a9bd9', 'span_id': '8b99a3f9b0c0308c', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140440655788928', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.11.13', 'build': '3.11.13 (main, Jun  4 2025, 04:12:57) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:12.504851Z', 'start_timestamp': '2025-10-01T08:45:12.504044Z', 'spans': [], 'measurements': {}, 'event_id': '4692ad2fdd6b4a8ba31607bdb7146db9', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.102s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.102s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '53dab073b9734e8fa8638d8966e8f0d3', 'span_id': '8c3bd3337e9feaca', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139848718138240', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:38.098414Z', 'start_timestamp': '2025-10-01T08:45:38.097563Z', 'spans': [], 'measurements': {}, 'event_id': '40700525978a4e3581443401ac22d03f', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.103s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '3fdec75185d2425db71dc4a018d54262', 'span_id': '8143c3ecdadf25da', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139848718138240', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:37.582205Z', 'start_timestamp': '2025-10-01T08:45:37.581368Z', 'spans': [], 'measurements': {}, 'event_id': '701a671ddbab406496c708ee104465e9', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.103s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '4881578e99e74f60968544b05ac68c1d', 'span_id': 'bf10d281ab34b2ee', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139848718138240', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:38.206517Z', 'start_timestamp': '2025-10-01T08:45:38.205606Z', 'spans': [], 'measurements': {}, 'event_id': 'fd5bef58f69a49d89f3634f4fece5e88', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.104s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.104s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'a376e836a61243c39956ff7e984c5ee5', 'span_id': '97717d7195af47c8', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139848718138240', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:37.364324Z', 'start_timestamp': '2025-10-01T08:45:37.363352Z', 'spans': [], 'measurements': {}, 'event_id': '5918521d194349cb9e44a6628862ac23', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.104s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '88f64236164b4300ba1213c772014814', 'span_id': '9e249bab356f6a78', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139848718138240', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:45:37.473936Z', 'start_timestamp': '2025-10-01T08:45:37.473169Z', 'spans': [], 'measurements': {}, 'event_id': '7a41c74e87d2444c90d629ee12f5a6ea', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.105s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '642b1a3a2d0f49589e264223f7ae1f3b', 'span_id': 'ad61dcb028f10e34', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140293504617344', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.9.23', 'build': '3.9.23 (main, Jun  4 2025, 04:12:12) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:47.861229Z', 'start_timestamp': '2025-10-01T08:43:47.860204Z', 'spans': [], 'measurements': {}, 'event_id': '1c76a6c0e4e442d78ded2aa672e183f3', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.105s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'a194a83c4ac34ba4a117d1a033ddbfc3', 'span_id': '90c863032aa8e7d6', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140293504617344', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.9.23', 'build': '3.9.23 (main, Jun  4 2025, 04:12:12) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:48.394950Z', 'start_timestamp': '2025-10-01T08:43:48.393956Z', 'spans': [], 'measurements': {}, 'event_id': '337102cc68ae491c810d734f8c7dfe60', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.106s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.106s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '7582ae01fb514d8d9691b31184afc1fb', 'span_id': 'a62fb1f09d756bae', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140293504617344', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.9.23', 'build': '3.9.23 (main, Jun  4 2025, 04:12:12) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:47.750887Z', 'start_timestamp': '2025-10-01T08:43:47.749896Z', 'spans': [], 'measurements': {}, 'event_id': '6a1e16d0ef1a4a199683ba59af7e627f', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.106s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '9827a760d2b6454ebc812ed994c3a740', 'span_id': 'a1acf891adf047e1', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140293504617344', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.9.23', 'build': '3.9.23 (main, Jun  4 2025, 04:12:12) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:48.506417Z', 'start_timestamp': '2025-10-01T08:43:48.505350Z', 'spans': [], 'measurements': {}, 'event_id': '7c92b95f849b47f3a92a3dc2becf1dff', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.107s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'e921702b2c204fd68464b0b6105e54a1', 'span_id': '93596c72048793c4', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140293504617344', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.9.23', 'build': '3.9.23 (main, Jun  4 2025, 04:12:12) \n[GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:43:47.630635Z', 'start_timestamp': '2025-10-01T08:43:47.629623Z', 'spans': [], 'measurements': {}, 'event_id': '764e26ff4842478ca9137255aa4b248e', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.107s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '92c64016271a4100a875d3e28aade373', 'span_id': '9b8a7ef998723878', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140670364199808', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:05.918436Z', 'start_timestamp': '2025-10-01T08:44:05.917625Z', 'spans': [], 'measurements': {}, 'event_id': '26466d32d4004a1eaade5abcc8fe07ef', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.107s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '559753f5b31a4225863aff908a56e00d', 'span_id': '8e3a5369f556137b', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140670364199808', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:06.703620Z', 'start_timestamp': '2025-10-01T08:44:06.702752Z', 'spans': [], 'measurements': {}, 'event_id': '5726f83f967c42ccbb7de4f1fdbd9581', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.107s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'e082657f03784831a0102e6f5efceb89', 'span_id': 'ba968f4713917210', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140670364199808', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:06.817551Z', 'start_timestamp': '2025-10-01T08:44:06.816672Z', 'spans': [], 'measurements': {}, 'event_id': 'c338e1d06040457ab15cb9b42de544e8', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[305]
Stack Traces | 0.111s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '117a0c9cd969491e892ce5e4b35965a4', 'span_id': 'b13f42137dc0775f', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139690756209536', 'thread.name': 'MainThread', 'http.response.status_code': 305}}, 'runtime': {'name': 'CPython', 'version': '3.13.7', 'build': '3.13.7 (main, Aug 15 2025, 01:43:41) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:15.454078Z', 'start_timestamp': '2025-10-01T08:44:15.453203Z', 'spans': [], 'measurements': {}, 'event_id': '7dd274dfcb6c47d9a81b72c94f2a0910', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.111s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '61830510897644799966dad7d70c375b', 'span_id': 'b404e9e8cddd7294', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140670364199808', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:06.152057Z', 'start_timestamp': '2025-10-01T08:44:06.151144Z', 'spans': [], 'measurements': {}, 'event_id': '0a0469c6c826481c86fa018fb484bf14', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_malformed_argument_ignored
Stack Traces | 0.112s run time
tests/tracing/test_ignore_status_codes.py:120: in test_malformed_argument_ignored
    assert len(events) == 1
E   assert 0 == 1
E    +  where 0 = len([])
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.112s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '71fd3012975340fa87247f095ebd4f2f', 'span_id': 'a3b4a9723462846b', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '140670364199808', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.12.11', 'build': '3.12.11 (main, Jun  4 2025, 04:14:37) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:06.036206Z', 'start_timestamp': '2025-10-01T08:44:06.035305Z', 'spans': [], 'measurements': {}, 'event_id': 'a37efaea748c46ccb40bf12a1d190c78', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[355]
Stack Traces | 0.112s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '22b09b9fe4a0487699c1c42eea6394a3', 'span_id': 'b706058098176ad8', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139690756209536', 'thread.name': 'MainThread', 'http.response.status_code': 355}}, 'runtime': {'name': 'CPython', 'version': '3.13.7', 'build': '3.13.7 (main, Aug 15 2025, 01:43:41) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:16.262021Z', 'start_timestamp': '2025-10-01T08:44:16.261145Z', 'spans': [], 'measurements': {}, 'event_id': 'c37f5dc76d56430baf770eddc699ee1f', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[307]
Stack Traces | 0.113s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'e4b427fac23e4245a00e8063acef56d7', 'span_id': '9003734e351537b4', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139690756209536', 'thread.name': 'MainThread', 'http.response.status_code': 307}}, 'runtime': {'name': 'CPython', 'version': '3.13.7', 'build': '3.13.7 (main, Aug 15 2025, 01:43:41) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:15.574675Z', 'start_timestamp': '2025-10-01T08:44:15.573745Z', 'spans': [], 'measurements': {}, 'event_id': '84e41e649c744a32b052660ea2f60efb', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_variety_ignored[404]
Stack Traces | 0.113s run time
tests/tracing/test_ignore_status_codes.py:90: in test_variety_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': 'bb57205e826d4e948e030d002e1f4118', 'span_id': '966f15e89939fcc9', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139690756209536', 'thread.name': 'MainThread', 'http.response.status_code': 404}}, 'runtime': {'name': 'CPython', 'version': '3.13.7', 'build': '3.13.7 (main, Aug 15 2025, 01:43:41) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:16.381051Z', 'start_timestamp': '2025-10-01T08:44:16.379991Z', 'spans': [], 'measurements': {}, 'event_id': 'ef5a9a6fe11c48758ebc70d2e0b0dfa4', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]
tests.tracing.test_ignore_status_codes::test_range_ignored[399]
Stack Traces | 0.116s run time
tests/tracing/test_ignore_status_codes.py:56: in test_range_ignored
    assert not events
E   AssertionError: assert not [{'type': 'transaction', 'transaction': 'GET /', 'transaction_info': {'source': <TransactionSource.CUSTOM: 'custom'>}, 'contexts': {'trace': {'trace_id': '18e6867d41dd4c2a8b9c10f6c126854f', 'span_id': 'a24351e61984794a', 'parent_span_id': None, 'op': 'http', 'description': None, 'origin': 'manual', 'data': {'thread.id': '139690756209536', 'thread.name': 'MainThread', 'http.response.status_code': 399}}, 'runtime': {'name': 'CPython', 'version': '3.13.7', 'build': '3.13.7 (main, Aug 15 2025, 01:43:41) [GCC 11.4.0]'}}, 'tags': {}, 'timestamp': '2025-10-01T08:44:15.696481Z', 'start_timestamp': '2025-10-01T08:44:15.695583Z', 'spans': [], 'measurements': {}, 'event_id': '0bb0c7d444874cac8056919e22a9d3f3', 'extra': {'sys.argv': ['.../sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13.../site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common']}, 'release': '20f260b4721f931c276c9ad0e7d030c940bd6dd8', 'environment': 'production', 'server_name': 'runnervmbvass', 'sdk': {'name': 'sentry.python', 'version': '2.39.0', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.39.0'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'logging', 'modules', 'stdlib', 'threading']}, 'platform': 'python'}]

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

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review September 26, 2025 13:44
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner September 26, 2025 13:44
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@sentrivana
Copy link
Contributor

One more thing -- we should also record the dropped transaction in a client report. Check record_lost_event for examples how to do this.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last thing, otherwise looks great!

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@alexander-alderman-webb alexander-alderman-webb merged commit b838765 into master Oct 1, 2025
113 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/trace-ignore-status-codes-client-option branch October 1, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to exclude certain HTTP statuses from tracing
3 participants