Comment 18 for bug 1198277

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

Keeping notes: I installed ubuntu-test-cases and ubuntu-test-cases-memory-usage-measurement from jcollado's PPA, then purged ubuntu-test-cases-memory-usage-measurement, and use the bzr branch instead (which makes it easier to change/revert things):

bzr branch lp:~javier.collado/ubuntu-test-cases/memory-usage-measurement

This is my test script:

$ cat ~/do
#!/bin/sh
cd memory-usage-measurement/autopilot
autopilot run -v ubuntu_test_cases.memory_usage_measurement 2>&1 | tee ~/log

With that I open terminal-app, and run "./do". This gives me a fairly fast turnaround time and no unnecessary layers in between.

- Disabling smem: bug happens
- Disable the 'Media player app finished playback' block: test works multiple times
- only run the two last "media player" tests, disable everything else (including smem): bug happens

My suspicion is that this is due to launching mediaplayer-app twice. A simple test like

        self.media = self.launch_test_application('mediaplayer-app', app_type='qt')
        self.media2 = self.launch_test_application('mediaplayer-app', '-w', 'small.mp4', app_type='qt')

works though. So a minimal reproducer must be somewhere in between.

Christopher, Thomi, is it supported to run an app two times? Does ap and U phone support that in general?