google / google/openhtf

Include phase info at "outcome_details" when there is a timeout.

Open
#364 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Python
Stars
722
Forks
237
Avg merge
11h 31m
Merged PRs (30d)
4

Description

When phase is timeout, the outcome_details is empty, it should include the phase info as the error case.

*****_test_record when result is Timeout:**_**
start_time_millis: "1468623100886",
outcome_details: [ ],
end_time_millis: "1468623110723",
station_id: "hello_world(WIFI)",
dut_id: "123457",
log_records: [ ],
outcome: "TIMEOUT",
metadata: {
.....
}

*****_test_record when result is Error: ***_**
start_time_millis: "1468625279029",
outcome_details: [
{
code: "IOError",
description: "[Errno 2] No such file or directory: 'example_attachment.txt'"
}
],
end_time_millis: "1468625285013",
station_id: "hello_world(WIFI)",
dut_id: "123457",
log_records: [ ],
outcome: "ERROR",
metadata: {
......
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.