Skip to content

twister: pytest: Bluetooth: multi harness boards test against DuT #168955

twister: pytest: Bluetooth: multi harness boards test against DuT

twister: pytest: Bluetooth: multi harness boards test against DuT #168955

Triggered via pull request January 7, 2025 13:04
Status Failure
Total duration 2m 47s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 40s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 10 warnings
Run compliance checks on patch series (PR): Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. TRAILING_WHITESPACE: trailing whitespace File:scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py Line:134 TRAILING_WHITESPACE: trailing whitespace File:scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py Line:137
Run compliance checks on patch series (PR): GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes d5ea127122b7434ab582055f06502f46923b9480: scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py:134: trailing whitespace. d5ea127122b7434ab582055f06502f46923b9480: scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py:137: trailing whitespace.
Run compliance checks on patch series (PR): Gitlint.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details 4: UC4 Commit message body line exceeds max length (76>75): "Which will build and flash different harness apps into multi harness boards,"
Run compliance checks on patch series (PR): Pylint.txt#L1
See https://www.pylint.org/ for more details W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/central_ht/pytest/test_cases.py Line:13 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/central_ht/pytest/test_cases.py Line:19 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/central_ht/pytest/test_cases.py Line:25 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/central_ht/pytest/test_cases.py Line:29 Column:4 W0611:Unused Shell imported from twister_harness (unused-import) File:samples/bluetooth/central_ht/pytest/test_cases.py Line:7 Column:0 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:13 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:19 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:25 Column:4 W0612:Unused variable 'lines' (unused-variable) File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:29 Column:4 W0611:Unused Shell imported from twister_harness (unused-import) File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:7 Column:0 W0106:Expression "[device_object.launch() for device_object in harness_devices]" is assigned to nothing (expression-not-assigned) File:scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py Line:166 Column:8 W0106:Expression "[device_object.close() for device_object in harness_devices]" is assigned to nothing (expression-not-assigned) File:scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py Line:169 Column:8 W0611:Unused import re (unused-import) File:scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py Line:9 Column:0
Run compliance checks on patch series (PR): Ruff.txt#L1
Check python files with ruff. Python lint error (F401) see https://docs.astral.sh/ruff/rules/unused-import:`twister_harness.Shell` imported but unused File:samples/bluetooth/central_ht/pytest/test_cases.py Line:7 Column:29 EndLine:7 EndColumn:34 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/central_ht/pytest/test_cases.py Line:15 Column:5 EndLine:15 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/central_ht/pytest/test_cases.py Line:21 Column:5 EndLine:21 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/central_ht/pytest/test_cases.py Line:25 Column:5 EndLine:25 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/central_ht/pytest/test_cases.py Line:29 Column:5 EndLine:29 EndColumn:10 Python format error:Run 'ruff format samples/bluetooth/central_ht/pytest/test_cases.py' File:samples/bluetooth/central_ht/pytest/test_cases.py Python lint error (F401) see https://docs.astral.sh/ruff/rules/unused-import:`twister_harness.Shell` imported but unused File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:7 Column:29 EndLine:7 EndColumn:34 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:15 Column:5 EndLine:15 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:21 Column:5 EndLine:21 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:25 Column:5 EndLine:25 EndColumn:10 Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable:Local variable `lines` is assigned to but never used File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Line:30 Column:5 EndLine:30 EndColumn:10 Python format error:Run 'ruff format samples/bluetooth/peripheral_ht/pytest/test_cases.py' File:samples/bluetooth/peripheral_ht/pytest/test_cases.py Python lint error (F401) see https://docs.astral.sh/ruff/rules/unused-import:`re` imported but unused File:scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py Line:9 Column:8 EndLine:9 EndColumn:10 Python lint error (UP039) see https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses:Unnecessary parentheses after class definition File:scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py Line:111 Column:32 EndLine:111 EndColumn:34 Python lint error (W291) see https://docs.astral.sh/ruff/rules/trailing-whitespace:Trailing whitespace File:scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py Line:134 Column:40 EndLine:134 EndColumn:41 Python lint error (W291) see https://docs.astral.sh/ruff/rules/trailing-whitespace:Trailing whitespace File:scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py Line:137 Column:46 EndLine:137 EndColumn:47
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Python lint error (F401) see https://docs.astral.sh/ruff/rules/unused-import: samples/bluetooth/central_ht/pytest/test_cases.py#L7
samples/bluetooth/central_ht/pytest/test_cases.py:7 `twister_harness.Shell` imported but unused
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/central_ht/pytest/test_cases.py#L15
samples/bluetooth/central_ht/pytest/test_cases.py:15 Local variable `lines` is assigned to but never used
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/central_ht/pytest/test_cases.py#L21
samples/bluetooth/central_ht/pytest/test_cases.py:21 Local variable `lines` is assigned to but never used
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/central_ht/pytest/test_cases.py#L25
samples/bluetooth/central_ht/pytest/test_cases.py:25 Local variable `lines` is assigned to but never used
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/central_ht/pytest/test_cases.py#L29
samples/bluetooth/central_ht/pytest/test_cases.py:29 Local variable `lines` is assigned to but never used
Python format error: samples/bluetooth/central_ht/pytest/test_cases.py#L1
samples/bluetooth/central_ht/pytest/test_cases.py Run 'ruff format samples/bluetooth/central_ht/pytest/test_cases.py'
Python lint error (F401) see https://docs.astral.sh/ruff/rules/unused-import: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L7
samples/bluetooth/peripheral_ht/pytest/test_cases.py:7 `twister_harness.Shell` imported but unused
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L15
samples/bluetooth/peripheral_ht/pytest/test_cases.py:15 Local variable `lines` is assigned to but never used
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L21
samples/bluetooth/peripheral_ht/pytest/test_cases.py:21 Local variable `lines` is assigned to but never used
Python lint error (F841) see https://docs.astral.sh/ruff/rules/unused-variable: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L25
samples/bluetooth/peripheral_ht/pytest/test_cases.py:25 Local variable `lines` is assigned to but never used
W0612: samples/bluetooth/central_ht/pytest/test_cases.py#L13
samples/bluetooth/central_ht/pytest/test_cases.py:13 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/central_ht/pytest/test_cases.py#L19
samples/bluetooth/central_ht/pytest/test_cases.py:19 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/central_ht/pytest/test_cases.py#L25
samples/bluetooth/central_ht/pytest/test_cases.py:25 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/central_ht/pytest/test_cases.py#L29
samples/bluetooth/central_ht/pytest/test_cases.py:29 Unused variable 'lines' (unused-variable)
W0611: samples/bluetooth/central_ht/pytest/test_cases.py#L7
samples/bluetooth/central_ht/pytest/test_cases.py:7 Unused Shell imported from twister_harness (unused-import)
W0612: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L13
samples/bluetooth/peripheral_ht/pytest/test_cases.py:13 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L19
samples/bluetooth/peripheral_ht/pytest/test_cases.py:19 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L25
samples/bluetooth/peripheral_ht/pytest/test_cases.py:25 Unused variable 'lines' (unused-variable)
W0612: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L29
samples/bluetooth/peripheral_ht/pytest/test_cases.py:29 Unused variable 'lines' (unused-variable)
W0611: samples/bluetooth/peripheral_ht/pytest/test_cases.py#L7
samples/bluetooth/peripheral_ht/pytest/test_cases.py:7 Unused Shell imported from twister_harness (unused-import)

Artifacts

Produced during runtime
Name Size
compliance.xml
1.55 KB