Skip to content

Fix log follow mode without range header #7559

Fix log follow mode without range header

Fix log follow mode without range header #7559

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

ci.yaml

on: pull_request
Prepare Python dependencies
9s
Run tests Python 3.12.7
5m 27s
Check ruff-format
18s
Check ruff
19s
Check Dockerfile
7s
Check executables
19s
Check JSON
24s
Check pylint
31s
Process test coverage
0s

Annotations

8 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_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.