Skip to content

Fix log follow mode without range header #7556

Fix log follow mode without range header

Fix log follow mode without range header #7556

Triggered via pull request October 11, 2024 10:51
Status Cancelled
Total duration 2m 26s
Artifacts

ci.yaml

on: pull_request
Prepare Python dependencies
9s
Prepare Python dependencies
Run tests Python 3.12.7
1m 42s
Run tests Python 3.12.7
Check ruff-format
18s
Check ruff-format
Check ruff
12s
Check ruff
Check Dockerfile
8s
Check Dockerfile
Check executables
12s
Check executables
Check JSON
13s
Check JSON
Check pylint
30s
Check pylint
Process test coverage
0s
Process test coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check ruff-format
Process completed with exit code 1.
Run tests Python 3.12.7
Canceling since a higher priority waiting request for 'CI-refs/pull/5347/merge' exists
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
The operation was canceled.