plainbox cannot cope with tests that fork and quit the main process

Bug #1413132 reported by Zygmunt Krynicki
20
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.Popen(["do-something"])

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.

Tags: extcmd
Zygmunt Krynicki (zyga)
Changed in plainbox:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

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.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Zygmunt Krynicki (zyga)
Changed in plainbox:
milestone: none → future
Zygmunt Krynicki (zyga)
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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.