CompoundFailure may be nested, ReportStageFailureToCIDB should insert all exceptions into failureTable.
+---------+----------------+------------------+----------------+---------------------------------------------------------------------+--------------------+------------+---------------------+
| id | build_stage_id | outer_failure_id | exception_type | exception_message | exception_category | extra_info | timestamp |
+---------+----------------+------------------+----------------+---------------------------------------------------------------------+--------------------+------------+---------------------+
| 1895129 | 38053984 | 1895127 | TestLabFailure | ** HWTest did not complete due to infrastructure issues (code 3) ** | lab | NULL
Comment 1 by nxia@chromium.org
, Mar 2 2017