Project

General

Profile

Actions

action #93342

open

Exception in log parser should Incomplete if the parser can't parse or throws an exception

Added by livdywan over 3 years ago. Updated over 3 years ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-06-01
Due date:
% Done:

0%

Estimated time:

Description

User story

As a test reviewer I need to know that failures are test failures and not due to internal parsing errors.

Acceptance criteria

  • AC1: Failures in JSON results parsing don't lead to failed tests
  • AC2: Tests incomplete if parsing is broken

Suggestions

  • Check if JSON contains all expected fields e.g. validate against a schema and Incomplete
  • Consider wrapping the parsing into an exception handler (try or eval) and Incomplete

Files

autoinst-log.txt (470 KB) autoinst-log.txt asmorodskyi, 2021-06-01 07:50
screenshot_20210601_151810.png (329 KB) screenshot_20210601_151810.png mkittler, 2021-06-01 13:19

Related issues 1 (1 open0 closed)

Copied from openQA Project - action #93324: Exception in log parser leads to failed job with hard to guess root causeWorkable2021-06-01

Actions
Actions

Also available in: Atom PDF