Skip to content

community/py3-dbusmock: add dbus to depends

Pablo Correa Gomez requested to merge pabloyoyoista/aports:dbusmock-dbus into master

Seems to be a dependency. We are getting the following exception during klass.start_system_bus() call is a pretty much empty container:

FileNotFoundError: [Errno 2] No such file or directory: 'dbus-daemon'

Full trace:

======================================================================
ERROR: setUpClass (__main__.GsPluginApkTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/repo/tests/test.py", line 17, in setUpClass
    klass.start_system_bus()
  File "/usr/lib/python3.10/site-packages/dbusmock/testcase.py", line 111, in start_system_bus
    DBusTestCase.__start_bus('system')
  File "/usr/lib/python3.10/site-packages/dbusmock/testcase.py", line 89, in __start_bus
    (pid, addr) = cls.start_dbus(conf=c.name)
  File "/usr/lib/python3.10/site-packages/dbusmock/testcase.py", line 127, in start_dbus
    lines = subprocess.check_output(argv, universal_newlines=True).strip().splitlines()
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dbus-daemon'

Merge request reports

Loading