Skip to content

Fix log follow mode without range header #7558

Fix log follow mode without range header

Fix log follow mode without range header #7558

Triggered via pull request October 11, 2024 10:56
Status Failure
Total duration 5m 53s
Artifacts

ci.yaml

on: pull_request
Prepare Python dependencies
8s
Prepare Python dependencies
Run tests Python 3.12.7
5m 12s
Run tests Python 3.12.7
Check ruff-format
13s
Check ruff-format
Check ruff
13s
Check ruff
Check Dockerfile
6s
Check Dockerfile
Check executables
14s
Check executables
Check JSON
13s
Check JSON
Check pylint
33s
Check pylint
Process test coverage
0s
Process test coverage
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Run tests Python 3.12.7: tests/api/test_addons.py#L76
test_api_addon_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'addon_local_ssh', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'addon_local_ssh', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_audio.py#L12
test_api_audio_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_audio', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_audio', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_dns.py#L71
test_api_dns_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_dns', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_dns', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_homeassistant.py#L24
test_api_core_logs[True] AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_homeassistant.py#L24
test_api_core_logs[False] AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_host.py#L231
test_advanced_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': ['NetworkManager', 'bluetoothd', 'bthelper', 'btuart', 'dbus-broker', 'dockerd', 'dropbear', 'fstrim', 'hassos-apparmor', 'hassos-config', 'hassos-expand', 'hassos-overlay', 'hassos-persists', 'hassos-supervisor', 'hassos-zram', 'kernel', 'mount', 'os-agent', 'rauc', 'systemd', 'systemd-coredump', 'systemd-fsck', 'systemd-growfs', 'systemd-hostnamed', 'systemd-journal-gatewayd', 'systemd-journald', 'systemd-logind', 'systemd-random-seed', 'systemd-resolved', 'systemd-sysctl', 'systemd-time-wait-sync', 'systemd-timesyncd', 'systemd-tmpfiles', 'systemd-udevd', 'wpa_supplicant'], 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': ['NetworkManager', 'bluetoothd', 'bthelper', 'btuart', 'dbus-broker', 'dockerd', 'dropbear', 'fstrim', 'hassos-apparmor', 'hassos-config', 'hassos-expand', 'hassos-overlay', 'hassos-persists', 'hassos-supervisor', 'hassos-zram', 'kernel', 'mount', 'os-agent', 'rauc', 'systemd', 'systemd-coredump', 'systemd-fsck', 'systemd-growfs', 'systemd-hostnamed', 'systemd-journal-gatewayd', 'systemd-journald', 'systemd-logind', 'systemd-random-seed', 'systemd-resolved', 'systemd-sysctl', 'systemd-time-wait-sync', 'systemd-timesyncd', 'systemd-tmpfiles', 'systemd-udevd', 'wpa_supplicant'], 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_multicast.py#L12
test_api_multicast_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_multicast', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_multicast', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7: tests/api/test_supervisor.py#L161
test_api_supervisor_logs AssertionError: expected call not found. Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_supervisor', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>) Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_supervisor', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Run tests Python 3.12.7
Process completed with exit code 1.