plainbox cannot cope with tests that fork and quit the main process
Bug #1413132 reported by
Zygmunt Krynicki
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Won't Fix
|
High
|
Unassigned |
Bug Description
Plainbox cannot cope with any test that has this format:
def main():
subprocess.
That is, the actual stuff happens in "do-something", depending on what that is it may interrupt internal plainbox session saving code that is written defensively but none the less can never prevent something just killing plainbox on the spot.
Changed in plainbox: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in plainbox: | |
milestone: | none → future |
Changed in plainbox: | |
importance: | Critical → High |
tags: | added: extcmd |
Changed in plainbox: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
To the best of my understanding, the *only* way to detect this situation is to run the job in a new cgroup and to freeze (to kill or inspect) that cgroup once the main test process exits.