Autopilot tests take over 30 seconds to launch the camera app

Bug #1380685 reported by Florian Boucault
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
camera-app
Fix Released
High
Florian Boucault
camera-app (Ubuntu RTM)
Fix Released
High
Florian Boucault

Bug Description

Steps to reproduce on krillin:
1. Flash the device: ubuntu-device-flash --developer-mode --password 0000 --channel="ubuntu-touch/devel-proposed" --bootstrap
2. Boot the device, pass all the introductory screens up to the dash
3. Install the autopilot tests for the camera: phablet-click-test-setup --click com.ubuntu.camera
4. Prepare the device for running autopilot tests: phablet-config autopilot --dbus-probe enable
5. phablet-test-run -v camera_app

Observe that it takes a very long time before the app is started for each test.
Brendan mentioned that the reason is that the location service is brought down and up again each time.

Related branches

Changed in camera-app:
importance: Undecided → Critical
status: New → In Progress
Bill Filler (bfiller)
tags: added: rtm14
tags: added: touch-2014-10-23
Revision history for this message
Olli Ries (ories) wrote :

is that still valid?

Revision history for this message
Victor Tuson Palau (vtuson) wrote :

I cant reproduce this on r101

Changed in camera-app:
status: In Progress → Incomplete
Revision history for this message
Florian Boucault (fboucault) wrote :

Yes it is, I reported it 3 days ago along with a fix.

Changed in camera-app:
status: Incomplete → In Progress
Bill Filler (bfiller)
Changed in camera-app (Ubuntu RTM):
status: New → In Progress
importance: Undecided → Critical
Changed in camera-app:
assignee: nobody → Florian Boucault (fboucault)
Changed in camera-app (Ubuntu RTM):
assignee: nobody → Florian Boucault (fboucault)
Olli Ries (ories)
Changed in camera-app (Ubuntu RTM):
importance: Critical → High
Changed in camera-app:
importance: Critical → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package camera-app - 3.0.0+14.10.20141028~rtm-0ubuntu1

---------------
camera-app (3.0.0+14.10.20141028~rtm-0ubuntu1) 14.09; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Florian Boucault ]
  * Add a hint to the existence of the photo roll displayed the first
    time the user takes a photo. (LP: #1368808)
  * [Autopilot] Do not stop/start the location service at the beginning
    of each test. (LP: #1380685)
  * Display message when no media present in photo roll. (LP: #1375270)

  [ Omer Akram ]
  * autopilot: fix camera zoom bar not showing in test due to small
    initial pinch (LP: #1366825)
 -- Ubuntu daily release <email address hidden> Tue, 28 Oct 2014 21:54:02 +0000

Changed in camera-app (Ubuntu RTM):
status: In Progress → Fix Released
Changed in camera-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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