Detection for tests that fail due to error in test code needed
Bug #1240131 reported by
Chris Gregan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
There is currently no way to detect when at Plainbox test dies or causes a system failure so bad that the test run must be recovered. It would be helpful for test cases quality maintenance to know when test processes quit in an ungraceful manner. If this could be flagged so it could, minimally, be displayed in the report would be great, with eventual plans to add support to C3.
Related branches
lp:~zyga/checkbox/outcome-crash
- Sylvain Pineau: Approve
- Daniel Manrique (community): Needs Information
-
Diff: 124 lines (+33/-15)6 files modifiedplainbox/plainbox/abc.py (+3/-11)
plainbox/plainbox/impl/providers/stubbox/units/jobs/stub.pxu (+10/-0)
plainbox/plainbox/impl/result.py (+11/-0)
plainbox/plainbox/impl/runner.py (+2/-0)
plainbox/plainbox/impl/session/resume.py (+5/-2)
plainbox/plainbox/impl/session/test_resume.py (+2/-2)
Changed in checkbox: | |
status: | Triaged → Fix Released |
status: | Fix Released → Triaged |
Changed in checkbox: | |
milestone: | none → plainbox-0.6 |
Changed in plainbox: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 0.6 |
Changed in checkbox: | |
milestone: | plainbox-0.6 → none |
affects: | checkbox → checkbox-ng |
tags: | removed: plainbox |
Changed in plainbox: | |
milestone: | 0.6 → 0.7 |
Changed in checkbox-ng: | |
milestone: | none → 0.5 |
Changed in plainbox: | |
milestone: | 0.7 → 0.9 |
Changed in checkbox-ng: | |
milestone: | 0.5 → 0.7 |
Changed in checkbox-ng: | |
milestone: | 0.7 → 0.9 |
Changed in plainbox: | |
milestone: | 0.9 → 0.11 |
Changed in plainbox: | |
milestone: | 0.11 → future |
Changed in checkbox-ng: | |
milestone: | 0.9 → future |
Changed in plainbox: | |
status: | In Progress → Triaged |
Changed in plainbox: | |
milestone: | future → 0.18 |
Changed in checkbox-ng: | |
milestone: | future → none |
Changed in plainbox: | |
status: | Triaged → In Progress |
assignee: | nobody → Zygmunt Krynicki (zkrynicki) |
Changed in plainbox: | |
milestone: | 0.18 → none |
Changed in plainbox: | |
milestone: | 0.18 → 0.19 |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
no longer affects: | checkbox-ng |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A simple way to achieve this is to set the comment to "this test was skipped because it crashed the test run". We already have a place where the outcome of the last attempted test is set to "fail" when the user selects "continue" as a resume option.