Skip to content

Improve and extend error handling on D-Bus connect #7278

Improve and extend error handling on D-Bus connect

Improve and extend error handling on D-Bus connect #7278

Triggered via pull request August 13, 2024 19:07
Status Failure
Total duration 6m 5s
Artifacts

ci.yaml

on: pull_request
Prepare Python dependencies
12s
Prepare Python dependencies
Run tests Python 3.12.4
5m 19s
Run tests Python 3.12.4
Check ruff-format
10s
Check ruff-format
Check ruff
12s
Check ruff
Check Dockerfile
9s
Check Dockerfile
Check executables
10s
Check executables
Check JSON
40s
Check JSON
Check pylint
33s
Check pylint
Process test coverage
0s
Process test coverage
Fit to window
Zoom out
Zoom in

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.