Skip to content

fix(tracing): Stop setting NoOpSpan on scope in the streaming trace lifecycle#6844

Draft
alexander-alderman-webb wants to merge 2 commits into
masterfrom
webb/no-op-ctx-mgr
Draft

fix(tracing): Stop setting NoOpSpan on scope in the streaming trace lifecycle#6844
alexander-alderman-webb wants to merge 2 commits into
masterfrom
webb/no-op-ctx-mgr

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Issues

Reminders

@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

91794 passed | ❌ 60 failed | ⏭️ 6302 skipped | Total: 98156 | Pass Rate: 93.52% | Execution Time: 316m 31s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests 📉 -60
Failed Tests 📈 +60
Skipped Tests

➕ New Tests (60)

View new tests
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_transaction
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_start_span
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_transaction_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing
  • test_noop_span_start_child
    • File: tests.tracing.test_noop_span
    • Status: ❌ Failing

❌ Failed Tests

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.10-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fbb04565360>() + where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fbaf08c6840 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fbaf08c6840 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fbb04565360>()
E    +      where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.10-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fbb04565360>() + where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fbac033da40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fbac033da40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fbb04565360>()
E    +      where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.10-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fbb04565360>() + where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fbac033dc40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fbac033dc40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fbb04565360>()
E    +      where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.10-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fbb04565360>() + where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fbac033df40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fbac033df40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fbb04565360>()
E    +      where <function get_current_scope at 0x7fbb04565360> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.10-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f24437213f0>() + where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f23f4d17d40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f23f4d17d40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f24437213f0>()
E    +      where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.10-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f24437213f0>() + where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f23f4dbe440 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f23f4dbe440 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f24437213f0>()
E    +      where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.10-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f24437213f0>() + where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f23f4dbe740 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f23f4dbe740 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f24437213f0>()
E    +      where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.10-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f24437213f0>() + where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f23f4dbe940 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f23f4dbe940 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f24437213f0>()
E    +      where <function get_current_scope at 0x7f24437213f0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.11-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f77a6bf13a0>() + where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f775cebd140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f775cebd140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f77a6bf13a0>()
E    +      where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.11-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f77a6bf13a0>() + where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f774c858d40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f774c858d40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f77a6bf13a0>()
E    +      where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.11-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f77a6bf13a0>() + where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f775cebd140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f775cebd140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f77a6bf13a0>()
E    +      where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.11-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f77a6bf13a0>() + where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f774c859840 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f774c859840 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f77a6bf13a0>()
E    +      where <function get_current_scope at 0x7f77a6bf13a0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.11-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f5d4cce8a40>() + where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f5ce4e7f540 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f5ce4e7f540 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f5d4cce8a40>()
E    +      where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.11-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f5d4cce8a40>() + where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f5cd4905e40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f5cd4905e40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f5d4cce8a40>()
E    +      where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.11-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f5d4cce8a40>() + where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f5cd49ebb40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f5cd49ebb40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f5d4cce8a40>()
E    +      where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.11-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f5d4cce8a40>() + where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f5cd4907240 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f5cd4907240 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f5d4cce8a40>()
E    +      where <function get_current_scope at 0x7f5d4cce8a40> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.12-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fd3c69291c0>() + where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fd37cace640 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fd37cace640 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fd3c69291c0>()
E    +      where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.12-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fd3c69291c0>() + where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fd37cde0240 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fd37cde0240 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fd3c69291c0>()
E    +      where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.12-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fd3c69291c0>() + where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fd37c6a4440 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fd37c6a4440 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fd3c69291c0>()
E    +      where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.12-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fd3c69291c0>() + where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fd37cde8240 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fd37cde8240 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fd3c69291c0>()
E    +      where <function get_current_scope at 0x7fd3c69291c0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.12-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fb779bdf1a0>() + where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fb720ad2040 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fb720ad2040 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fb779bdf1a0>()
E    +      where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.12-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fb779bdf1a0>() + where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fb710bb8040 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fb710bb8040 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fb779bdf1a0>()
E    +      where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.12-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fb779bdf1a0>() + where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fb720bae340 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fb720bae340 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fb779bdf1a0>()
E    +      where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.12-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fb779bdf1a0>() + where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fb710bb8e40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fb710bb8e40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fb779bdf1a0>()
E    +      where <function get_current_scope at 0x7fb779bdf1a0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.13-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f22c82e8540>() + where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f22649c9c40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f22649c9c40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f22c82e8540>()
E    +      where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.13-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f22c82e8540>() + where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f22649ca140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f22649ca140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f22c82e8540>()
E    +      where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.13-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f22c82e8540>() + where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f22649ca040 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f22649ca040 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f22c82e8540>()
E    +      where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.13-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f22c82e8540>() + where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f22649ca140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f22649ca140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f22c82e8540>()
E    +      where <function get_current_scope at 0x7f22c82e8540> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.14-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f1847a62090>() + where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f17f8b0f540 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f17f8b0f540 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f1847a62090>()
E    +      where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.14-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f1847a62090>() + where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f17f8477140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f17f8477140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f1847a62090>()
E    +      where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.14-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f1847a62090>() + where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f17f8b0c140 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f17f8b0c140 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f1847a62090>()
E    +      where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.14-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f1847a62090>() + where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f17f8474340 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f17f8474340 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f1847a62090>()
E    +      where <function get_current_scope at 0x7f1847a62090> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.14t-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x3fe5dc533c0>() + where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x4004acd3300 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x4004acd3300 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x3fe5dc533c0>()
E    +      where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.14t-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x3fe5dc533c0>() + where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fac35673700 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fac35673700 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x3fe5dc533c0>()
E    +      where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.14t-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x3fe5dc533c0>() + where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fac35673400 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fac35673400 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x3fe5dc533c0>()
E    +      where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.14t-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x3fe5dc533c0>() + where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fac34b38300 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fac34b38300 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x3fe5dc533c0>()
E    +      where <function get_current_scope at 0x3fe5dc533c0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.6-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f0d067a8b70>() + where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f0cec7c4348 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f0cec7c4348 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f0d067a8b70>()
E    +      where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.6-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f0d067a8b70>() + where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f0cec7c4648 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f0cec7c4648 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f0d067a8b70>()
E    +      where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.6-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f0d067a8b70>() + where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f0cec7c4748 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f0cec7c4748 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f0d067a8b70>()
E    +      where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.6-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f0d067a8b70>() + where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f0cec7c4848 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f0cec7c4848 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f0d067a8b70>()
E    +      where <function get_current_scope at 0x7f0d067a8b70> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.6-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f07e7adf840>() + where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f07c8cc1548 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f07c8cc1548 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f07e7adf840>()
E    +      where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.6-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f07e7adf840>() + where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f07c8cc1848 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f07c8cc1848 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f07e7adf840>()
E    +      where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.6-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f07e7adf840>() + where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f07c8cc1948 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f07c8cc1948 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f07e7adf840>()
E    +      where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.6-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f07e7adf840>() + where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f07c8cc1a48 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f07c8cc1a48 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f07e7adf840>()
E    +      where <function get_current_scope at 0x7f07e7adf840> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.7-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fc1abe1e830>() + where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fc17cb88d10 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fc17cb88d10 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fc1abe1e830>()
E    +      where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.7-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fc1abe1e830>() + where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fc17c8d66b0 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fc17c8d66b0 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fc1abe1e830>()
E    +      where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.7-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fc1abe1e830>() + where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fc17cb597c0 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fc17cb597c0 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fc1abe1e830>()
E    +      where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.7-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fc1abe1e830>() + where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7fc17c8d66b0 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7fc17c8d66b0 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fc1abe1e830>()
E    +      where <function get_current_scope at 0x7fc1abe1e830> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.8-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f42ac2e81f0>() + where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f4278242d40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f4278242d40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f42ac2e81f0>()
E    +      where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.8-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f42ac2e81f0>() + where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f4278228d40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f4278228d40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f42ac2e81f0>()
E    +      where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.8-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f42ac2e81f0>() + where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f4278242d40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f4278242d40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f42ac2e81f0>()
E    +      where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.8-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f42ac2e81f0>() + where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f4278246c40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f4278246c40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f42ac2e81f0>()
E    +      where <function get_current_scope at 0x7f42ac2e81f0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.8-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f8a38816ee0>() + where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f8a04926c40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f8a04926c40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f8a38816ee0>()
E    +      where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.8-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f8a38816ee0>() + where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f8a0490fc40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f8a0490fc40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f8a38816ee0>()
E    +      where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.8-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f8a38816ee0>() + where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f8a04926c40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f8a04926c40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f8a38816ee0>()
E    +      where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.8-gevent
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7f8a38816ee0>() + where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7f8a04919840 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7f8a04919840 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7f8a38816ee0>()
E    +      where <function get_current_scope at 0x7f8a38816ee0> = sentry_sdk.get_current_scope

test_noop_start_transaction

File: tests.tracing.test_noop_span
Suite: py3.9-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fec2cee50d0>() + where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:18: in test_noop_start_transaction
    assert sentry_sdk.get_current_scope().span is transaction
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7febf463ad40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7febf463ad40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fec2cee50d0>()
E    +      where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

test_noop_start_span

File: tests.tracing.test_noop_span
Suite: py3.9-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fec2cee50d0>() + where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:28: in test_noop_start_span
    assert sentry_sdk.get_current_scope().span is span
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7febe4ffc740 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7febe4ffc740 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fec2cee50d0>()
E    +      where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

test_noop_transaction_start_child

File: tests.tracing.test_noop_span
Suite: py3.9-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fec2cee50d0>() + where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:42: in test_noop_transaction_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7febe4ffca40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7febe4ffca40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fec2cee50d0>()
E    +      where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

test_noop_span_start_child

File: tests.tracing.test_noop_span
Suite: py3.9-common
Error: assert None is + where None = .span + where = <function get_current_scope at 0x7fec2cee50d0>() + where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

Stack Trace
tests/tracing/test_noop_span.py:52: in test_noop_span_start_child
    assert sentry_sdk.get_current_scope().span is child
E   assert None is <NoOpSpan>
E    +  where None = <Scope id=0x7febe4ffcc40 name=None type=ScopeType.CURRENT>.span
E    +    where <Scope id=0x7febe4ffcc40 name=None type=ScopeType.CURRENT> = <function get_current_scope at 0x7fec2cee50d0>()
E    +      where <function get_current_scope at 0x7fec2cee50d0> = sentry_sdk.get_current_scope

✅ Patch coverage is 100.00%. Project has 2477 uncovered lines.
✅ Project coverage is 89.68%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.68%    89.68%        —%
==========================================
  Files          193       193         —
  Lines        24004     24008        +4
  Branches      8340      8340         —
==========================================
+ Hits         21528     21531        +3
- Misses        2476      2477        +1
- Partials      1385      1385         —

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title fix(tracing): Stop setting NoOpSpan on scope fix(tracing): Stop setting NoOpSpan on scope in the streaming trace lifecycle Jul 20, 2026
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.

1 participant