Modify procdockerstatsd to update the redis STATE_DB with system disk… #168
Azure Pipelines / sonic-net.sonic-host-services
failed
Nov 6, 2024 in 3m 40s
Build #20241106.8 had test failures
Details
- Failed: 1 (100.00%)
- Passed: 0 (0.00%)
- Other: 0 (0.00%)
- Total: 1
Annotations
Check failure on line 192 in Build log
azure-pipelines / sonic-net.sonic-host-services
Build log #L192
Bash exited with code '2'.
Check failure on line 19 in Build log
azure-pipelines / sonic-net.sonic-host-services
Build log #L19
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 1 in tests.procdockerstatsd_test
azure-pipelines / sonic-net.sonic-host-services
tests.procdockerstatsd_test
collection failure
Raw output
/usr/lib/python3/dist-packages/_pytest/python.py:552: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3/dist-packages/_pytest/pathlib.py:520: in import_path
importlib.import_module(module_name)
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
???
<frozen importlib._bootstrap>:1007: in _find_and_load
???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:680: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
tests/procdockerstatsd_test.py:21: in <module>
procdockerstatsd = load_module_from_source('procdockerstatsd', procdockerstatsd_path)
/usr/local/lib/python3.9/dist-packages/sonic_py_common/general.py:19: in load_module_from_source
loader.exec_module(module)
<frozen importlib._bootstrap_external>:786: in exec_module
???
<frozen importlib._bootstrap_external>:923: in get_code
???
<frozen importlib._bootstrap_external>:853: in source_to_code
???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
???
E File "/__w/1/s/scripts/procdockerstatsd", line 71
E def format_mount_cmd_output(self, cmdout):
E ^
E IndentationError: unindent does not match any outer indentation level
Loading