Package: src:python-opentracing Version: 2.4.0-2 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/202512/ 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:python-opentracing, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with=python3,sphinxdoc --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2026-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. [... snipped ...] assert scope is not None assert scope_manager.active is scope scope.close() assert span.finish.call_count == 0 assert scope_manager.active is None > self.run_test(fn) opentracing/harness/scope_check.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError _______ AsyncioContextVarsCompabilityCheck.test_activate_finish_on_close _______ self = <tests.scope_managers.test_contextvars.AsyncioContextVarsCompabilityCheck testMethod=test_activate_finish_on_close> def test_activate_finish_on_close(self): def fn(): scope_manager = self.scope_manager() span = mock.MagicMock(spec=Span) scope = scope_manager.activate(span, True) assert scope is not None assert scope_manager.active is scope scope.close() assert span.finish.call_count == 1 assert scope_manager.active is None > self.run_test(fn) opentracing/harness/scope_check.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ___ AsyncioContextVarsCompabilityCheck.test_activate_finish_on_close_nested ____ self = <tests.scope_managers.test_contextvars.AsyncioContextVarsCompabilityCheck testMethod=test_activate_finish_on_close_nested> def test_activate_finish_on_close_nested(self): def fn(): # finish_on_close must be correctly handled scope_manager = self.scope_manager() parent_span = mock.MagicMock(spec=Span) child_span = mock.MagicMock(spec=Span) parent = scope_manager.activate(parent_span, False) with scope_manager.activate(child_span, True): pass parent.close() assert parent_span.finish.call_count == 0 assert child_span.finish.call_count == 1 assert scope_manager.active is None > self.run_test(fn) opentracing/harness/scope_check.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ___________ AsyncioContextVarsCompabilityCheck.test_activate_nested ____________ self = <tests.scope_managers.test_contextvars.AsyncioContextVarsCompabilityCheck testMethod=test_activate_nested> def test_activate_nested(self): def fn(): # when a Scope is closed, the previous one must be re-activated. scope_manager = self.scope_manager() parent_span = mock.MagicMock(spec=Span) child_span = mock.MagicMock(spec=Span) with scope_manager.activate(parent_span, True) as parent: assert parent is not None assert scope_manager.active is parent with scope_manager.activate(child_span, True) as child: assert child is not None assert scope_manager.active is child assert scope_manager.active is parent assert parent_span.finish.call_count == 1 assert child_span.finish.call_count == 1 assert scope_manager.active is None > self.run_test(fn) opentracing/harness/scope_check.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError __________ AsyncioContextVarsCompabilityCheck.test_close_wrong_order ___________ self = <tests.scope_managers.test_contextvars.AsyncioContextVarsCompabilityCheck testMethod=test_close_wrong_order> def test_close_wrong_order(self): def fn(): # only the active `Scope` can be closed scope_manager = self.scope_manager() parent_span = mock.MagicMock(spec=Span) child_span = mock.MagicMock(spec=Span) parent = scope_manager.activate(parent_span, True) child = scope_manager.activate(child_span, True) parent.close() assert parent_span.finish.call_count == 0 assert scope_manager.active == child > self.run_test(fn) opentracing/harness/scope_check.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ____________ AsyncioContextVarsCompabilityCheck.test_missing_active ____________ self = <tests.scope_managers.test_contextvars.AsyncioContextVarsCompabilityCheck testMethod=test_missing_active> def test_missing_active(self): def fn(): scope_manager = self.scope_manager() assert scope_manager.active is None > self.run_test(fn) opentracing/harness/scope_check.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/scope_managers/test_contextvars.py:41: in run_test asyncio.get_event_loop().run_until_complete(async_test_fn()) ^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f5971aa2cf0> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError =========================== short test summary info ============================ FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_activate FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_activate_finish_on_close FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_activate_finish_on_close_nested FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_activate_nested FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_close_wrong_order FAILED tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_missing_active FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_activate FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_activate_finish_on_close FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_activate_finish_on_close_nested FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_activate_nested FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_close_wrong_order FAILED tests/scope_managers/test_contextvars.py::AsyncioContextVarsCompabilityCheck::test_missing_active =================== 12 failed, 94 passed, 8 skipped in 0.21s =================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_opentracing/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opentracing/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 114 items tests/mocktracer/test_api.py ......................... [ 21%] tests/mocktracer/test_propagation.py ... [ 24%] tests/mocktracer/test_span.py . [ 25%] tests/mocktracer/test_tracer.py .. [ 27%] tests/scope_managers/test_asyncio.py ......... [ 35%] tests/scope_managers/test_contextvars.py ......... [ 42%] tests/scope_managers/test_threadlocal.py ........ [ 50%] tests/scope_managers/test_tornado.py ssssssss [ 57%] tests/test_api.py ......................... [ 78%] tests/test_api_check_mixin.py ..... [ 83%] tests/test_globaltracer.py .... [ 86%] tests/test_noop_span.py .... [ 90%] tests/test_noop_tracer.py .. [ 92%] tests/test_scope.py .... [ 95%] tests/test_scope_check_mixin.py .... [ 99%] tests/test_scope_manager.py . [100%] =============================== warnings summary =============================== .pybuild/cpython3_3.13_opentracing/build/tests/scope_managers/test_asyncio.py::AsyncioCompabilityCheck::test_activate /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_opentracing/build/tests/scope_managers/test_asyncio.py:40: DeprecationWarning: There is no current event loop asyncio.get_event_loop().run_until_complete(async_test_fn()) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 106 passed, 8 skipped, 1 warning in 0.13s =================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

