1 test error, when running in the emulator

Bug #1266841 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Expired
Medium
Unassigned

Bug Description

Running the tests like so, in the emulator:

$ bzr branch lp:~xnox/ubuntu-test-cases/touch-emulator
$ cd touch-emulator
$ ./scripts/provision-emulator.sh
$ ./scripts/run-test.sh click com.ubuntu.clock ubuntu_clock_app

I get one error, see results log file attach. Please help me identify the bug causing this and fixing it.

Tags: jemjem
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: jemjem
Changed in ubuntu-clock-app:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Looking at the results log, it seems that the failing test is test_add_remove_world_location(). But that test is no longer present in the clock app trunk. So it could be that the clock app click package is not updated to the latest trunk. Can you ensure that you are running the latest trunk build and check if you are still get the failure?

Changed in ubuntu-clock-app:
status: Confirmed → Incomplete
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Download full text (4.0 KiB)

The latest clock test indeed does not have this test present; I did run a similar one and it worked fine:

sergiusens@rivendell:~$ phablet-test-run -s emulator-5554 -v ubuntu_clock_app.tests.test_clock.TestClock.test_add_local_world_city
adbd is already running as root
Loading tests from: /home/phablet/autopilot

16:44:20.561 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
Tests running...
16:44:20.583 INFO globals:56 - ************************************************************
16:44:20.597 INFO globals:57 - Starting test ubuntu_clock_app.tests.test_clock.TestClock.test_add_local_world_city
16:44:20.608 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
16:44:21.172 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
16:44:21.897 DEBUG __init__:107 - Backed up database
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.clock_clock_1.0.283
initctl: Unknown instance: com.ubuntu.clock_clock_1.0.283
16:44:35.651 INFO testcase:352 - Click package com.ubuntu.clock_clock_1.0.283 has been launched with PID 2540
16:44:42.418 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:48.755 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:49.023 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:44:49.026 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
16:44:49.218 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:44:49.487 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:49.638 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
16:44:49.742 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addCityAction',). Keyword arguments: {}.
16:44:49.747 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addCityAction'}
16:44:50.039 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:44:50.049 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:44:50.414 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:44:50.418 DEBUG _uinput:332 - Tapping at: 435,760
16:44:50.529 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:51.549 DEBUG dbus:431 - Selecting objects of type Base with attributes: {'objectName': 'worldcity0'}
16:44:53.881 DEBUG dbus:431 - Selecting objects of type Base with attributes: {'objectName': 'worldcity0'}
16:44:55.972 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:56.189 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'city_name'}
16:44:56.640 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:44:56.908 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:44:56.911 DEBUG _uinput:332 - Tapping at: 240,277
16:44:57.018 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu Clock App because there has been no activity for 60 days.]

Changed in ubuntu-clock-app:
status: Incomplete → Expired
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.