Skip to content

Fix log follow mode without range header #7557

Fix log follow mode without range header

Fix log follow mode without range header #7557

Triggered via pull request October 11, 2024 10:53
Status Cancelled
Total duration 3m 25s
Artifacts

ci.yaml

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

Annotations

11 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: 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
The operation was canceled.