Testcase: test_add_location(with touch)

Build #:77:20141010.1:20140929.1
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_add_location(with touch)
testsuite
ubuntu_weather_app.tests.test_locationmanager.TestLocationManager
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog

Application Log (com.ubuntu.weather_weather_1.1.374): {{{
libust[4523/4526]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4523/4526]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4523/4525]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4523/4525]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4523): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4523): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4523): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 3.325
qml: [London] returning cached data, time from last fetch: 3.27
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4599/4602]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4599/4602]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4599): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4599): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4599): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.022
qml: [London] returning cached data, time from last fetch: 1.963
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
libust[4666/4668]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4666/4668]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4666): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4666): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4666): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.034
qml: [London] returning cached data, time from last fetch: 1.986
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4713/4716]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4713/4716]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4713): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4713): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4713): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.044
qml: [London] returning cached data, time from last fetch: 1.988
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4776/4778]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4776/4778]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4776/4779]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4776/4779]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4776): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4776): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4776): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.06
qml: [London] returning cached data, time from last fetch: 2.019
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
libust[4899/4902]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4899/4902]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4899/4901]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4899/4901]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4899): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4899): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4899): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.086
qml: [London] returning cached data, time from last fetch: 2.007
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/GMXX0049.js?hours=48&key=b7d7a237-d6df-4157-be64-c39eca403d5b&locale=en_US&units=m
qml: Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/UKXX0085.js?hours=48&key=b7d7a237-d6df-4157-be64-c39eca403d5b&locale=en_US&units=m
qml: [Hamburg] {"date":10,"hours":19,"minutes":32,"month":9,"year":2014}
qml: [London] {"date":10,"hours":18,"minutes":32,"month":9,"year":2014}
libust[4965/4968]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4965/4968]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4965/4967]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4965/4967]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:4965): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4965): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4965): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.066
qml: [London] returning cached data, time from last fetch: 2.023
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Sent request URL: http://api.openweathermap.org/data/2.5/weather?units=metric&lat=53.57532&lon=10.01534
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=53.57532&lon=10.01534
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast/daily?cnt=10&units=metric&lat=53.57532&lon=10.01534
qml: Sent request URL: http://api.openweathermap.org/data/2.5/weather?units=metric&lat=51.50853&lon=-0.12574
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=51.50853&lon=-0.12574
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast/daily?cnt=10&units=metric&lat=51.50853&lon=-0.12574
qml: [Hamburg] {"date":10,"hours":19,"minutes":32,"month":9,"year":2014}
qml: [London] {"date":10,"hours":18,"minutes":32,"month":9,"year":2014}
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/GMXX0049.js?hours=48&key=b7d7a237-d6df-4157-be64-c39eca403d5b&locale=en_US&units=m
qml: Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/UKXX0085.js?hours=48&key=b7d7a237-d6df-4157-be64-c39eca403d5b&locale=en_US&units=m
qml: [London] {"date":10,"hours":18,"minutes":32,"month":9,"year":2014}
qml: [Hamburg] {"date":10,"hours":19,"minutes":32,"month":9,"year":2014}
libust[5099/5101]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5099/5101]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5099/5102]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:5099): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5099): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5099): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.084
qml: [London] returning cached data, time from last fetch: 2.031
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[5154/5157]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5154/5157]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:5154): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5154): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5154): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: Database created
qml: Settings table added, Database upgraded to v0.2
qml: Removed old locations, Database upgraded to v0.3
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: undefined
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=London&maxRows=25&featureClass=P
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Hamburg&maxRows=25&featureClass=P
libust[5239/5242]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5239/5242]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5239/5241]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5239/5241]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:5239): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5239): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5239): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [Hamburg] returning cached data, time from last fetch: 2.014
qml: [London] returning cached data, time from last fetch: 1.965
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[5295/5298]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[5295/5298]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".

(process:5295): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5295): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:5295): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: Database created
qml: Settings table added, Database upgraded to v0.2
qml: Removed old locations, Database upgraded to v0.3
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: undefined
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Paris&maxRows=25&featureClass=P
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
qml: Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?hours=48&key=b7d7a237-d6df-4157-be64-c39eca403d5b&locale=en_US&units=m&lat=48.85341&lng=2.3488
qml: [Paris] {"date":10,"hours":19,"minutes":33,"month":9,"year":2014}
qml: ICON MISSING POINT: undefined N/A
}}}

test-log: {{{
18:33:22.326 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
18:33:22.334 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
18:33:22.335 DEBUG __init__:95 - Running via click package
18:33:22.336 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
18:33:23.093 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
18:33:25.998 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:25.999 DEBUG _uinput:470 - Tapping at: 600,581
18:33:28.154 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:28.155 DEBUG _uinput:470 - Tapping at: 600,292
18:33:29.389 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:29.390 DEBUG _uinput:470 - Tapping at: 600,292
18:33:30.600 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:30.601 DEBUG _uinput:470 - Tapping at: 600,292
18:33:31.811 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:31.812 DEBUG _uinput:470 - Tapping at: 600,292
18:33:33.027 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:33.029 DEBUG _uinput:470 - Tapping at: 600,292
18:33:34.267 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:34.268 DEBUG _uinput:470 - Tapping at: 600,292
18:33:35.497 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:35.498 DEBUG _uinput:470 - Tapping at: 600,292
18:33:36.710 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:36.712 DEBUG _uinput:470 - Tapping at: 600,292
18:33:37.928 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:37.930 DEBUG _uinput:470 - Tapping at: 600,292
18:33:39.141 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:39.142 DEBUG _uinput:470 - Tapping at: 600,292
18:33:40.333 DEBUG _uinput:195 - Typing text 'Paris'
18:33:40.334 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
18:33:40.438 DEBUG _uinput:57 - Pressing P (25).
18:33:40.540 DEBUG _uinput:88 - Releasing P (25).
18:33:40.645 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
18:33:40.753 DEBUG _uinput:57 - Pressing a (30).
18:33:40.861 DEBUG _uinput:88 - Releasing a (30).
18:33:40.968 DEBUG _uinput:57 - Pressing r (19).
18:33:41.079 DEBUG _uinput:88 - Releasing r (19).
18:33:41.185 DEBUG _uinput:57 - Pressing i (23).
18:33:41.292 DEBUG _uinput:88 - Releasing i (23).
18:33:41.401 DEBUG _uinput:57 - Pressing s (31).
18:33:41.511 DEBUG _uinput:88 - Releasing s (31).
18:33:41.723 DEBUG _uinput:180 - Pressing and Releasing: Enter
18:33:41.725 DEBUG _uinput:57 - Pressing Enter (28).
18:33:41.829 DEBUG _uinput:88 - Releasing Enter (28).
18:33:44.304 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:44.305 DEBUG _uinput:470 - Tapping at: 133,441
18:33:45.388 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:33:45.389 DEBUG _uinput:470 - Tapping at: 63,121
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 128, in test_add_location
    self._verify_location(location, 0)
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 117, in _verify_location
    self.assertThat(location.title, Equals(title))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'Paris' != 'Hamburg'

command_type
testcase_test