Autopilot test applications get killed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Incomplete
|
Critical
|
Unassigned | ||
Unity 8 |
Confirmed
|
Critical
|
Unassigned | ||
unity-mir |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Not sure if this is the correct project to file this against, please re-target as appropriate.
I've noticed that when running unity8 on mir, running several autopilot test suites one after the other gets the phone into a state where the autopilot application under test gets killed. For example, I ran ubuntu_
The exact behavior seems to change. Sometimes autopilot itself is killed, and does not produce any result log:
"""
04:44:12.668 INFO globals:50 - Starting test ubuntu_
04:44:12.669 WARNING testcase:118 - No tracing available - install the python-
04:44:12.672 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
04:44:12.673 DEBUG __init__:90 - Backed up database
04:44:12.694 INFO __init__:156 - Launching process: ['/usr/
Killed
phablet@
137
"""
Sometimes the application under test is killed with SIGKILL:
"""
04:43:16.702 INFO globals:50 - Starting test gallery_
04:43:16.707 WARNING testcase:118 - No tracing available - install the python-
04:43:16.726 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
04:43:16.775 INFO __init__:156 - Launching process: ['/usr/
04:43:18.384 INFO testcase:552 - waiting for process to exit.
04:43:18.390 INFO testcase:554 - Killing process 7452
04:43:18.391 INFO testcase:557 - Appears process has already exited.
}}}
Traceback (most recent call last):
File "/usr/lib/
super(
File "/usr/lib/
self.launch()
File "/usr/lib/
emulator_
File "/usr/lib/
dbus_bus
File "/usr/lib/
dbus_
File "/usr/lib/
process
File "/usr/lib/
% return_code
ProcessSearchError: Process exited with exit code: -9
Ran 1 test in 2.077s
FAILED (failures=1)
"""
My suspicion is that this is the OOM checker, but the memory looks fine to me:
total used free shared buffers cached
Mem: 1.8G 1.5G 321M 0B 328K 741M
-/+ buffers/cache: 807M 1.0G
Swap: 511M 7^C
Changed in unity8: | |
status: | New → Confirmed |
Changed in mir: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Forgot to mention: this is being run on a mako, system image #87