Skip to content

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Aug 12, 2025

We're moving away from using extra on the event in favor of contexts

Ref #4687

Copy link

codecov bot commented Aug 12, 2025

❌ 24 Tests Failed:

Tests completed Failed Passed Skipped
22884 24 22860 1259
View the full list of 24 ❄️ flaky tests
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.307s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.291s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.378s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.154s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.115s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>0-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.21s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.266s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.254s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.215s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.189s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.112s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>1-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.155s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.325s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.25s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.216s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.291s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.111s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>2-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.157s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.252s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.415s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_first]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.214s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:429: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 30 times)

Stack Traces | 0.156s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.12-celery-v5.5.3/lib/python3.12.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 35 times)

Stack Traces | 0.287s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.8-celery-v4.4.7/lib/python3.8.../newrelic/hooks/application_celery.py)
tests.integrations.celery.test_celery::test_newrelic_interference[<lambda>3-sentry_last]

Flake rate in main: 100.00% (Passed 0 times, Failed 7 times)

Stack Traces | 0.113s run time
.../integrations/celery/test_celery.py:410: in instrument_newrelic
    from newrelic.hooks.application_celery import (
E   ImportError: cannot import name 'instrument_celery_execute_trace' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

During handling of the above exception, another exception occurred:
.../integrations/celery/test_celery.py:431: in test_newrelic_interference
    instrument_newrelic()
.../integrations/celery/test_celery.py:420: in instrument_newrelic
    from newrelic.hooks.application_celery import instrument_celery_app_base
E   ImportError: cannot import name 'instrument_celery_app_base' from 'newrelic.hooks.application_celery' (.../sentry-python/sentry-python/.tox/py3.13-celery-v5.5.3/lib/python3.13.../newrelic/hooks/application_celery.py)

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

@sentrivana
Copy link
Contributor Author

DB / lint failures are unrelated (fixed on master, but not yet on potel-base)

@sentrivana sentrivana marked this pull request as ready for review August 14, 2025 13:40
@sentrivana sentrivana requested a review from a team as a code owner August 14, 2025 13:40
cursor[bot]

This comment was marked as outdated.

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