Bug#1058245: libportal: FTBFS: dh_auto_test regression with python3-dbusmock (>= 0.30.0-2)

2023-12-25 Thread Simon McVittie
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 =  > 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 = 
> > 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



Processed: Re: Bug#1058245: libportal: FTBFS: dh_auto_test regression with python3-dbusmock (>= 0.30.0-2)

2023-12-25 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 libportal: FTBFS: dh_auto_test regression with python3-dbusmock 
> (>= 0.30.0-2)
Bug #1058245 [src:libportal] libportal: FTBFS with test failure: 
AssertionError: dbus-daemon PID still alive
Changed Bug title to 'libportal: FTBFS: dh_auto_test regression with 
python3-dbusmock (>= 0.30.0-2)' from 'libportal: FTBFS with test failure: 
AssertionError: dbus-daemon PID still alive'.

-- 
1058245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058245
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems