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

Random tweaks #3437

Merged
merged 3 commits into from
Aug 12, 2024
Merged

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Aug 12, 2024

Some random small things taken out of the monster PR to make it more readable.

  • remove attribute deprecated in 1.0
  • split docstring
  • get rid of extra import
  • fix some typos

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 611 tests with 337 failed, 274 passed and 0 skipped.

View the full list of failed tests

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-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.11-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.11-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.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-arq-latest

  • 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.11-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.11-asyncpg-latest

  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_connect

    .../integrations/asyncpg/test_asyncpg.py:92: in test_connect
    assert event["breadcrumbs"]["values"] == [CRUMBS_CONNECT]
    E AssertionError: assert [] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}]
    E
    E Right contains one more item: {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E
    E Full diff:
    E + []
    E - [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E - ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_connection_pool

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_cursor

    .../integrations/asyncpg/test_asyncpg.py:273: in test_cursor
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'}, {'message': 'BEGIN;', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE dob > $1', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'COMMIT;', 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'BEGIN;', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE dob > $1', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'COMMIT;', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {}, 'message': 'COMMIT;', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.executemany': True,
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'BEGIN;',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE dob > $1',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'COMMIT;',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_cursor_manual

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_execute

    .../integrations/asyncpg/test_asyncpg.py:131: in test_execute
    assert event["breadcrumbs"]["values"] == [
    E assert [{'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE name = $1', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': "SELECT * FROM users WHERE name = 'Bob'", 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': "SELECT * FROM users WHERE name = 'Bob'", 'type': 'default'}]
    E
    E At index 0 diff: {'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'category': 'query', 'data': {}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {}, 'message': "SELECT * FROM users WHERE name = 'Bob'", 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', "
    E "'1990-12-25')",
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE name = $1',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': "SELECT * FROM users WHERE name = 'Bob'",
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_execute_many

    .../integrations/asyncpg/test_asyncpg.py:187: in test_execute_many
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.executemany': True,
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_no_query_source_if_duration_too_short

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_prepared_stmt

    .../integrations/asyncpg/test_asyncpg.py:382: in test_prepared_stmt
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE name = $1', 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.executemany': True,
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE name = $1',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source

    .../integrations/asyncpg/test_asyncpg.py:564: in test_query_source
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_disabled

    .../integrations/asyncpg/test_asyncpg.py:492: in test_query_source_disabled
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_enabled[None]

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_enabled[True]

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_if_duration_over_threshold

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_with_module_in_search_path

    .../integrations/asyncpg/test_asyncpg.py:617: in test_query_source_with_module_in_search_path
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_record_params

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_span_origin

    No failure message available

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.34

  • 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.34/lib/python3.11.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-v1.34/lib/python3.11....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-v1.34/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-v1.34/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.34/lib/python3.11.../boto3/resources/factory.py:581: in do_action
    response = action(self, *args, **kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11.../boto3/resources/action.py:88: in __call__
    response = getattr(parent.meta.client, operation_name)(*args, **params)
    .tox/py3.11-boto3-v1.34/lib/python3.11....../site-packages/botocore/client.py:565: in _api_call
    return self._make_api_call(operation_name, kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11....../site-packages/botocore/client.py:1003: in _make_api_call
    self.meta.events.emit(
    .tox/py3.11-boto3-v1.34/lib/python3.11........./site-packages/botocore/hooks.py:412: in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
    .tox/py3.11-boto3-v1.34/lib/python3.11........./site-packages/botocore/hooks.py:256: in emit
    return self._emit(event_name, kwargs)
    .tox/py3.11-boto3-v1.34/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-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_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.12-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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/test_utils.py:315: in _request
    resp = await self._session.request(method, self.make_url(path), **kwargs)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/client.py:569: in _request
    await trace.send_request_start(method, url.update_query(params), headers)
    .tox/py3.12-aiohttp-latest/lib/python3.12.../site-packages/aiohttp/tracing.py:355: in send_request_start
    return await self._trace_config.on_request_start.send(
    .tox/py3.12-aiohttp-latest/lib/python3.12.../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.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-arq-latest

  • 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.12-asgi

  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_auto_session_tracking_with_aggregates

    .../integrations/asgi/test_asgi.py:382: in test_auto_session_tracking_with_aggregates
    assert count_item_types["transaction"] == 3
    E assert 0 == 3
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_capture_transaction

    .../integrations/asgi/test_asgi.py:152: in test_capture_transaction
    (transaction_event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_capture_transaction_with_error

    .../integrations/asgi/test_asgi.py:185: in test_capture_transaction_with_error
    (
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_has_trace_if_performance_enabled

    .../integrations/asgi/test_asgi.py:221: in test_has_trace_if_performance_enabled
    msg_event, error_event, transaction_event = events
    E ValueError: not enough values to unpack (expected 3, got 2)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_trace_from_headers_if_performance_enabled

    .../integrations/asgi/test_asgi.py:279: in test_trace_from_headers_if_performance_enabled
    msg_event, error_event, transaction_event = events
    E ValueError: not enough values to unpack (expected 3, got 2)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_transaction_name[/message/123456-endpoint-/message/123456-url]

    .../integrations/asgi/test_asgi.py:624: in test_transaction_name
    (transaction_envelope,) = envelopes
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_transaction_name[/message/123456-url-/message/123456-url]

    .../integrations/asgi/test_asgi.py:624: in test_transaction_name
    (transaction_envelope,) = envelopes
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_transaction_style[/message-endpoint-tests.integrations.asgi.test_asgi.asgi3_app.<locals>.app-component]

    .../integrations/asgi/test_asgi.py:433: in test_transaction_style
    (transaction_event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asgi.test_asgi
    Test name: test_transaction_style[/message-url-generic ASGI request-route]

    .../integrations/asgi/test_asgi.py:433: in test_transaction_style
    (transaction_event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)

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-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.7-arq-latest

  • 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-boto3-v1.23

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

    .../integrations/boto3/test_s3.py:23: in test_basic
    s3 = session.resource("s3")
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:456: in resource
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:309: in client
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:940: in create_client
    self.user_agent(),
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:522: in user_agent
    f'{self.user_agent_name}/{self.user_agent_version} '
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1068: in system
    return uname().system
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1034: in uname
    processor = _syscmd_uname('-p', '')
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:788: in _syscmd_uname
    f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/os.py:992: in popen
    bufsize=buffering)
    sentry_sdk/utils.py:1724: in runner
    return sentry_patched_function(*args, **kwargs)
    sentry_sdk/integrations/stdlib.py:209: in sentry_patched_popen_init
    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.boto3.test_s3
    Test name: test_omit_url_data_if_parsing_fails

    .../integrations/boto3/test_s3.py:108: in test_omit_url_data_if_parsing_fails
    s3 = session.resource("s3")
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:456: in resource
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:309: in client
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:940: in create_client
    self.user_agent(),
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:522: in user_agent
    f'{self.user_agent_name}/{self.user_agent_version} '
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1068: in system
    return uname().system
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1034: in uname
    processor = _syscmd_uname('-p', '')
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:788: in _syscmd_uname
    f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/os.py:992: in popen
    bufsize=buffering)
    sentry_sdk/utils.py:1724: in runner
    return sentry_patched_function(*args, **kwargs)
    sentry_sdk/integrations/stdlib.py:209: in sentry_patched_popen_init
    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.boto3.test_s3
    Test name: test_span_origin

    .../integrations/boto3/test_s3.py:141: in test_span_origin
    s3 = session.resource("s3")
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:456: in resource
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:309: in client
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:940: in create_client
    self.user_agent(),
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:522: in user_agent
    f'{self.user_agent_name}/{self.user_agent_version} '
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1068: in system
    return uname().system
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1034: in uname
    processor = _syscmd_uname('-p', '')
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:788: in _syscmd_uname
    f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/os.py:992: in popen
    bufsize=buffering)
    sentry_sdk/utils.py:1724: in runner
    return sentry_patched_function(*args, **kwargs)
    sentry_sdk/integrations/stdlib.py:209: in sentry_patched_popen_init
    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.boto3.test_s3
    Test name: test_streaming

    .../integrations/boto3/test_s3.py:46: in test_streaming
    s3 = session.resource("s3")
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:456: in resource
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:309: in client
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:940: in create_client
    self.user_agent(),
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:522: in user_agent
    f'{self.user_agent_name}/{self.user_agent_version} '
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1068: in system
    return uname().system
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1034: in uname
    processor = _syscmd_uname('-p', '')
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:788: in _syscmd_uname
    f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/os.py:992: in popen
    bufsize=buffering)
    sentry_sdk/utils.py:1724: in runner
    return sentry_patched_function(*args, **kwargs)
    sentry_sdk/integrations/stdlib.py:209: in sentry_patched_popen_init
    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.boto3.test_s3
    Test name: test_streaming_close

    .../integrations/boto3/test_s3.py:84: in test_streaming_close
    s3 = session.resource("s3")
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:456: in resource
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/boto3/session.py:309: in client
    config=config,
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:940: in create_client
    self.user_agent(),
    .tox/py3.7-boto3-v1.23/lib/python3.7....../site-packages/botocore/session.py:522: in user_agent
    f'{self.user_agent_name}/{self.user_agent_version} '
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1068: in system
    return uname().system
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:1034: in uname
    processor = _syscmd_uname('-p', '')
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/platform.py:788: in _syscmd_uname
    f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
    .../hostedtoolcache/Python/3.7.17............/x64/lib/python3.7/os.py:992: in popen
    bufsize=buffering)
    sentry_sdk/utils.py:1724: in runner
    return sentry_patched_function(*args, **kwargs)
    sentry_sdk/integrations/stdlib.py:209: in sentry_patched_popen_init
    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-falcon-latest

  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_does_not_leak_scope

    .../integrations/falcon/test_falcon.py:406: in test_does_not_leak_scope
    assert not sentry_sdk.get_isolation_scope()._tags["request_data"]
    E assert not True
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_falcon_empty_json_request[empty-dict]

    .../integrations/falcon/test_falcon.py:256: in test_falcon_empty_json_request
    assert event["request"]["data"] == data
    E KeyError: 'request'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_falcon_empty_json_request[empty-list]

    .../integrations/falcon/test_falcon.py:256: in test_falcon_empty_json_request
    assert event["request"]["data"] == data
    E KeyError: 'request'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_falcon_large_json_request

    .../integrations/falcon/test_falcon.py:230: in test_falcon_large_json_request
    assert event["_meta"]["request"]["data"]["foo"]["bar"] == {
    E KeyError: '_meta'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_falcon_raw_data_request

    .../integrations/falcon/test_falcon.py:277: in test_falcon_raw_data_request
    assert event["request"]["headers"]["Content-Length"] == "2"
    E KeyError: 'request'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_has_context

    .../integrations/falcon/test_falcon.py:77: in test_has_context
    assert event["transaction"] == "/message" # Falcon URI template
    E KeyError: 'transaction'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_span_origin

    .../integrations/falcon/test_falcon.py:460: in test_span_origin
    (_, event) = events
    E ValueError: not enough values to unpack (expected 2, got 1)
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_transaction_style[/message-path-/message-url]

    .../integrations/falcon/test_falcon.py:109: in test_transaction_style
    assert event["transaction"] == expected_transaction
    E KeyError: 'transaction'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_transaction_style[/message-uri_template-/message-route]

    .../integrations/falcon/test_falcon.py:109: in test_transaction_style
    assert event["transaction"] == expected_transaction
    E KeyError: 'transaction'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_transaction_style[/message/123456-path-/message/123456-url]

    .../integrations/falcon/test_falcon.py:109: in test_transaction_style
    assert event["transaction"] == expected_transaction
    E KeyError: 'transaction'
  • Class name: tests.integrations.falcon.test_falcon
    Test name: test_transaction_style[/message/123456-uri_template-/message/{message_id:int}-route]

    .../integrations/falcon/test_falcon.py:109: in test_transaction_style
    assert event["transaction"] == 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': 'ba125416b1471568', 'trace_id': '29a0e222304c41d38ffa1951aa7bb16b'}}, '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': 'a0583ff1b98f7180', 'trace_id': '31d748fac3ba4390ae67dbe565b31f56'}}, 'environment': 'production', 'event_id': '49e061a6f5bf49298a14fb5308e4b511', ...}

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': '9fc60a11a4ab2a62', 'trace_id': 'f58289661c484f5581ea78788c311d32'}}, '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': '88d140065d1afd76', 'trace_id': '845ebcd40a274bf88904f66de764b2ca'}}, 'environment': 'production', 'event_id': 'c447374f7d7b4b94ade37b6d6a13e387', ...}

py3.7-grpc-v1.59

  • 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_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-asyncpg-latest

  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_connect

    .../integrations/asyncpg/test_asyncpg.py:92: in test_connect
    assert event["breadcrumbs"]["values"] == [CRUMBS_CONNECT]
    E AssertionError: assert [] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}]
    E
    E Right contains one more item: {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E
    E Full diff:
    E + []
    E - [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E - ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_connection_pool

    .../integrations/asyncpg/test_asyncpg.py:434: in test_connection_pool
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT pg_advisory_unlock_all();\nCLOSE ALL;\nUNLISTEN *;\nRESET ALL;', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE name = $1', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT pg_advisory_unlock_all();\nCLOSE ALL;\nUNLISTEN *;\nRESET ALL;', 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT pg_advisory_unlock_all();\nCLOSE ALL;\nUNLISTEN *;\nRESET ALL;', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT pg_advisory_unlock_all();\nCLOSE ALL;\nUNLISTEN *;\nRESET ALL;', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains 2 more items, first extra item: {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT pg_advisory_unlock_all();\n'
    E 'CLOSE ALL;\n'
    E 'UNLISTEN *;\n'
    E 'RESET ALL;',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE name = $1',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT pg_advisory_unlock_all();\n'
    E 'CLOSE ALL;\n'
    E 'UNLISTEN *;\n'
    E 'RESET ALL;',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_cursor

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_cursor_manual

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_execute

    .../integrations/asyncpg/test_asyncpg.py:131: in test_execute
    assert event["breadcrumbs"]["values"] == [
    E assert [{'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE name = $1', 'category': 'query', 'data': {}, 'type': 'default'}, {'message': "SELECT * FROM users WHERE name = 'Bob'", 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': "SELECT * FROM users WHERE name = 'Bob'", 'type': 'default'}]
    E
    E At index 0 diff: {'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', '1990-12-25')", 'category': 'query', 'data': {}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {}, 'message': "SELECT * FROM users WHERE name = 'Bob'", 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': "INSERT INTO users(name, password, dob) VALUES ('Alice', 'pw', "
    E "'1990-12-25')",
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE name = $1',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': "SELECT * FROM users WHERE name = 'Bob'",
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_execute_many

    .../integrations/asyncpg/test_asyncpg.py:187: in test_execute_many
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.executemany': True,
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_no_query_source_if_duration_too_short

    .../integrations/asyncpg/test_asyncpg.py:672: in test_no_query_source_if_duration_too_short
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_prepared_stmt

    .../integrations/asyncpg/test_asyncpg.py:382: in test_prepared_stmt
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'}, {'message': 'SELECT * FROM users WHERE name = $1', 'category': 'query', 'data': {}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.executemany': True}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}, {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.executemany': True}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {}, 'message': 'SELECT * FROM users WHERE name = $1', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.executemany': True,
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E {
    E 'category': 'query',
    E 'data': {},
    E 'message': 'SELECT * FROM users WHERE name = $1',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_disabled

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_enabled[None]

    .../integrations/asyncpg/test_asyncpg.py:531: in test_query_source_enabled
    (event,) = events
    E ValueError: not enough values to unpack (expected 1, got 0)
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_enabled[True]

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_if_duration_over_threshold

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_query_source_with_module_in_search_path

    No failure message available
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_record_params

    .../integrations/asyncpg/test_asyncpg.py:224: in test_record_params
    assert event["breadcrumbs"]["values"] == [
    E AssertionError: assert [{'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.params': ['Bob', 'secret_pw', 'datetime.date(1984, 3, 1)'], 'db.paramstyle': 'format'}, 'type': 'default'}] == [{'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}, {'category': 'query', 'data': {'db.params': ['Bob', 'secret_pw', 'datetime.date(1984, 3, 1)'], 'db.paramstyle': 'format'}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}]
    E
    E At index 0 diff: {'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'category': 'query', 'data': {'db.params': ['Bob', 'secret_pw', 'datetime.date(1984, 3, 1)'], 'db.paramstyle': 'format'}, 'type': 'default'} != {'category': 'query', 'data': {'db.name': 'postgres', 'db.system': 'postgresql', 'db.user': 'postgres', 'server.address': 'localhost', 'server.port': 5432}, 'message': 'connect', 'type': 'default'}
    E Right contains one more item: {'category': 'query', 'data': {'db.params': ['Bob', 'secret_pw', 'datetime.date(1984, 3, 1)'], 'db.paramstyle': 'format'}, 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)', 'type': 'default'}
    E
    E Full diff:
    E [
    E - {
    E - 'category': 'query',
    E - 'data': {
    E - 'db.name': 'postgres',
    E - 'db.system': 'postgresql',
    E - 'db.user': 'postgres',
    E - 'server.address': 'localhost',
    E - 'server.port': 5432,
    E - },
    E - 'message': 'connect',
    E - 'type': 'default',
    E - },
    E {
    E 'category': 'query',
    E 'data': {
    E 'db.params': [
    E 'Bob',
    E 'secret_pw',
    E 'datetime.date(1984, 3, 1)',
    E ],
    E 'db.paramstyle': 'format',
    E },
    E 'message': 'INSERT INTO users(name, password, dob) VALUES($1, $2, $3)',
    E 'type': 'default',
    E },
    E ]
  • Class name: tests.integrations.asyncpg.test_asyncpg
    Test name: test_span_origin

    No failure message available

py3.8-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.8-clickhouse_driver-v0.2.0/lib/python3.8....../site-packages/clickhouse_driver/client.py:376: in execute
    rv = self.process_insert_query(
    .tox/py3.8-clickhouse_driver-v0.2.0/lib/python3.8....../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

    No failure message available
  • Class name: tests.integrations.clickhouse_driver.test_clickhouse_driver
    Test name: test_clickhouse_dbapi_breadcrumbs_with_pii

    No failure message available
  • 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.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-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-opentelemetry

  • 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'

@sentrivana sentrivana merged commit 45e281f into ivana/potel/start-span Aug 12, 2024
7 of 116 checks passed
@sentrivana sentrivana deleted the ivana/potel/random-improvements branch August 12, 2024 14:19
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.

2 participants