Comment 15 for bug 1198277

Revision history for this message
Martin Pitt (pitti) wrote : Re: Failed to create proxy object for gallery app

The "crashes the shell" was bogus, that's the intended result of phablet-test-run's -n switch. I think this is what confused Christopher as well, as presumably he ran his test python script in the same session before and after the test.

Also, the RuntimeError about AP's input backend disappeared with the latest saucy phablet build. The full output that I get is now the one below, which is just a "normal" test case failure. So I'm back to not being able to reproduce this :-/

__pthread_gettid -2
----------------------------Browser started-----------------------------
PID: 3039, command: /usr/bin/webbrowser-app -testability, PSS: 23686, USS: 16360
------------------------Browser finished loading------------------------
PID: 3039, command: /usr/bin/webbrowser-app -testability, PSS: 31590, USS: 21136
---------------------------Camera app started---------------------------
PID: 3039, command: /usr/bin/webbrowser-app -testability, PSS: 28954, USS: 20508
PID: 3138, command: /usr/bin/camera-app -testability, PSS: 13930, USS: 9884
======================================================================
FAIL: ubuntu_test_cases.memory_usage_measurement.tests.test_memory_usage.MemoryUsageTests.test_scenario
----------------------------------------------------------------------
_StringException: Empty attachments:
  process-stdout

process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Loading testability driver.

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

callbacks 0x428ca499 0x428ca49d
creating surface at (0, 44) with size (800, 1236)loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Detectable autorepeat not supported.
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_test_cases/memory_usage_measurement/tests/test_memory_usage.py", line 52, in test_scenario
    camera.take_picture()
  File "/usr/lib/python2.7/dist-packages/ubuntu_test_cases/memory_usage_measurement/apps/camera.py", line 45, in take_picture
    self.tc.assertThat(exposure_button.enabled, Eventually(Equals(True)))
MismatchError: After 20.0 seconds test on ShootButton.enabled failed: True != dbus.Boolean(False, variant_level=1)

Ran 1 test in 38.482s
FAILED (failures=1)