Testcase: test_add_location(with touch)

Build #:76:20141010: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)

/var/log/syslog: {{{
Oct 10 12:11:01 ubuntu-phablet kernel: [  199.484863] input: py-evdev-uinput as /devices/virtual/input/input7
Oct 10 12:11:01 ubuntu-phablet kernel: [  199.485656] keychord: using input dev py-evdev-uinput for fevent
}}}

Application Log (com.ubuntu.weather_weather_1.1.374): {{{
libust[4512/4514]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4512/4514]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4512/4515]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4512/4515]: 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:4512): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4512): 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.333
qml: [London] returning cached data, time from last fetch: 3.274
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":13,"minutes":10,"month":9,"year":2014}
qml: [London] {"date":10,"hours":12,"minutes":10,"month":9,"year":2014}
libust[4607/4610]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4607/4610]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4607/4609]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4607/4609]: 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:4607): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4607): 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.028
qml: [London] returning cached data, time from last fetch: 1.99
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1200, height=1866)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4656/4659]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4656/4659]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4656/4658]: 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:4656): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4656): 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.063
qml: [London] returning cached data, time from last fetch: 2.01
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":13,"minutes":10,"month":9,"year":2014}
qml: [London] {"date":10,"hours":12,"minutes":10,"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":12,"minutes":10,"month":9,"year":2014}
qml: [Hamburg] {"date":10,"hours":13,"minutes":10,"month":9,"year":2014}
libust[4758/4760]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4758/4760]: 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:4758): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4758): 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":13,"minutes":11,"month":9,"year":2014}
qml: ICON MISSING POINT: undefined N/A
}}}

test-log: {{{
12:10:55.329 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
12:10:55.337 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
12:10:55.339 DEBUG __init__:95 - Running via click package
12:10:55.340 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.weather' and URIs ''
12:10:56.096 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.weather_weather_1.1.374' with URIs '' via upstart-app-launch
12:10:58.940 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:10:58.941 DEBUG _uinput:470 - Tapping at: 600,581
12:11:01.793 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:01.795 DEBUG _uinput:470 - Tapping at: 600,292
12:11:02.995 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:02.997 DEBUG _uinput:470 - Tapping at: 600,292
12:11:04.236 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:04.237 DEBUG _uinput:470 - Tapping at: 600,292
12:11:05.416 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:05.417 DEBUG _uinput:470 - Tapping at: 600,292
12:11:06.647 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:06.649 DEBUG _uinput:470 - Tapping at: 600,292
12:11:07.863 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:07.865 DEBUG _uinput:470 - Tapping at: 600,292
12:11:09.074 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:09.075 DEBUG _uinput:470 - Tapping at: 600,292
12:11:10.311 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:10.312 DEBUG _uinput:470 - Tapping at: 600,292
12:11:11.524 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:11.525 DEBUG _uinput:470 - Tapping at: 600,292
12:11:12.762 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:12.763 DEBUG _uinput:470 - Tapping at: 600,292
12:11:13.947 DEBUG _uinput:195 - Typing text 'Paris'
12:11:13.949 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
12:11:14.052 DEBUG _uinput:57 - Pressing P (25).
12:11:14.155 DEBUG _uinput:88 - Releasing P (25).
12:11:14.262 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
12:11:14.375 DEBUG _uinput:57 - Pressing a (30).
12:11:14.483 DEBUG _uinput:88 - Releasing a (30).
12:11:14.593 DEBUG _uinput:57 - Pressing r (19).
12:11:14.708 DEBUG _uinput:88 - Releasing r (19).
12:11:14.816 DEBUG _uinput:57 - Pressing i (23).
12:11:14.933 DEBUG _uinput:88 - Releasing i (23).
12:11:15.045 DEBUG _uinput:57 - Pressing s (31).
12:11:15.159 DEBUG _uinput:88 - Releasing s (31).
12:11:15.379 DEBUG _uinput:180 - Pressing and Releasing: Enter
12:11:15.381 DEBUG _uinput:57 - Pressing Enter (28).
12:11:15.490 DEBUG _uinput:88 - Releasing Enter (28).
12:11:18.011 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:18.013 DEBUG _uinput:470 - Tapping at: 133,441
12:11:19.024 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:11:19.025 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