Article View: linux.debian.bugs.dist
Article #2763Bug#1152649: sentry-python: FTBFS: tests/test_client.py:1841: AssertionError
From: Santiago Vila
Date: Fri, 30 Oct 2026 22:50
Date: Fri, 30 Oct 2026 22:50
476 lines
43457 bytes
43457 bytes
Package: src:sentry-python
Version: 2.64.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:sentry-python, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
> assert isinstance(client.transport, AsyncHttpTransport)
E assert False
E + where False = isinstance(<sentry_sdk.transport.HttpTransport object at 0x7fd9a36b1860>, AsyncHttpTransport)
E + where <sentry_sdk.transport.HttpTransport object at 0x7fd9a36b1860> = <sentry_sdk.client._Client object at 0x7fd9a35b2670>.transport
tests/test_client.py:1841: AssertionError
=============================== warnings summary ===============================
tests/integrations/requests/test_requests.py:87
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/integrations/requests/test_requests.py:87: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_basics.py:502
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_basics.py:502: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:662
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_client.py:662: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:670
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_client.py:670: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:864
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_client.py:864: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:1149
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_client.py:1149: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_logs.py:780
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_logs.py:780: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.timeout(5)
tests/test_scope.py:913
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_scope.py:913: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_scope.py:945
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_scope.py:945: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/integrations/asyncio/test_asyncio.py::test_sentry_task_factory_context_no_factory
/usr/lib/python3.15/unittest/mock.py:460: RuntimeWarning: coroutine 'patch_asyncio.<locals>._sentry_task_factory.<locals>._task_with_sentry_span_creation' was never awaited
new = type(cls.__name__, bases, {'__doc__': cls.__doc__})
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
tests/integrations/cloud_resource_context/test_cloud_resource_context.py::test_get_aws_context[405--expected_context0]
/usr/lib/python3.15/unittest/mock.py:2263: RuntimeWarning: coroutine 'patch_asyncio.<locals>._sentry_task_factory.<locals>._task_with_sentry_span_creation' was never awaited
def __init__(self, name, parent):
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
tests/profiler/test_continuous_profiler.py: 8 warnings
tests/profiler/test_transaction_profiler.py: 1 warning
tests/tracing/test_decorator.py: 2 warnings
tests/utils/test_contextvars.py: 3 warnings
/usr/lib/python3.15/multiprocessing/popen_fork.py:76: DeprecationWarning: This process (pid=109) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:347: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_sampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:359: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:425: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:431: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:617: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:623: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/test_client.py::test_simple_transport
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/sentry_sdk/client.py:599: DeprecationWarning: Function transports are deprecated and will be removed in a future release.Please provide a Transport instance or subclass, instead.
self.transport = make_transport(self.options)
tests/test_client.py::test_async_socks_proxy[testcase5]
tests/test_client.py::test_async_socks_proxy[testcase6]
tests/test_client.py::test_async_socks_proxy[testcase7]
tests/test_client.py::test_async_socks_proxy[testcase8]
/usr/lib/python3/dist-packages/urllib3/contrib/socks.py:50: DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#socks-proxies
warnings.warn(
tests/test_logs.py::test_log_batcher_lock_reset_in_child_after_fork
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_logs.py:843: DeprecationWarning: This process (pid=109) is multi-threaded, use of fork() may lead to deadlocks in the child.
pid = os.fork()
tests/test_monitor.py::test_monitor_thread_lock_reset_in_child_after_fork
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/test_monitor.py:129: DeprecationWarning: This process (pid=109) is multi-threaded, use of fork() may lead to deadlocks in the child.
pid = os.fork()
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:318: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foo", 123)
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:319: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.bar", 456, unit="second")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:320: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.baz", 420.69, unit="custom")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:321: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foobar", 12, unit="percent")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:322: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foobar", 17.99, unit="percent")
tests/tracing/test_misc.py::test_set_meaurement_public_api
tests/tracing/test_misc.py::test_set_meaurement_public_api
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/sentry_sdk/api.py:421: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement(name, value, unit)
tests/tracing/test_misc.py::test_set_meaurement_compared_to_set_data
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:372: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foo", 123)
tests/tracing/test_misc.py::test_set_meaurement_compared_to_set_data
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_sentry_sdk/build/tests/tracing/test_misc.py:376: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
span.set_measurement("metric.baz", 420.69, unit="custom")
../../../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:469
/usr/lib/python3/dist-packages/_pytest/cacheprovider.py:469: PytestCacheWarning: could not create cache path /dev/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/dev/pytest-cache-files-1zsritnk'
config.cache.set("cache/nodeids", sorted(self.cached_nodeids))
../../../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:423
/usr/lib/python3/dist-packages/_pytest/cacheprovider.py:423: PytestCacheWarning: could not create cache path /dev/.pytest_cache/v/cache/lastfailed: [Errno 13] Permission denied: '/dev/pytest-cache-files-o4m65xb7'
config.cache.set("cache/lastfailed", self.lastfailed)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase0]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase1]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase2]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase3]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase4]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase5]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase6]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase7]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase8]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase9]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase10]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase11]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase12]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase13]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase14]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase15]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase16]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase17]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase18]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase19]
FAILED ../../../../../../dev/tests/test_client.py::test_async_proxy[testcase20]
FAILED ../../../../../../dev/tests/test_client.py::test_close_with_async_transport_warns
FAILED ../../../../../../dev/tests/test_client.py::test_close_async_with_async_transport
FAILED ../../../../../../dev/tests/test_client.py::test_flush_with_async_transport_warns
FAILED ../../../../../../dev/tests/test_client.py::test_flush_async_with_async_transport
FAILED ../../../../../../dev/tests/test_client.py::test_flush_async_uses_shutdown_timeout_default
FAILED ../../../../../../dev/tests/test_client.py::test_client_async_context_manager
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase0]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase1]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase2]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase3]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase4]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase5]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase6]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase7]
FAILED ../../../../../../dev/tests/test_client.py::test_async_socks_proxy[testcase8]
== 36 failed, 1538 passed, 149 skipped, 846 deselected, 63 warnings in 56.42s ==
E: pybuild pybuild:485: test: plugin distutils failed with: [too-long-redacted] reaming and not test_general '
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3 [too-long-redacted] reaming and not test_general '
============================= test session starts ==============================
platform linux -- Python 3.14.10, pytest-9.1.1, pluggy-1.6.0
rootdir: /dev
configfile: null
plugins: localserver-0.10.0, forked-1.7.5, asyncio-1.4.0, xdist-3.8.0, hypothesis-6.155.7
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2678 items / 1038 deselected / 82 skipped / 1640 selected
../../../../../../dev/tests/integrations/asyncio/test_asyncio.py ....... [ 0%]
.................s [ 1%]
../../../../../../dev/tests/integrations/cloud_resource_context/test_cloud_resource_context.py . [ 1%]
............................... [ 3%]
../../../../../../dev/tests/integrations/excepthook/test_excepthook.py . [ 3%]
... [ 3%]
../../../../../../dev/tests/integrations/flask/test_flask.py ........... [ 4%]
.................................................................... [ 8%]
../../../../../../dev/tests/integrations/logging/test_logging.py ....... [ 8%]
.............................. [ 10%]
../../../../../../dev/tests/integrations/rust_tracing/test_rust_tracing.py . [ 10%]
............................... [ 12%]
../../../../../../dev/tests/integrations/serverless/test_serverless.py . [ 12%]
[ 12%]
../../../../../../dev/tests/integrations/stdlib/test_httplib.py ........ [ 13%]
................................ [ 15%]
../../../../../../dev/tests/integrations/stdlib/test_subprocess.py ..... [ 15%]
................................................. [ 18%]
../../../../../../dev/tests/integrations/sys_exit/test_sys_exit.py ..... [ 18%]
........ [ 19%]
../../../../../../dev/tests/integrations/threading/test_threading.py ... [ 19%]
........... [ 20%]
../../../../../../dev/tests/integrations/unraisablehook/test_unraisablehook.py . [ 20%]
. [ 20%]
../../../../../../dev/tests/integrations/wsgi/test_wsgi.py ............. [ 21%]
.......... [ 21%]
../../../../../../dev/tests/new_scopes_compat/test_new_scopes_compat.py . [ 21%]
....... [ 22%]
../../../../../../dev/tests/new_scopes_compat/test_new_scopes_compat_event.py . [ 22%]
.... [ 22%]
../../../../../../dev/tests/profiler/test_continuous_profiler.py ....... [ 22%]
............................................ [ 25%]
../../../../../../dev/tests/profiler/test_transaction_profiler.py ...... [ 25%]
................................................................s.s..... [ 30%]
.... [ 30%]
../../../../../../dev/tests/test_ai_integration_deactivation.py ssssssss [ 31%]
sss [ 31%]
../../../../../../dev/tests/test_ai_monitoring.py ...................... [ 32%]
........................................................................ [ 37%]
............................... [ 38%]
../../../../../../dev/tests/test_api.py ................. [ 39%]
../../../../../../dev/tests/test_attributes.py ....... [ 40%]
../../../../../../dev/tests/test_client.py ......................s...... [ 42%]
......s................................................................. [ 46%]
..................................ssssssssssssssssssssssssssssssssssssss [ 50%]
sss [ 51%]
../../../../../../dev/tests/test_conftest.py ........................... [ 52%]
........... [ 53%]
../../../../../../dev/tests/test_crons.py .................. [ 54%]
../../../../../../dev/tests/test_dsc.py ........ [ 55%]
../../../../../../dev/tests/test_envelope.py .......... [ 55%]
../../../../../../dev/tests/test_exceptiongroup.py ........ [ 56%]
../../../../../../dev/tests/test_feature_flags.py ........ [ 56%]
../../../../../../dev/tests/test_full_stack_frames.py .... [ 56%]
../../../../../../dev/tests/test_import.py . [ 56%]
../../../../../../dev/tests/test_logs.py ............................. [ 58%]
../../../../../../dev/tests/test_lru_cache.py ......... [ 59%]
../../../../../../dev/tests/test_monitor.py ...... [ 59%]
../../../../../../dev/tests/test_propagationcontext.py ................. [ 60%]
.. [ 60%]
../../../../../../dev/tests/test_scope.py .............................. [ 62%]
........................... [ 64%]
../../../../../../dev/tests/test_scrubber.py ........... [ 64%]
../../../../../../dev/tests/test_serializer.py .................. [ 65%]
../../../../../../dev/tests/test_sessions.py ........ [ 66%]
../../../../../../dev/tests/test_shadowed_module.py .................... [ 67%]
............................................................. [ 71%]
../../../../../../dev/tests/test_spotlight.py ......... [ 71%]
../../../../../../dev/tests/test_tracing_utils.py ...................... [ 73%]
.............. [ 74%]
../../../../../../dev/tests/test_types.py .. [ 74%]
../../../../../../dev/tests/test_utils.py .............................. [ 76%]
........................................................................ [ 80%]
........................................................................ [ 84%]
................................................ [ 87%]
../../../../../../dev/tests/tracing/test_baggage.py ... [ 87%]
../../../../../../dev/tests/tracing/test_decorator.py .......... [ 88%]
../../../../../../dev/tests/tracing/test_deprecated.py .... [ 88%]
../../../../../../dev/tests/tracing/test_ignore_status_codes.py ........ [ 89%]
....... [ 89%]
../../../../../../dev/tests/tracing/test_integration_tests.py .......... [ 90%]
.............. [ 91%]
../../../../../../dev/tests/tracing/test_misc.py ....................... [ 92%]
................. [ 93%]
../../../../../../dev/tests/tracing/test_noop_span.py .... [ 93%]
../../../../../../dev/tests/tracing/test_propagation.py .... [ 94%]
../../../../../../dev/tests/tracing/test_sample_rand.py ................ [ 95%]
........................ [ 96%]
../../../../../../dev/tests/tracing/test_sample_rand_propagation.py .. [ 96%]
../../../../../../dev/tests/tracing/test_sampling.py ................... [ 97%]
.......................... [ 99%]
../../../../../../dev/tests/tracing/test_span_name.py .... [ 99%]
../../../../../../dev/tests/utils/test_contextvars.py .s. [ 99%]
../../../../../../dev/tests/utils/test_transaction.py .. [100%]
=============================== warnings summary ===============================
tests/integrations/requests/test_requests.py:87
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/integrations/requests/test_requests.py:87: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_basics.py:502
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_basics.py:502: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:662
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_client.py:662: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:670
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_client.py:670: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:864
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_client.py:864: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_client.py:1149
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_client.py:1149: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_logs.py:780
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_logs.py:780: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.timeout(5)
tests/test_scope.py:913
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_scope.py:913: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/test_scope.py:945
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_scope.py:945: PytestUnknownMarkWarning: Unknown pytest.mark.tests_internal_exceptions - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.tests_internal_exceptions
tests/integrations/asyncio/test_asyncio.py::test_sentry_task_factory_context_no_factory
tests/integrations/cloud_resource_context/test_cloud_resource_context.py::test_get_aws_context[405--expected_context0]
/usr/lib/python3.14/unittest/mock.py:2259: RuntimeWarning: coroutine 'patch_asyncio.<locals>._sentry_task_factory.<locals>._task_with_sentry_span_creation' was never awaited
def __init__(self, name, parent):
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
tests/profiler/test_continuous_profiler.py: 8 warnings
tests/profiler/test_transaction_profiler.py: 1 warning
tests/tracing/test_decorator.py: 2 warnings
tests/utils/test_contextvars.py: 3 warnings
/usr/lib/python3.14/multiprocessing/popen_fork.py:76: DeprecationWarning: This process (pid=1744) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
tests/profiler/test_continuous_profiler.py: 12 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:347: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py: 12 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:359: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-gevent]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-gevent]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:425: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[non-experiment-start_profile_session/stop_profile_session (deprecated)-gevent]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-thread]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_unsampled[experiment-start_profile_session/stop_profile_session (deprecated)-gevent]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:431: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-gevent-GeventContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-gevent-GeventContinuousScheduler]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:617: DeprecationWarning: The `start_profile_session` function is deprecated. Please use `start_profile` instead.
start_profiler_func()
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[non-experiment-start_profile_session/stop_profile_session (deprecated)-gevent-GeventContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-thread-ThreadContinuousScheduler]
tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop_noop_when_using_trace_lifecyle[experiment-start_profile_session/stop_profile_session (deprecated)-gevent-GeventContinuousScheduler]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/profiler/test_continuous_profiler.py:623: DeprecationWarning: The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.
stop_profiler_func()
tests/test_client.py::test_simple_transport
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/sentry_sdk/client.py:599: DeprecationWarning: Function transports are deprecated and will be removed in a future release.Please provide a Transport instance or subclass, instead.
self.transport = make_transport(self.options)
tests/test_logs.py::test_log_batcher_lock_reset_in_child_after_fork
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_logs.py:843: DeprecationWarning: This process (pid=1744) is multi-threaded, use of fork() may lead to deadlocks in the child.
pid = os.fork()
tests/test_monitor.py::test_monitor_thread_lock_reset_in_child_after_fork
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/test_monitor.py:129: DeprecationWarning: This process (pid=1744) is multi-threaded, use of fork() may lead to deadlocks in the child.
pid = os.fork()
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:318: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foo", 123)
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:319: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.bar", 456, unit="second")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:320: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.baz", 420.69, unit="custom")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:321: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foobar", 12, unit="percent")
tests/tracing/test_misc.py::test_set_meaurement
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:322: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foobar", 17.99, unit="percent")
tests/tracing/test_misc.py::test_set_meaurement_public_api
tests/tracing/test_misc.py::test_set_meaurement_public_api
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/sentry_sdk/api.py:421: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement(name, value, unit)
tests/tracing/test_misc.py::test_set_meaurement_compared_to_set_data
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:372: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
transaction.set_measurement("metric.foo", 123)
tests/tracing/test_misc.py::test_set_meaurement_compared_to_set_data
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sentry_sdk/build/tests/tracing/test_misc.py:376: DeprecationWarning: `set_measurement()` is deprecated and will be removed in the next major version. Please use `set_data()` instead.
span.set_measurement("metric.baz", 420.69, unit="custom")
../../../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:469
/usr/lib/python3/dist-packages/_pytest/cacheprovider.py:469: PytestCacheWarning: could not create cache path /dev/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/dev/pytest-cache-files-1_3bv9a0'
config.cache.set("cache/nodeids", sorted(self.cached_nodeids))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
== 1582 passed, 140 skipped, 1038 deselected, 78 warnings in 60.55s (0:01:00) ==
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:97: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NU3A6-8Tpt-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152649: sentry-python: FTBFS: tests/test_client.py:1841: AssertionError Date: Fri, 30 Oct 2026 23:50:02 +0100 Message-ID: <NU3A6-8Tpt-3@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 30 22:49:57 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Santiago Vila <sanvila@debian.org>, 1152649@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1152649 X-Debian-Pr-Package: src:sentry-python X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: sentry-python X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999843 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 476 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 30 Oct 2026 22:47:09 +0000 X-Original-Message-ID: <E1xMvNN-000w3x-0a@paradis.debian.org>