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

Extract origin from span attributes #3432

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Aug 12, 2024

The idea is that we set the origin as a span attribute here and then we can pick it up in the span processor, so that our instrumentation (i.e., us using start_span in an integration with origin provided) will still give us nice origins. Same with description.

Copy link

codecov bot commented Aug 12, 2024

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 829 tests with 340 failed, 488 passed and 1 skipped.

View the full list of failed tests

py3.10-potel

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:287: in test_on_start_transaction
    with mock.patch(
    .../hostedtoolcache/Python/3.10.14....../x64/lib/python3.10/unittest/mock.py:1447: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.10.14....../x64/lib/python3.10/unittest/mock.py:1420: in get_original
    raise AttributeError(
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.11-aiohttp-latest

  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_basic

    .../integrations/aiohttp/test_aiohttp.py:41: in test_basic
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_crumb_capture

    .../integrations/aiohttp/test_aiohttp.py:496: in test_crumb_capture
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_has_trace_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:335: in test_has_trace_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers

    .../integrations/aiohttp/test_aiohttp.py:531: in test_outgoing_trace_headers
    resp = await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers_append_to_baggage

    .../integrations/aiohttp/test_aiohttp.py:564: in test_outgoing_trace_headers_append_to_baggage
    resp = await client.get("/", headers={"bagGage": "custom=value"})
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_not_read

    .../integrations/aiohttp/test_aiohttp.py:82: in test_post_body_not_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_read

    .../integrations/aiohttp/test_aiohttp.py:111: in test_post_body_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_span_origin

    .../integrations/aiohttp/test_aiohttp.py:594: in test_span_origin
    await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_disabled

    .../integrations/aiohttp/test_aiohttp.py:453: in test_trace_from_headers_if_performance_disabled
    trace_id = sentry_trace_header.split("-")[0]
    E AttributeError: 'NoneType' object has no attribute 'split'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:409: in test_trace_from_headers_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_traces_sampler_gets_request_object_in_sampling_context

    .../integrations/aiohttp/test_aiohttp.py:306: in test_traces_sampler_gets_request_object_in_sampling_context
    await client.get("/tricks/kangaroo")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing

    .../integrations/aiohttp/test_aiohttp.py:193: in test_tracing
    resp = await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing_unparseable_url

    .../integrations/aiohttp/test_aiohttp.py:273: in test_tracing_unparseable_url
    resp = await client.get("/")
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-handler_name-tests.integrations.aiohttp.test_aiohttp.test_transaction_style.<locals>.hello-component]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-method_and_path_pattern-GET /{var}-route]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-latest/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable

py3.11-aiohttp-v3.8

  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_basic

    .../integrations/aiohttp/test_aiohttp.py:41: in test_basic
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_crumb_capture

    .../integrations/aiohttp/test_aiohttp.py:496: in test_crumb_capture
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_has_trace_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:335: in test_has_trace_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers

    .../integrations/aiohttp/test_aiohttp.py:531: in test_outgoing_trace_headers
    resp = await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers_append_to_baggage

    .../integrations/aiohttp/test_aiohttp.py:564: in test_outgoing_trace_headers_append_to_baggage
    resp = await client.get("/", headers={"bagGage": "custom=value"})
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_not_read

    .../integrations/aiohttp/test_aiohttp.py:82: in test_post_body_not_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_read

    .../integrations/aiohttp/test_aiohttp.py:111: in test_post_body_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_span_origin

    .../integrations/aiohttp/test_aiohttp.py:594: in test_span_origin
    await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_disabled

    .../integrations/aiohttp/test_aiohttp.py:453: in test_trace_from_headers_if_performance_disabled
    trace_id = sentry_trace_header.split("-")[0]
    E AttributeError: 'NoneType' object has no attribute 'split'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:409: in test_trace_from_headers_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_traces_sampler_gets_request_object_in_sampling_context

    .../integrations/aiohttp/test_aiohttp.py:306: in test_traces_sampler_gets_request_object_in_sampling_context
    await client.get("/tricks/kangaroo")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing

    .../integrations/aiohttp/test_aiohttp.py:193: in test_tracing
    resp = await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing_unparseable_url

    .../integrations/aiohttp/test_aiohttp.py:273: in test_tracing_unparseable_url
    resp = await client.get("/")
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-handler_name-tests.integrations.aiohttp.test_aiohttp.test_transaction_style.<locals>.hello-component]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-method_and_path_pattern-GET /{var}-route]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.11-aiohttp-v3.8/lib/python3.11.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable

py3.11-anthropic-v0.16

  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_span_origin

    .../integrations/anthropic/test_anthropic.py:245: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])

py3.11-ariadne-v0.20

  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_async

    .../integrations/ariadne/test_ariadne.py:72: in test_capture_request_and_response_if_send_pii_is_on_async
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_sync

    .../integrations/ariadne/test_ariadne.py:115: in test_capture_request_and_response_if_send_pii_is_on_sync
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_validation_error

    .../integrations/ariadne/test_ariadne.py:214: in test_capture_validation_error
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_async

    .../integrations/ariadne/test_ariadne.py:156: in test_do_not_capture_request_and_response_if_send_pii_is_off_async
    assert "data" not in event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_sync

    .../integrations/ariadne/test_ariadne.py:186: in test_do_not_capture_request_and_response_if_send_pii_is_off_sync
    assert "data" not in event["request"]
    E KeyError: 'request'

py3.11-boto3-latest

  • Class name: tests.integrations.boto3.test_s3
    Test name: test_basic

    .../integrations/boto3/test_s3.py:34: in test_basic
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/boto3/test_s3.py:124: in test_omit_url_data_if_parsing_fails
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_span_origin

    .../integrations/boto3/test_s3.py:148: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming

    .../integrations/boto3/test_s3.py:51: in test_streaming
    body = obj.get()["Body"]
    .tox/py3.11-boto3-latest/lib/python3.11.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-latest/lib/python3.11....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming_close

    .../integrations/boto3/test_s3.py:89: in test_streaming_close
    body = obj.get()["Body"]
    .tox/py3.11-boto3-latest/lib/python3.11.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-latest/lib/python3.11....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-latest/lib/python3.11........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'

py3.11-boto3-v1.23

  • Class name: tests.integrations.boto3.test_s3
    Test name: test_basic

    .../integrations/boto3/test_s3.py:34: in test_basic
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/boto3/test_s3.py:124: in test_omit_url_data_if_parsing_fails
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_span_origin

    .../integrations/boto3/test_s3.py:148: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming

    .../integrations/boto3/test_s3.py:51: in test_streaming
    body = obj.get()["Body"]
    .tox/py3.11-boto3-v1.23/lib/python3.11.../boto3/resources/factory.py:580: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-v1.23/lib/python3.11....../site-packages/botocore/client.py:508: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11....../site-packages/botocore/client.py:898: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming_close

    .../integrations/boto3/test_s3.py:89: in test_streaming_close
    body = obj.get()["Body"]
    .tox/py3.11-boto3-v1.23/lib/python3.11.../boto3/resources/factory.py:580: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-v1.23/lib/python3.11....../site-packages/botocore/client.py:508: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11....../site-packages/botocore/client.py:898: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-v1.23/lib/python3.11........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'

py3.11-clickhouse_driver-v0.2.0

  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_client_breadcrumbs

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:112: in test_clickhouse_client_breadcrumbs
    assert event["breadcrumbs"]["values"] == expected_breadcrumbs
    E AssertionError: assert [] == [{'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'DROP TABLE IF EXISTS test', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'CREATE TABLE test (x Int32) ENGINE = Memory', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'INSERT INTO test (x) VALUES', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'INSERT INTO test (x) VALUES', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'SELECT sum(x) FROM test WHERE x > 150', 'type': 'default'}]
    E
    E Right contains 5 more items, first extra item: {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'DROP TABLE IF EXISTS test', 'type': 'default'}
    E
    E Full diff:
    E + []
    E - [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'DROP TABLE IF EXISTS test',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'CREATE TABLE test (x Int32) ENGINE = Memory',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'INSERT INTO test (x) VALUES',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'INSERT INTO test (x) VALUES',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'SELECT sum(x) FROM test WHERE x > 150',
    E - 'type': 'default',
    E - },
    E - ]
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_client_breadcrumbs_with_pii

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:126: in test_clickhouse_client_breadcrumbs_with_pii
    client.execute("INSERT INTO test (x) VALUES", [{"x": 100}])
    .tox/py3.11-clickhouse_driver-v0.2.0/lib/python3.11....../site-packages/clickhouse_driver/client.py:376: in execute
    rv = self.process_insert_query(
    .tox/py3.11-clickhouse_driver-v0.2.0/lib/python3.11....../site-packages/clickhouse_driver/client.py:607: in process_insert_query
    rv = self.send_data(sample_block, data,
    sentry_sdk/integrations/clickhouse_driver.py:143: in _inner_send_data
    db_params = span._data.get("db.params", [])
    E AttributeError: 'POTelSpan' object has no attribute '_data'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_client_spans

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:231: in test_clickhouse_client_spans
    transaction_trace_id = transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_client_spans_with_pii

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:354: in test_clickhouse_client_spans_with_pii
    transaction_trace_id = transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_dbapi_breadcrumbs

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:561: in test_clickhouse_dbapi_breadcrumbs
    assert event["breadcrumbs"]["values"] == expected_breadcrumbs
    E AssertionError: assert [] == [{'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'DROP TABLE IF EXISTS test', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'CREATE TABLE test (x Int32) ENGINE = Memory', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'INSERT INTO test (x) VALUES', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'INSERT INTO test (x) VALUES', 'type': 'default'}, {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'SELECT sum(x) FROM test WHERE x > 150', 'type': 'default'}]
    E
    E Right contains 5 more items, first extra item: {'category': 'query', 'data': {'db.system': 'clickhouse', 'db.name': '', 'db.user': 'default', 'server.address': 'localhost', 'server.port': 9000}, 'message': 'DROP TABLE IF EXISTS test', 'type': 'default'}
    E
    E Full diff:
    E + []
    E - [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'DROP TABLE IF EXISTS test',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'CREATE TABLE test (x Int32) ENGINE = Memory',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'INSERT INTO test (x) VALUES',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'INSERT INTO test (x) VALUES',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': '',
    E - 'db.system': 'clickhouse',
    E - 'db.user': 'default',
    E - 'server.address': 'localhost',
    E - 'server.port': 9000,
    E - },
    E - 'message': 'SELECT sum(x) FROM test WHERE x > 150',
    E - 'type': 'default',
    E - },
    E - ]
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_dbapi_breadcrumbs_with_pii

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:575: in test_clickhouse_dbapi_breadcrumbs_with_pii
    cursor.executemany("INSERT INTO test (x) VALUES", [{"x": 100}])
    .tox/py3.11-clickhouse_driver-v0.2.0/lib/python3.11.../clickhouse_driver/dbapi/cursor.py:138: in executemany
    response = execute(
    .tox/py3.11-clickhouse_driver-v0.2.0/lib/python3.11....../site-packages/clickhouse_driver/client.py:376: in execute
    rv = self.process_insert_query(
    .tox/py3.11-clickhouse_driver-v0.2.0/lib/python3.11....../site-packages/clickhouse_driver/client.py:607: in process_insert_query
    rv = self.send_data(sample_block, data,
    sentry_sdk/integrations/clickhouse_driver.py:143: in _inner_send_data
    db_params = span._data.get("db.params", [])
    E AttributeError: 'POTelSpan' object has no attribute '_data'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_dbapi_spans

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:679: in test_clickhouse_dbapi_spans
    transaction_trace_id = transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_dbapi_spans_with_pii

    .../integrations/clickhouse_driver/test_clickhouse_driver.py:802: in test_clickhouse_dbapi_spans_with_pii
    transaction_trace_id = transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_span_origin

    No failure message available

py3.11-grpc-latest

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:281: in test_grpc_client_and_servers_interceptors_integration
    server_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:244: in test_grpc_client_other_interceptor
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:162: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:197: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:117: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:90: in test_grpc_server_other_interceptors
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:57: in test_grpc_server_starts_transaction
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:338: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc_aio.py:174: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc_aio.py:206: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_abort

    .../integrations/grpc/test_grpc_aio.py:161: in test_grpc_server_abort
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc_aio.py:102: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_exception

    .../integrations/grpc/test_grpc_aio.py:141: in test_grpc_server_exception
    (event, _) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc_aio.py:78: in test_grpc_server_starts_transaction
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_span_origin

    .../integrations/grpc/test_grpc_aio.py:259: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.11.9........./x64/lib/python3.11/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

py3.11-opentelemetry

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:287: in test_on_start_transaction
    with mock.patch(
    .../hostedtoolcache/Python/3.11.9....../x64/lib/python3.11/unittest/mock.py:1446: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.11.9....../x64/lib/python3.11/unittest/mock.py:1419: in get_original
    raise AttributeError(
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.11-trytond-latest

  • Class name: tests.integrations.trytond.test_trytond
    Test name: test_span_origin

    .../integrations/trytond/test_trytond.py:144: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

py3.12-anthropic-latest

  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_span_origin

    .../integrations/anthropic/test_anthropic.py:245: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])

py3.12-anthropic-v0.25

  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_span_origin

    .../integrations/anthropic/test_anthropic.py:245: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])

py3.12-ariadne-latest

  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_async

    .../integrations/ariadne/test_ariadne.py:72: in test_capture_request_and_response_if_send_pii_is_on_async
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_sync

    .../integrations/ariadne/test_ariadne.py:115: in test_capture_request_and_response_if_send_pii_is_on_sync
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_validation_error

    .../integrations/ariadne/test_ariadne.py:214: in test_capture_validation_error
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_async

    .../integrations/ariadne/test_ariadne.py:156: in test_do_not_capture_request_and_response_if_send_pii_is_off_async
    assert "data" not in event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_sync

    .../integrations/ariadne/test_ariadne.py:186: in test_do_not_capture_request_and_response_if_send_pii_is_off_sync
    assert "data" not in event["request"]
    E KeyError: 'request'

py3.12-boto3-latest

  • Class name: tests.integrations.boto3.test_s3
    Test name: test_basic

    .../integrations/boto3/test_s3.py:34: in test_basic
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/boto3/test_s3.py:124: in test_omit_url_data_if_parsing_fails
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_span_origin

    .../integrations/boto3/test_s3.py:148: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming

    .../integrations/boto3/test_s3.py:51: in test_streaming
    body = obj.get()["Body"]
    .tox/py3.12-boto3-latest/lib/python3.12.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.12-boto3-latest/lib/python3.12....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming_close

    .../integrations/boto3/test_s3.py:89: in test_streaming_close
    body = obj.get()["Body"]
    .tox/py3.12-boto3-latest/lib/python3.12.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.12-boto3-latest/lib/python3.12....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.12-boto3-latest/lib/python3.12........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'

py3.12-boto3-v1.23

  • Class name: tests.integrations.boto3.test_s3
    Test name: test_basic

    .../integrations/boto3/test_s3.py:34: in test_basic
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/boto3/test_s3.py:124: in test_omit_url_data_if_parsing_fails
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_span_origin

    .../integrations/boto3/test_s3.py:148: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming

    .../integrations/boto3/test_s3.py:51: in test_streaming
    body = obj.get()["Body"]
    .tox/py3.12-boto3-v1.23/lib/python3.12.../boto3/resources/factory.py:580: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.12-boto3-v1.23/lib/python3.12....../site-packages/botocore/client.py:508: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12....../site-packages/botocore/client.py:898: in _make_api_call
    self.meta.events.emit(
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'
  • Class name: tests.integrations.boto3.test_s3
    Test name: test_streaming_close

    .../integrations/boto3/test_s3.py:89: in test_streaming_close
    body = obj.get()["Body"]
    .tox/py3.12-boto3-v1.23/lib/python3.12.../boto3/resources/factory.py:580: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.12-boto3-v1.23/lib/python3.12....../site-packages/botocore/client.py:508: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12....../site-packages/botocore/client.py:898: in _make_api_call
    self.meta.events.emit(
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.12-boto3-v1.23/lib/python3.12........./site-packages/botocore/hooks.py:239: in _emit
    response = handler(**kwargs)
    sentry_sdk/integrations/boto3.py:111: in _sentry_after_call
    description=span.description,
    E AttributeError: 'POTelSpan' object has no attribute 'description'

py3.12-grpc-latest

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:281: in test_grpc_client_and_servers_interceptors_integration
    server_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:244: in test_grpc_client_other_interceptor
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:162: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:197: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:117: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:90: in test_grpc_server_other_interceptors
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:57: in test_grpc_server_starts_transaction
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:338: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc_aio.py:174: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc_aio.py:206: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_abort

    .../integrations/grpc/test_grpc_aio.py:161: in test_grpc_server_abort
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc_aio.py:102: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_exception

    .../integrations/grpc/test_grpc_aio.py:141: in test_grpc_server_exception
    (event, _) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc_aio.py:78: in test_grpc_server_starts_transaction
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_span_origin

    .../integrations/grpc/test_grpc_aio.py:259: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.12.4........./x64/lib/python3.12/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

py3.12-opentelemetry

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:287: in test_on_start_transaction
    with mock.patch(
    .../hostedtoolcache/Python/3.12.4....../x64/lib/python3.12/unittest/mock.py:1458: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.12.4....../x64/lib/python3.12/unittest/mock.py:1431: in get_original
    raise AttributeError(
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.7-aiohttp-v3.4

  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_basic[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:41: in test_basic
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_crumb_capture[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:496: in test_crumb_capture
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_has_trace_if_performance_enabled[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:335: in test_has_trace_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:531: in test_outgoing_trace_headers
    resp = await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers_append_to_baggage[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:564: in test_outgoing_trace_headers_append_to_baggage
    resp = await client.get("/", headers={"bagGage": "custom=value"})
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_not_read[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:82: in test_post_body_not_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_read[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:111: in test_post_body_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_span_origin[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:594: in test_span_origin
    await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_disabled[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:453: in test_trace_from_headers_if_performance_disabled
    trace_id = sentry_trace_header.split("-")[0]
    E AttributeError: 'NoneType' object has no attribute 'split'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_enabled[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:409: in test_trace_from_headers_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_traces_sampler_gets_request_object_in_sampling_context[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:306: in test_traces_sampler_gets_request_object_in_sampling_context
    await client.get("/tricks/kangaroo")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:193: in test_tracing
    resp = await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing_unparseable_url[pyloop]

    .../integrations/aiohttp/test_aiohttp.py:273: in test_tracing_unparseable_url
    resp = await client.get("/")
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[pyloop-/message-handler_name-tests.integrations.aiohttp.test_aiohttp.test_transaction_style.<locals>.hello-component]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[pyloop-/message-method_and_path_pattern-GET /{var}-route]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/test_utils.py:217: in request
    method, self.make_url(path), *args, **kwargs
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/client.py:316: in _request
    headers
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/tracing.py:238: in send_request_start
    TraceRequestStartParams(method, url, headers)
    .tox/py3.7-aiohttp-v3.4/lib/python3.7.../site-packages/aiohttp/signals.py:35: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:225: in on_request_start
    span=span
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable

py3.7-anthropic-latest

  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_nonstreaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:78: in test_nonstreaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_span_origin

    .../integrations/anthropic/test_anthropic.py:245: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[False-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-False]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.anthropic.test_anthropic
    Test name: test_streaming_create_message[True-True]

    .../integrations/anthropic/test_anthropic.py:177: in test_streaming_create_message
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])

py3.7-arq-v0.23

  • Class name: tests.integrations.arq.test_arq
    Test name: test_enqueue_job[cls_functions]

    .../integrations/arq/test_arq.py:228: in test_enqueue_job
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_enqueue_job[kw_functions]

    .../integrations/arq/test_arq.py:228: in test_enqueue_job
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_job_retry

    .../integrations/arq/test_arq.py:124: in test_job_retry
    assert event["contexts"]["trace"]["status"] == "aborted"
    E KeyError: 'status'
  • Class name: tests.integrations.arq.test_arq
    Test name: test_job_transaction[error-source0]

    .../integrations/arq/test_arq.py:172: in test_job_transaction
    error_cron_event = events.pop(1)
    E IndexError: pop index out of range
  • Class name: tests.integrations.arq.test_arq
    Test name: test_job_transaction[error-source1]

    .../integrations/arq/test_arq.py:172: in test_job_transaction
    error_cron_event = events.pop(1)
    E IndexError: pop index out of range
  • Class name: tests.integrations.arq.test_arq
    Test name: test_job_transaction[success-source0]

    .../integrations/arq/test_arq.py:186: in test_job_transaction
    [func_event, cron_event] = events
    E ValueError: not enough values to unpack (expected 2, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_job_transaction[success-source1]

    .../integrations/arq/test_arq.py:186: in test_job_transaction
    [func_event, cron_event] = events
    E ValueError: not enough values to unpack (expected 2, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_span_origin_consumer

    .../integrations/arq/test_arq.py:289: in test_span_origin_consumer
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_span_origin_producer[cls_functions]

    .../integrations/arq/test_arq.py:269: in test_span_origin_producer
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.arq.test_arq
    Test name: test_span_origin_producer[kw_functions]

    .../integrations/arq/test_arq.py:269: in test_span_origin_producer
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

py3.7-bottle-latest

  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_empty_json_request[empty-dict]

    .../integrations/bottle/test_bottle.py:177: in test_empty_json_request
    assert event["request"]["data"] == data
    E KeyError: 'request'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_empty_json_request[empty-list]

    .../integrations/bottle/test_bottle.py:177: in test_empty_json_request
    assert event["request"]["data"] == data
    E KeyError: 'request'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_files_and_form

    .../integrations/bottle/test_bottle.py:263: in test_files_and_form
    assert event["_meta"]["request"]["data"]["foo"] == {
    E KeyError: '_meta'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_has_context

    .../integrations/bottle/test_bottle.py:56: in test_has_context
    assert "data" not in event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_json_not_truncated_if_max_request_body_size_is_always

    .../integrations/bottle/test_bottle.py:304: in test_json_not_truncated_if_max_request_body_size_is_always
    assert event["request"]["data"] == data
    E KeyError: 'request'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_large_json_request

    .../integrations/bottle/test_bottle.py:150: in test_large_json_request
    assert event["_meta"]["request"]["data"]["foo"]["bar"] == {
    E KeyError: '_meta'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_medium_formdata_request

    .../integrations/bottle/test_bottle.py:200: in test_medium_formdata_request
    assert event["_meta"]["request"]["data"]["foo"] == {
    E KeyError: '_meta'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_span_origin

    .../integrations/bottle/test_bottle.py:493: in test_span_origin
    (_, event) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_too_large_raw_request[a0]

    .../integrations/bottle/test_bottle.py:235: in test_too_large_raw_request
    assert event["_meta"]["request"]["data"] == {"": {"rem": [["!config", "x"]]}}
    E KeyError: '_meta'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_too_large_raw_request[a1]

    .../integrations/bottle/test_bottle.py:235: in test_too_large_raw_request
    assert event["_meta"]["request"]["data"] == {"": {"rem": [["!config", "x"]]}}
    E KeyError: '_meta'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_transaction_style[/message-endpoint-hi-component]

    .../integrations/bottle/test_bottle.py:92: in test_transaction_style
    assert event["transaction"].endswith(expected_transaction)
    E KeyError: 'transaction'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_transaction_style[/message-named-route-endpoint-hi-component]

    .../integrations/bottle/test_bottle.py:92: in test_transaction_style
    assert event["transaction"].endswith(expected_transaction)
    E KeyError: 'transaction'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_transaction_style[/message-url-/message-route]

    .../integrations/bottle/test_bottle.py:92: in test_transaction_style
    assert event["transaction"].endswith(expected_transaction)
    E KeyError: 'transaction'
  • Class name: tests.integrations.bottle.test_bottle
    Test name: test_transaction_style[/message/123456-url-/message/<message_id>-route]

    .../integrations/bottle/test_bottle.py:92: in test_transaction_style
    assert event["transaction"].endswith(expected_transaction)
    E KeyError: 'transaction'

py3.7-gql-latest

  • Class name: tests.integrations.gql.test_gql
    Test name: test_real_gql_request_with_error_no_pii

    .../integrations/gql/test_gql.py:97: in test_real_gql_request_with_error_no_pii
    event = _make_erroneous_query(capture_events)
    .../integrations/gql/test_gql.py:58: in _make_erroneous_query
    assert "request" in event
    E AssertionError: assert 'request' in {'_meta': {'exception': {'values': {'0': {'stacktrace': {'frames': {...}}}}}}, 'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:09:19) \n[GCC 9.4.0]', 'name': 'CPython', 'version': '3.7.17'}, 'trace': {'parent_span_id': None, 'span_id': 'abdf77414be4761e', 'trace_id': '7cc1a0454e5e45cd98002d6d749ddf83'}}, 'environment': 'production', ...}
  • Class name: tests.integrations.gql.test_gql
    Test name: test_real_gql_request_with_error_with_pii

    .../integrations/gql/test_gql.py:110: in test_real_gql_request_with_error_with_pii
    event = _make_erroneous_query(capture_events)
    .../integrations/gql/test_gql.py:58: in _make_erroneous_query
    assert "request" in event
    E AssertionError: assert 'request' in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:09:19) \n[GCC 9.4.0]', 'name': 'CPython', 'version': '3.7.17'}, 'trace': {'parent_span_id': None, 'span_id': '8834fb73fec97585', 'trace_id': 'f6cab24698064eb3860ec10b9f61956e'}}, 'environment': 'production', 'event_id': '6ff8d34d657a4650988375819a17e58f', ...}

py3.7-gql-v3.4

  • Class name: tests.integrations.gql.test_gql
    Test name: test_real_gql_request_with_error_no_pii

    .../integrations/gql/test_gql.py:97: in test_real_gql_request_with_error_no_pii
    event = _make_erroneous_query(capture_events)
    .../integrations/gql/test_gql.py:58: in _make_erroneous_query
    assert "request" in event
    E AssertionError: assert 'request' in {'_meta': {'exception': {'values': {'0': {'stacktrace': {'frames': {...}}}}}}, 'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:09:19) \n[GCC 9.4.0]', 'name': 'CPython', 'version': '3.7.17'}, 'trace': {'parent_span_id': None, 'span_id': 'ba020a1f345ed37d', 'trace_id': '0eb47da5ee2f4c25941ce435227948d7'}}, 'environment': 'production', ...}
  • Class name: tests.integrations.gql.test_gql
    Test name: test_real_gql_request_with_error_with_pii

    .../integrations/gql/test_gql.py:110: in test_real_gql_request_with_error_with_pii
    event = _make_erroneous_query(capture_events)
    .../integrations/gql/test_gql.py:58: in _make_erroneous_query
    assert "request" in event
    E AssertionError: assert 'request' in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Jun 23 2023, 13:09:19) \n[GCC 9.4.0]', 'name': 'CPython', 'version': '3.7.17'}, 'trace': {'parent_span_id': None, 'span_id': 'b129a83831a00b14', 'trace_id': '3f76ad6b12964ed1878af55e9671c068'}}, 'environment': 'production', 'event_id': '9706ba3e8ce542a480fb7c8bd6e6f95e', ...}

py3.7-grpc-v1.39

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:281: in test_grpc_client_and_servers_interceptors_integration
    server_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:244: in test_grpc_client_other_interceptor
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:162: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:197: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:117: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:90: in test_grpc_server_other_interceptors
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:57: in test_grpc_server_starts_transaction
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:338: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc_aio.py:174: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc_aio.py:206: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_abort

    .../integrations/grpc/test_grpc_aio.py:161: in test_grpc_server_abort
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc_aio.py:102: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_exception

    .../integrations/grpc/test_grpc_aio.py:141: in test_grpc_server_exception
    (event, _) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc_aio.py:78: in test_grpc_server_starts_transaction
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_span_origin

    .../integrations/grpc/test_grpc_aio.py:259: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/__init__.py:348: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.7.17........./x64/lib/python3.7/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

py3.7-opentelemetry

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:289: in test_on_start_transaction
    fake_start_transaction,
    .../hostedtoolcache/Python/3.7.17....../x64/lib/python3.7/unittest/mock.py:1307: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.7.17....../x64/lib/python3.7/unittest/mock.py:1281: in get_original
    "%s does not have the attribute %r" % (target, name)
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.8-aiohttp-latest

  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_basic

    .../integrations/aiohttp/test_aiohttp.py:41: in test_basic
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_crumb_capture

    .../integrations/aiohttp/test_aiohttp.py:496: in test_crumb_capture
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_has_trace_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:335: in test_has_trace_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers

    .../integrations/aiohttp/test_aiohttp.py:531: in test_outgoing_trace_headers
    resp = await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers_append_to_baggage

    .../integrations/aiohttp/test_aiohttp.py:564: in test_outgoing_trace_headers_append_to_baggage
    resp = await client.get("/", headers={"bagGage": "custom=value"})
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_not_read

    .../integrations/aiohttp/test_aiohttp.py:82: in test_post_body_not_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_read

    .../integrations/aiohttp/test_aiohttp.py:111: in test_post_body_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_span_origin

    .../integrations/aiohttp/test_aiohttp.py:594: in test_span_origin
    await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_disabled

    .../integrations/aiohttp/test_aiohttp.py:453: in test_trace_from_headers_if_performance_disabled
    trace_id = sentry_trace_header.split("-")[0]
    E AttributeError: 'NoneType' object has no attribute 'split'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:409: in test_trace_from_headers_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_traces_sampler_gets_request_object_in_sampling_context

    .../integrations/aiohttp/test_aiohttp.py:306: in test_traces_sampler_gets_request_object_in_sampling_context
    await client.get("/tricks/kangaroo")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing

    .../integrations/aiohttp/test_aiohttp.py:193: in test_tracing
    resp = await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing_unparseable_url

    .../integrations/aiohttp/test_aiohttp.py:273: in test_tracing_unparseable_url
    resp = await client.get("/")
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-handler_name-tests.integrations.aiohttp.test_aiohttp.test_transaction_style.<locals>.hello-component]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-method_and_path_pattern-GET /{var}-route]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.8-aiohttp-latest/lib/python3.8.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable

py3.8-ariadne-latest

  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_async

    .../integrations/ariadne/test_ariadne.py:72: in test_capture_request_and_response_if_send_pii_is_on_async
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_sync

    .../integrations/ariadne/test_ariadne.py:115: in test_capture_request_and_response_if_send_pii_is_on_sync
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_validation_error

    .../integrations/ariadne/test_ariadne.py:214: in test_capture_validation_error
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_async

    .../integrations/ariadne/test_ariadne.py:156: in test_do_not_capture_request_and_response_if_send_pii_is_off_async
    assert "data" not in event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_sync

    .../integrations/ariadne/test_ariadne.py:186: in test_do_not_capture_request_and_response_if_send_pii_is_off_sync
    assert "data" not in event["request"]
    E KeyError: 'request'

py3.8-ariadne-v0.20

  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_async

    .../integrations/ariadne/test_ariadne.py:72: in test_capture_request_and_response_if_send_pii_is_on_async
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_request_and_response_if_send_pii_is_on_sync

    .../integrations/ariadne/test_ariadne.py:115: in test_capture_request_and_response_if_send_pii_is_on_sync
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_capture_validation_error

    .../integrations/ariadne/test_ariadne.py:214: in test_capture_validation_error
    assert event["contexts"]["response"] == {
    E KeyError: 'response'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_async

    .../integrations/ariadne/test_ariadne.py:156: in test_do_not_capture_request_and_response_if_send_pii_is_off_async
    assert "data" not in event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.ariadne.test_ariadne
    Test name: test_do_not_capture_request_and_response_if_send_pii_is_off_sync

    .../integrations/ariadne/test_ariadne.py:186: in test_do_not_capture_request_and_response_if_send_pii_is_off_sync
    assert "data" not in event["request"]
    E KeyError: 'request'

py3.8-grpc-latest

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:281: in test_grpc_client_and_servers_interceptors_integration
    server_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:244: in test_grpc_client_other_interceptor
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:162: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:197: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:117: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:90: in test_grpc_server_other_interceptors
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:57: in test_grpc_server_starts_transaction
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:338: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc_aio.py:174: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc_aio.py:206: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_abort

    .../integrations/grpc/test_grpc_aio.py:161: in test_grpc_server_abort
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc_aio.py:102: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_exception

    .../integrations/grpc/test_grpc_aio.py:141: in test_grpc_server_exception
    (event, _) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc_aio.py:78: in test_grpc_server_starts_transaction
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_span_origin

    .../integrations/grpc/test_grpc_aio.py:259: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/__init__.py:357: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.8.18........./x64/lib/python3.8/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

py3.8-litestar-v2.0

  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_catch_exceptions[/controller/error-Exception-Whoa-tests.integrations.litestar.test_litestar.litestar_app_factory.<locals>.MyController.controller_error]

    .../integrations/litestar/test_litestar.py:114: in test_catch_exceptions
    assert expected_tx_name in event["transaction"]
    E KeyError: 'transaction'
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_catch_exceptions[/custom_error-Exception-Too Hot-custom_name]

    .../integrations/litestar/test_litestar.py:114: in test_catch_exceptions
    assert expected_tx_name in event["transaction"]
    E KeyError: 'transaction'
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_catch_exceptions[/some_url-ZeroDivisionError-division by zero-tests.integrations.litestar.test_litestar.litestar_app_factory.<locals>.homepage_handler]

    .../integrations/litestar/test_litestar.py:114: in test_catch_exceptions
    assert expected_tx_name in event["transaction"]
    E KeyError: 'transaction'
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_middleware_callback_spans

    .../integrations/litestar/test_litestar.py:181: in test_middleware_callback_spans
    (_, transaction_events) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_middleware_partial_receive_send

    .../integrations/litestar/test_litestar.py:277: in test_middleware_partial_receive_send
    (_, transaction_events) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_middleware_spans

    .../integrations/litestar/test_litestar.py:142: in test_middleware_spans
    (_, transaction_event) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.litestar.test_litestar
    Test name: test_span_origin

    .../integrations/litestar/test_litestar.py:342: in test_span_origin
    (_, event) = events
    E ValueError: not enough values to unpack (expected 2, got 1)

py3.8-potel

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:287: in test_on_start_transaction
    with mock.patch(
    .../hostedtoolcache/Python/3.8.18....../x64/lib/python3.8/unittest/mock.py:1393: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.8.18....../x64/lib/python3.8/unittest/mock.py:1366: in get_original
    raise AttributeError(
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.8-trytond-latest

  • Class name: tests.integrations.trytond.test_trytond
    Test name: test_span_origin

    .../integrations/trytond/test_trytond.py:144: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

py3.9-aiohttp-v3.8

  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_basic

    .../integrations/aiohttp/test_aiohttp.py:41: in test_basic
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_crumb_capture

    .../integrations/aiohttp/test_aiohttp.py:496: in test_crumb_capture
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_has_trace_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:335: in test_has_trace_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers

    .../integrations/aiohttp/test_aiohttp.py:531: in test_outgoing_trace_headers
    resp = await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_outgoing_trace_headers_append_to_baggage

    .../integrations/aiohttp/test_aiohttp.py:564: in test_outgoing_trace_headers_append_to_baggage
    resp = await client.get("/", headers={"bagGage": "custom=value"})
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_not_read

    .../integrations/aiohttp/test_aiohttp.py:82: in test_post_body_not_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_post_body_read

    .../integrations/aiohttp/test_aiohttp.py:111: in test_post_body_read
    request = event["request"]
    E KeyError: 'request'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_span_origin

    .../integrations/aiohttp/test_aiohttp.py:594: in test_span_origin
    await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_disabled

    .../integrations/aiohttp/test_aiohttp.py:453: in test_trace_from_headers_if_performance_disabled
    trace_id = sentry_trace_header.split("-")[0]
    E AttributeError: 'NoneType' object has no attribute 'split'
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_trace_from_headers_if_performance_enabled

    .../integrations/aiohttp/test_aiohttp.py:409: in test_trace_from_headers_if_performance_enabled
    resp = await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_traces_sampler_gets_request_object_in_sampling_context

    .../integrations/aiohttp/test_aiohttp.py:306: in test_traces_sampler_gets_request_object_in_sampling_context
    await client.get("/tricks/kangaroo")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing

    .../integrations/aiohttp/test_aiohttp.py:193: in test_tracing
    resp = await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_tracing_unparseable_url

    .../integrations/aiohttp/test_aiohttp.py:273: in test_tracing_unparseable_url
    resp = await client.get("/")
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-handler_name-tests.integrations.aiohttp.test_aiohttp.test_transaction_style.<locals>.hello-component]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable
  • Class name: tests.integrations.aiohttp.test_aiohttp
    Test name: test_transaction_style[/message-method_and_path_pattern-GET /{var}-route]

    .../integrations/aiohttp/test_aiohttp.py:246: in test_transaction_style
    resp = await client.get(url)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/test_utils.py:324: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/client.py:489: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiohttp/tracing.py:357: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.9-aiohttp-v3.8/lib/python3.9.../site-packages/aiosignal/__init__.py:36: in send
    await receiver(*args, **kwargs) # type: ignore
    sentry_sdk/integrations/aiohttp.py:221: in on_request_start
    for (
    sentry_sdk/scope.py:636: in iter_trace_propagation_headers
    for header in span.iter_headers():
    E TypeError: 'NoneType' object is not iterable

py3.9-cohere-latest

  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[False-False]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[False-True]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[True-False]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[True-True]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[False-False]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[False-True]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[True-False]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[True-True]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_span_origin_chat

    .../integrations/cohere/test_cohere.py:235: in test_span_origin_chat
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_span_origin_embed

    .../integrations/cohere/test_cohere.py:269: in test_span_origin_embed
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[False-False]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[False-True]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[True-False]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[True-True]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range

py3.9-cohere-v5

  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[False-False]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[False-True]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[True-False]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_embed[True-True]

    .../integrations/cohere/test_cohere.py:192: in test_embed
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[False-False]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[False-True]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[True-False]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_nonstreaming_chat[True-True]

    .../integrations/cohere/test_cohere.py:52: in test_nonstreaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_span_origin_chat

    .../integrations/cohere/test_cohere.py:235: in test_span_origin_chat
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_span_origin_embed

    .../integrations/cohere/test_cohere.py:269: in test_span_origin_embed
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[False-False]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[False-True]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[True-False]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range
  • Class name: tests.integrations.cohere.test_cohere
    Test name: test_streaming_chat[True-True]

    .../integrations/cohere/test_cohere.py:123: in test_streaming_chat
    tx = events[0]
    E IndexError: list index out of range

py3.9-grpc-v1.39

  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_and_servers_interceptors_integration

    .../integrations/grpc/test_grpc.py:281: in test_grpc_client_and_servers_interceptors_integration
    server_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_other_interceptor

    .../integrations/grpc/test_grpc.py:244: in test_grpc_client_other_interceptor
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc.py:162: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc.py:197: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc.py:117: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_other_interceptors

    .../integrations/grpc/test_grpc.py:90: in test_grpc_server_other_interceptors
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc.py:57: in test_grpc_server_starts_transaction
    event = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc
    Test name: test_span_origin

    .../integrations/grpc/test_grpc.py:338: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_starts_span

    .../integrations/grpc/test_grpc_aio.py:174: in test_grpc_client_starts_span
    events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_client_unary_stream_starts_span

    .../integrations/grpc/test_grpc_aio.py:206: in test_grpc_client_unary_stream_starts_span
    local_transaction = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_abort

    .../integrations/grpc/test_grpc_aio.py:161: in test_grpc_server_abort
    assert len(events) == 1
    E assert 0 == 1
    E + where 0 = len([])
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_continues_transaction

    .../integrations/grpc/test_grpc_aio.py:102: in test_grpc_server_continues_transaction
    trace_id=transaction.trace_id
    E AttributeError: 'POTelSpan' object has no attribute 'trace_id'
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_exception

    .../integrations/grpc/test_grpc_aio.py:141: in test_grpc_server_exception
    (event, _) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_grpc_server_starts_transaction

    .../integrations/grpc/test_grpc_aio.py:78: in test_grpc_server_starts_transaction
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.grpc.test_grpc_aio
    Test name: test_span_origin

    .../integrations/grpc/test_grpc_aio.py:259: in test_span_origin
    transaction_from_integration = events.read_event()
    tests/conftest.py:313: in read_event
    return json.loads(self.read_file.readline().decode("utf-8"))
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    .../hostedtoolcache/Python/3.9.19........./x64/lib/python3.9/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

py3.9-httpx-latest

  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_crumb_capture_and_hint[httpx_client0]

    .../integrations/httpx/test_httpx.py:44: in test_crumb_capture_and_hint
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_crumb_capture_and_hint[httpx_client1]

    .../integrations/httpx/test_httpx.py:44: in test_crumb_capture_and_hint
    crumb = event["breadcrumbs"]["values"][0]
    E IndexError: list index out of range
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/httpx/test_httpx.py:311: in test_omit_url_data_if_parsing_fails
    assert event["breadcrumbs"]["values"][0]["data"] == ApproxDict(
    E IndexError: list index out of range
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client11-trace_propagation_targets11-https://example.com/-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client12-trace_propagation_targets12-https://example.com/-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client14-trace_propagation_targets14-https://example.com-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client16-trace_propagation_targets16-https://good.example.net-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'good.example.net', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client17-trace_propagation_targets17-https://good.example.net/some/thing-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'good.example.net', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client2-trace_propagation_targets2-https://example.com/-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client3-trace_propagation_targets3-https://example.com/-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client5-trace_propagation_targets5-https://example.com-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client7-trace_propagation_targets7-https://good.example.net-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'good.example.net', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_option_trace_propagation_targets[httpx_client8-trace_propagation_targets8-https://good.example.net/some/thing-True]

    .../integrations/httpx/test_httpx.py:271: in test_option_trace_propagation_targets
    assert "sentry-trace" in request_headers
    E AssertionError: assert 'sentry-trace' in Headers({'host': 'good.example.net', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'user-agent': 'python-httpx/0.27.0'})
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_outgoing_trace_headers[httpx_client0]

    .../integrations/httpx/test_httpx.py:82: in test_outgoing_trace_headers
    request_span = transaction._span_recorder.spans[-1]
    E AttributeError: 'POTelSpan' object has no attribute '_span_recorder'
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_outgoing_trace_headers[httpx_client1]

    .../integrations/httpx/test_httpx.py:82: in test_outgoing_trace_headers
    request_span = transaction._span_recorder.spans[-1]
    E AttributeError: 'POTelSpan' object has no attribute '_span_recorder'
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_outgoing_trace_headers_append_to_baggage[httpx_client0]

    .../integrations/httpx/test_httpx.py:118: in test_outgoing_trace_headers_append_to_baggage
    request_span = transaction._span_recorder.spans[-1]
    E AttributeError: 'POTelSpan' object has no attribute '_span_recorder'
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_outgoing_trace_headers_append_to_baggage[httpx_client1]

    .../integrations/httpx/test_httpx.py:118: in test_outgoing_trace_headers_append_to_baggage
    request_span = transaction._span_recorder.spans[-1]
    E AttributeError: 'POTelSpan' object has no attribute '_span_recorder'
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_span_origin[httpx_client0]

    .../integrations/httpx/test_httpx.py:346: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.httpx.test_httpx
    Test name: test_span_origin[httpx_client1]

    .../integrations/httpx/test_httpx.py:346: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

py3.9-opentelemetry

  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_child_span_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:65: in test_child_span_payload_started_with_otel_only
    assert span["origin"] == "manual"
    E AssertionError: assert 'auto.otel' == 'manual'
    E
    E - manual
    E + auto.otel
  • Class name: tests.integrations.opentelemetry.test_potel
    Test name: test_root_span_transaction_payload_started_with_otel_only

    .../integrations/opentelemetry/test_potel.py:44: in test_root_span_transaction_payload_started_with_otel_only
    assert trace_context["origin"] == "manual"
    E AssertionError: assert None == 'manual'
  • Class name: tests.integrations.opentelemetry.test_span_processor
    Test name: test_on_start_transaction

    .../integrations/opentelemetry/test_span_processor.py:287: in test_on_start_transaction
    with mock.patch(
    .../hostedtoolcache/Python/3.9.19....../x64/lib/python3.9/unittest/mock.py:1404: in __enter__
    original, local = self.get_original()
    .../hostedtoolcache/Python/3.9.19....../x64/lib/python3.9/unittest/mock.py:1377: in get_original
    raise AttributeError(
    E AttributeError: <module 'sentry_sdk.integrations.opentelemetry.span_processor' from '.../integrations/opentelemetry/span_processor.py'> does not have the attribute 'start_transaction'

py3.9-pymongo-v3.12

  • Class name: tests.integrations.pymongo.test_pymongo
    Test name: test_span_origin

    .../integrations/pymongo/test_pymongo.py:453: in test_span_origin
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.pymongo.test_pymongo
    Test name: test_transactions[False]

    .../integrations/pymongo/test_pymongo.py:49: in test_transactions
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.pymongo.test_pymongo
    Test name: test_transactions[True]

    .../integrations/pymongo/test_pymongo.py:49: in test_transactions
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

@sentrivana sentrivana force-pushed the ivana/potel/better-origin branch from 896fb6e to c5a7852 Compare August 12, 2024 14:23
@sentrivana sentrivana force-pushed the ivana/potel/better-origin branch from c5a7852 to 4ee44f9 Compare August 12, 2024 14:25
@sentrivana sentrivana marked this pull request as ready for review August 12, 2024 16:40
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

looks good to me

@sentrivana sentrivana merged commit 52fca29 into ivana/potel/start-span Aug 13, 2024
6 of 108 checks passed
@sentrivana sentrivana deleted the ivana/potel/better-origin branch August 13, 2024 10:40
sentrivana added a commit that referenced this pull request Aug 26, 2024
* Skeletons for new components

* Add simple scope management whenever a context is attached

* create a new otel context `_SCOPES_KEY` that will hold a tuple of
  `(curent_scope, isolation_scope)`
* the `current_scope` will always be forked (like on every span creation/context update in practice)
  * note that this is on `attach`, so not on all copy-on-write context
    object creation but only on apis such as
    [`trace.use_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L547)
    or [`tracer.start_as_current_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L329)
  * basically every otel `context` fork corresponds to our `current_scope` fork
* the `isolation_scope` currently will not be forked
  * these will later be updated, for instance when we update our top
    level scope apis that fork isolation scope, that will also have a
    corresponding change in this `attach` function

* Don't parse DSN twice

* wip

* Skeletons for new components

* Skeletons for new components

* Add simple scope management whenever a context is attached

* create a new otel context `_SCOPES_KEY` that will hold a tuple of
  `(curent_scope, isolation_scope)`
* the `current_scope` will always be forked (like on every span creation/context update in practice)
  * note that this is on `attach`, so not on all copy-on-write context
    object creation but only on apis such as
    [`trace.use_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L547)
    or [`tracer.start_as_current_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L329)
  * basically every otel `context` fork corresponds to our `current_scope` fork
* the `isolation_scope` currently will not be forked
  * these will later be updated, for instance when we update our top
    level scope apis that fork isolation scope, that will also have a
    corresponding change in this `attach` function

* mypy fixes

* working span processor

* lint

* Port over op/description/status extraction

* defaultdict

* naive impl

* wip

* fix args

* wip

* remove extra docs

* Add simple scope management whenever a context is attached (#3159)

Add simple scope management whenever a context is attached

* create a new otel context `_SCOPES_KEY` that will hold a tuple of
  `(curent_scope, isolation_scope)`
* the `current_scope` will always be forked (like on every span creation/context update in practice)
  * note that this is on `attach`, so not on all copy-on-write context
    object creation but only on apis such as
    [`trace.use_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L547)
    or [`tracer.start_as_current_span`](https://github.com/open-telemetry/opentelemetry-python/blob/ba22b165471bde2037620f2c850ab648a849fbc0/opentelemetry-api/src/opentelemetry/trace/__init__.py#L329)
  * basically every otel `context` fork corresponds to our `current_scope` fork
* the `isolation_scope` currently will not be forked
  * these will later be updated, for instance when we update our top
    level scope apis that fork isolation scope, that will also have a
    corresponding change in this `attach` function

* Implement new POTel span processor (#3223)

* only acts on `on_end` instead of both `on_start/on_end` as before
* store children spans in a dict mapping `span_id -> children`
* new dict only stores otel span objects and no sentry transaction/span objects so we save a bit of useless memory allocation
* I'm not using our current `Transaction/Span` classes at all to build the event because when we add our APIs later, we'll need to rip these out and we also avoid having to deal with the `instrumenter` problem
* if we get a root span (without parent), we recursively walk the dict and find the children and package up the transaction event and send it 
  * I didn't do it like JS because I think this way is better
  *  they [group an array of `finished_spans`](https://github.com/getsentry/sentry-javascript/blob/7e298036a21a5658f3eb9ba184165178c48d7ef8/packages/opentelemetry/src/spanExporter.ts#L132) every time a root span ends and I think this uses more cpu than what I did
  * and the dict like I used it doesn't take more space than the array either
* if we get a span with a parent we just update the dict to find the span later
* moved the common `is_sentry_span` logic to utils

* Basic test cases for potel (#3286)

* Proxy POTelSpan.set_data to underlying otel span attributes (#3297)

* ref(tracing): Simplify backwards-compat code (#3379)

With this change, we aim to simplify the backwards-compatibility code
for POTel tracing.

We do this as follows:
  - Remove `start_*` functions from `tracing`
  - Remove unused parameters from `tracing.POTelSpan.__init__`.
  - Make all parameters to `tracing.POTelSpan.__init__` kwarg-only.
  - Allow `tracing.POTelSpan.__init__` to accept arbitrary kwargs,
    which are all ignored, for compatibility with old `Span` interface.
  - Completely remove `start_inactive_span`, since inactive spans can
    be created by setting `active=False` when constructing a
    `POTelSpan`.

* New Scope implementation based on OTel Context (#3389)

* New `PotelScope` inherits from scope and reads the scope from the otel context key `SENTRY_SCOPES_KEY`
* New `isolation_scope` and `new_scope` context managers just use the context manager forking and yield with the scopes living on the above context key
  * isolation scope forking is done with the `SENTRY_FORK_ISOLATION_SCOPE_KEY` boolean context key

* Fix circular imports (#3431)

* Random tweaks (#3437)

* Origin improvements (#3432)

* Tweak OTel timestamp utils (#3436)

* Create spans on scope (#3442)

* Fill out more property/method stubs (#3441)

* Cleanup origin handling and defaults (#3445)

* add note to migration guide

* Attribute namespace for tags, measurements (#3448)

---------

Co-authored-by: Neel Shah <neel.shah@sentry.io>
Co-authored-by: Neel Shah <neelshah.sa@gmail.com>
Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
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.

3 participants