mgmt-tester: fix test failures + avoid hidden skipping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mgmt-tester: ignore Debug feature in Read Exp Feature teststest/ tools/ | +89 | 2 replies | |
| 2/5 | mgmt-tester: Fix expected status for invalid key entriestools/ | +11 | 0 replies | |
| 3/5 | mgmt-tester: mark Pair Device - Power off 1 as fail_toleranttools/ | +6 | 0 replies | |
| 4/5 | mgmt-tester: Report unexpected status as test failuretools/ | +6 | 0 replies | |
| 5/5 | shared/tester: Count setup failures as test failuressrc/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH BlueZ 0/5] mgmt-tester: fix test failures + avoid hidden skipping
MGMT tests have one failure + 4 hidden failures:
Load Link Keys - Invalid Parameters 3 Not Run Load Long Term Keys - Invalid Parameters 2 Not Run Load Long Term Keys - Invalid Parameters 3 Not Run Pair Device - Power off 1 Not Run Read Exp Feature - Success Failed
These fail because:
- Invalid Parameters: change in MGMT semantics in 2024, test wasn't updated
- Pair Device - Power off 1: race between MGMT and ioctl, let's just ignore, it is not deterministic
- Read Exp Feature - Success: simple test issue vs. Debug extension
Fix these, and make it reports failures correctly.
Adjust the test machinery reporting of setup failures, to avoid some additional paths to "Not Run" reporting.
LLM used for triage + fixing issues, except where it needed manual cleanup for simpler solution. I reviewed all commits.
Pauli Virtanen (5):
mgmt-tester: ignore Debug feature in Read Exp Feature tests
mgmt-tester: Fix expected status for invalid key entries
mgmt-tester: mark Pair Device - Power off 1 as fail_tolerant
mgmt-tester: Report unexpected status as test failure shared/tester: Count setup failures as test failures
src/shared/tester.c | 3 + test/functional/test_kernel_testers.py | 2 - tools/mgmt-tester.c | 137 ++++++++++++++++++++----- 3 files changed, 115 insertions(+), 27 deletions(-)
Signature · 1 line
2.55.0