zephyr/scripts/pylib/twister
Dmitrii Golovanov a4cb802d54 twister: DeviceHandler improve DUT selection
Improve DUT selection at DeviceHandler: for each DUT it counts
how many test instances have been failed on it during the current
twister execution, so the next available DUT will be chosen
ordering the eligible DUTs by less failures occured so far.

The new selection mechanism should increase chances to retry failed
tests on different DUTs, for instance to resolve ploblems when some
DUTs have connectivity or HW issues slowing down test plan execution,
or even block the execution when only one test suite runs whereas
the same first DUT candidate in the list is not working and others
were not chosen.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-08-15 10:15:41 +01:00
..
twisterlib twister: DeviceHandler improve DUT selection 2024-08-15 10:15:41 +01:00
expr_parser.py twister: Add dt_nodelabel_enabled devicetree filter function 2021-07-28 18:41:26 -04:00
scl.py twister: fix utf-8 encoding for device handler 2023-09-19 15:23:52 +01:00