Improve and extend error handling on D-Bus connect #7278
ci.yaml
on: pull_request
Prepare Python dependencies
12s
Check ruff-format
10s
Check ruff
12s
Check Dockerfile
9s
Check executables
10s
Check JSON
40s
Check pylint
33s
Process test coverage
0s
Annotations
6 errors
Ruff (F401):
supervisor/dbus/agent/boards/__init__.py#L9
supervisor/dbus/agent/boards/__init__.py:9:5: F401 `....exceptions.DBusError` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
|
Check ruff
Process completed with exit code 1.
|
Run tests Python 3.12.4:
tests/dbus/agent/boards/test_board.py#L68
test_dbus_board_supervised
assert None
+ where None = <supervisor.dbus.agent.boards.BoardManager object at 0x7f5ec9861310>.supervised
|
Run tests Python 3.12.4:
tests/dbus/agent/test_agent.py#L76
test_dbus_osagent_connect_error[agent_apparmor]
AssertionError: assert 'No OS-Agent support on the host' in '2024-08-13 19:11:06.578 INFO MainThread supervisor.dbus.agent:__init__.py:96 Load dbus interface io.hass.os\n2024...os/AppArmor: D-Bus object /io/hass/os/AppArmor is not usable, introspection is missing required properties interface\n'
+ where '2024-08-13 19:11:06.578 INFO MainThread supervisor.dbus.agent:__init__.py:96 Load dbus interface io.hass.os\n2024...os/AppArmor: D-Bus object /io/hass/os/AppArmor is not usable, introspection is missing required properties interface\n' = <_pytest.logging.LogCaptureFixture object at 0x7f5ec89d1400>.text
|
Run tests Python 3.12.4:
tests/dbus/agent/test_agent.py#L76
test_dbus_osagent_connect_error[agent_datadisk]
AssertionError: assert 'No OS-Agent support on the host' in '2024-08-13 19:11:06.602 INFO MainThread supervisor.dbus.agent:__init__.py:96 Load dbus interface io.hass.os\n2024...os/DataDisk: D-Bus object /io/hass/os/DataDisk is not usable, introspection is missing required properties interface\n'
+ where '2024-08-13 19:11:06.602 INFO MainThread supervisor.dbus.agent:__init__.py:96 Load dbus interface io.hass.os\n2024...os/DataDisk: D-Bus object /io/hass/os/DataDisk is not usable, introspection is missing required properties interface\n' = <_pytest.logging.LogCaptureFixture object at 0x7f5ec89d3da0>.text
|
Run tests Python 3.12.4
Process completed with exit code 1.
|