twister: count retries after failures or errors
When twister is set to retry any failures, count the number of retries and record the number in the json file. This will help us identify unstable tests or tests requiring attention. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
4f458ba8de
commit
b89a3d955a
4 changed files with 7 additions and 0 deletions
|
@ -267,6 +267,8 @@ class Reporting:
|
|||
if rom_size:
|
||||
suite["rom_size"] = rom_size
|
||||
|
||||
suite['retries'] = instance.retries
|
||||
|
||||
if instance.status in ["error", "failed"]:
|
||||
suite['status'] = instance.status
|
||||
suite["reason"] = instance.reason
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue