============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/tracer/src/tracer-tracer-0.7.8-1 collected 34 items / 9 errors / 25 selected ==================================== ERRORS ==================================== ________________ ERROR collecting tests/test_FilenameCleaner.py ________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_FilenameCleaner.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_FilenameCleaner.py:2: in from tracer.resources.FilenameCleaner import FilenameCleaner tracer/__init__.py:3: in from tracer.query import Query tracer/query.py:19: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' _________________ ERROR collecting tests/test_applications.py __________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_applications.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_applications.py:3: in from tracer.resources.applications import Applications, Application tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' __________________ ERROR collecting tests/test_collections.py __________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_collections.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_collections.py:2: in from tracer.resources.applications import Applications, Application tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' _____________________ ERROR collecting tests/test_hooks.py _____________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_hooks.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_hooks.py:2: in from tracer.hooks import HooksObserver, match tracer/__init__.py:3: in from tracer.query import Query tracer/query.py:19: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' _____________________ ERROR collecting tests/test_lang.py ______________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_lang.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_lang.py:2: in import tracer.resources.lang as lang tracer/__init__.py:3: in from tracer.query import Query tracer/query.py:19: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' ___________________ ERROR collecting tests/test_processes.py ___________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_processes.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_processes.py:3: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' _____________________ ERROR collecting tests/test_query.py _____________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_query.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_query.py:2: in from tracer.query import Query, Lazy tracer/__init__.py:3: in from tracer.query import Query tracer/query.py:19: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' ____________________ ERROR collecting tests/test_tracer.py _____________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_tracer.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_tracer.py:2: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' _____________________ ERROR collecting tests/test_views.py _____________________ ImportError while importing test module '/build/tracer/src/tracer-tracer-0.7.8-1/tests/test_views.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_views.py:6: in from tracer.views.default import DefaultView tracer/__init__.py:3: in from tracer.query import Query tracer/query.py:19: in from tracer.resources.tracer import Tracer tracer/resources/tracer.py:29: in from tracer.resources.applications import Applications, AffectedApplication tracer/resources/applications.py:29: in from tracer.resources.SystemdDbus import SystemdDbus tracer/resources/SystemdDbus.py:18: in import dbus E ModuleNotFoundError: No module named 'dbus' =============================== warnings summary =============================== tracer/resources/applications.py:238 /build/tracer/src/tracer-tracer-0.7.8-1/tracer/resources/applications.py:238: DeprecationWarning: invalid escape sequence '\{' return bool(re.search("\{.*\}", self.helper)) tracer/resources/applications.py:244 /build/tracer/src/tracer-tracer-0.7.8-1/tracer/resources/applications.py:244: DeprecationWarning: invalid escape sequence '\{' return bool(re.search("\{NAME\}", self.helper)) tracer/resources/applications.py:297 /build/tracer/src/tracer-tracer-0.7.8-1/tracer/resources/applications.py:297: DeprecationWarning: invalid escape sequence '\.' if Id and re.search("\.service$", Id): tracer/resources/applications.py:298 /build/tracer/src/tracer-tracer-0.7.8-1/tracer/resources/applications.py:298: DeprecationWarning: invalid escape sequence '\.' return re.sub('\.service$', '', Id) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR tests/test_FilenameCleaner.py ERROR tests/test_applications.py ERROR tests/test_collections.py ERROR tests/test_hooks.py ERROR tests/test_lang.py ERROR tests/test_processes.py ERROR tests/test_query.py ERROR tests/test_tracer.py ERROR tests/test_views.py !!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 4 warnings, 9 errors in 1.68s ========================= ==> ERROR: A failure occurred in check().  Aborting...