New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 882820 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

factory: Expose test result in a structured way.

Project Member Reported by yhong@chromium.org, Sep 11

Issue description

Currently once a pytest fails, it raises an TestFailure exception with arbitrary message.  Then goofy takes the whole traceback information of that exception as the `error_msg` field of the test state.  This causes a problem that other parts of the factory software can't make decision based on the result of another test easily because `error_msg` is hard to parse.  For example, we might want to run the keyboard test which only tests the malfunction keys detected in previous round.
 

Sign in to add a comment