get_proxy_object_for_existing_process matches multiple processes if a child pid matches too
Bug #1569079 reported by
Christopher Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Committed
|
Medium
|
Christopher Lee | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Given a parent pid that exposes the autopilot introspection object and a child pid (a process spawned by the parent) that also exposes the AP introspection object both will match resulting in an exception (Search criteria (%s) returned multiple results).
We need to filter on this to only contain the parent if applicable.
Related branches
lp:~canonical-platform-qa/autopilot/fixing_pid_search_1569079
- PS Jenkins bot: Approve (continuous-integration)
- Thomi Richards (community): Approve
- platform-qa-bot: Approve (continuous-integration)
- Autopilot Hackers: Pending requested
-
Diff: 155 lines (+119/-1)2 files modifiedautopilot/introspection/_search.py (+42/-0)
autopilot/tests/unit/test_introspection_search.py (+77/-1)
To post a comment you must log in.
Fix committed into lp:autopilot at revision None, scheduled for release in autopilot, milestone 1.4