[Pkg-utopia-maintainers] Bug#1058245: libportal: FTBFS: dh_auto_test regression with python3-dbusmock (>= 0.30.0-2)

Simon McVittie smcv at debian.org
Mon Dec 25 20:22:04 GMT 2023


Control: retitle -1 libportal: FTBFS: dh_auto_test regression with python3-dbusmock (>= 0.30.0-2)

On Tue, 12 Dec 2023 at 09:11:51 +0100, Lucas Nussbaum wrote:
> > ____________________ TestRemoteDesktop.test_connect_to_eis _____________________
> > 
> > self = <pyportaltest.test_remotedesktop.TestRemoteDesktop testMethod=test_connect_to_eis>
> > 
> >     def test_connect_to_eis(self):
> > >       setup = self.create_session(start_session=True)
> > 
> > pyportaltest/test_remotedesktop.py:428: 
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> > pyportaltest/test_remotedesktop.py:62: in create_session
> >     self.setup_daemon(params=params, extra_templates=extra_templates)
> > pyportaltest/__init__.py:99: in setup_daemon
> >     self.start_session_bus()
> > /usr/lib/python3/dist-packages/dbusmock/testcase.py:296: in start_session_bus
> >     cls.__start_bus('session')
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> > 
> > cls = <class 'pyportaltest.test_remotedesktop.TestRemoteDesktop'>
> > bus_type = 'session'
> > 
> >     @classmethod
> >     def __start_bus(cls, bus_type) -> None:
> >         bustype = BusType(bus_type)
> >         old_pid = getattr(DBusTestCase, f"{bustype.value}_bus_pid")
> > >       assert old_pid is None, f"PID {old_pid} still alive?"
> > E       AssertionError: PID 3954437 still alive?
> > 
> > /usr/lib/python3/dist-packages/dbusmock/testcase.py:284: AssertionError

(and many similar assertion errors)

These tests passed with python3-dbusmock 0.29.1-2, but fail starting
from version 0.30.0-2. I don't know whether this is a bug in libportal
or in python3-dbusmock, and I haven't bisected python3-dbusmock to an
exact commit.

    smcv



More information about the Pkg-utopia-maintainers mailing list