Testcase: test_switch_scale_cancel(with touch)

Build #:217:20140303:20140301.1
Arch:manta (Nexus 10)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_switch_scale_cancel(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  3 06:46:23 ubuntu-phablet kernel: [  283.227983] iio-buffer, current state requested again
Mar  3 06:46:24 ubuntu-phablet kernel: [  284.042427] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2223/2225]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2225]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2226]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2223/2226]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d84ead 0xb3d84e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2277/2280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2277/2280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d4eead 0xb3d4ee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2332/2335]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2332/2335]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3d5bead 0xb3d5be59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.305
[London] returning cached data, time from last fetch: 2.281
Detectable autorepeat not supported. 
libust[2390/2393]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2390/2393]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e36ead 0xb3e36e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.38
[London] returning cached data, time from last fetch: 2.342
Detectable autorepeat not supported. 
Sent request URL: http://wxdata.weather.com/wxdata/mobile/mobagg/GMXX0049.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48
Sent request URL: http://wxdata.weather.com/wxdata/mobile/mobagg/UKXX0085.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48
[Hamburg] {"year":2014,"month":2,"date":3,"hours":7,"minutes":43}
[London] {"year":2014,"month":2,"date":3,"hours":6,"minutes":43}
libust[2485/2488]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2485/2488]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d5cead 0xb3d5ce59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=30.06263&lng=31.24967
[Cairo] {"year":2014,"month":2,"date":3,"hours":8,"minutes":43}
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3ddeead 0xb3ddee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.452
[London] returning cached data, time from last fetch: 2.425
Detectable autorepeat not supported. 
libust[2601/2604]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2601/2604]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3e0bead 0xb3e0be59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2650/2653]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2650/2653]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d73ead 0xb3d73e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2698/2701]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2698/2701]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e2cead 0xb3e2ce59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.173
[London] returning cached data, time from last fetch: 2.148
Detectable autorepeat not supported. 
[London] returning cached data, time from last fetch: 9.736
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Cairo&maxRows=25&featureClass=P
[London] returning cached data, time from last fetch: 21.471
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=30.06263&lng=31.24967
[Cairo] {"year":2014,"month":2,"date":3,"hours":8,"minutes":44}
libust[2913/2916]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2913/2916]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3de0ead 0xb3de0e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Paris&maxRows=25&featureClass=P
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=48.85341&lng=2.3488
[Paris] {"year":2014,"month":2,"date":3,"hours":7,"minutes":44}
libust[2966/2969]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2966/2969]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d59ead 0xb3d59e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Sent request URL: http://geoip.ubuntu.com/lookup
Geolookup: {"lat":"42.3584","lon":"-71.0598"}
Sent request URL: http://api.geonames.org/findNearbyPlaceNameJSON?style=full&username=uweatherdev&lat=42.3584&lng=-71.0598&maxRows=25&featureClass=P
Detectable autorepeat not supported. 
Sent request URL:
http://wxdata.weather.com/wxdata/mobile/mobagg/get.js?key=b7d7a237-d6df-4157-be64-c39eca403d5b&units=m&locale=en_US&hours=48&lat=42.35843&lng=-71.05977
[Boston] {"year":2014,"month":2,"date":3,"hours":1,"minutes":44}
libust[3024/3027]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3024/3027]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3dc4ead 0xb3dc4e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.318
[London] returning cached data, time from last fetch: 2.293
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
libust[3073/3076]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3073/3076]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3e2fead 0xb3e2fe59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[3121/3124]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[3121/3124]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3db7ead 0xb3db7e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.221
[London] returning cached data, time from last fetch: 2.199
Detectable autorepeat not supported. 
[London] returning cached data, time from last fetch: 10.21
libust[3178/3181]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3178/3181]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3e02ead 0xb3e02e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=London&maxRows=25&featureClass=P
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=Hamburg&maxRows=25&featureClass=P
libust[3229/3232]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3229/3232]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3d4eead 0xb3d4ee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.345
[London] returning cached data, time from last fetch: 2.321
libust[3277/3280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3277/3280]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3d88ead 0xb3d88e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[3325/3328]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[3325/3328]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e0bead 0xb3e0be59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.162
[London] returning cached data, time from last fetch: 2.136
Detectable autorepeat not supported. 
libust[3374/3376]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3374/3376]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e06ead 0xb3e06e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.111
[London] returning cached data, time from last fetch: 2.09
libust[3422/3425]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3422/3425]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3422/3424]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
Database created
Settings table added, Database upgraded to v0.2
Removed old locations, Database upgraded to v0.3
callbacks 0xb3de7ead 0xb3de7e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
Sent request URL: http://api.geonames.org/searchJSON?style=full&username=uweatherdev&name_startsWith=UbuntuCity&maxRows=25&featureClass=P
libust[3473/3476]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3473/3476]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e3aead 0xb3e3ae59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.271
[London] returning cached data, time from last fetch: 2.248
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
file:///usr/share/click/preinstalled/com.ubuntu.weather/1.1.211/components/LocationTab.qml:56: TypeError: Cannot read property 'year' of undefined
libust[3530/3533]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3530/3533]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3dd2ead 0xb3dd2e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.361
[London] returning cached data, time from last fetch: 2.339
libust[3578/3581]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3578/3581]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3578/3580]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3e24ead 0xb3e24e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.157
[London] returning cached data, time from last fetch: 2.136
libust[3626/3629]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3626/3629]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3deeead 0xb3deee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.287
[London] returning cached data, time from last fetch: 2.261
libust[3674/3677]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3674/3677]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3d88ead 0xb3d88e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.147
[London] returning cached data, time from last fetch: 2.123
Detectable autorepeat not supported. 
libust[3724/3727]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3724/3727]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
callbacks 0xb3db8ead 0xb3db8e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.449
[London] returning cached data, time from last fetch: 2.411
Detectable autorepeat not supported.
}}}

test-log: {{{
06:46:22.015 INFO globals:57 - ************************************************************
06:46:22.015 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:46:22.016 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:46:22.022 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:46:22.024 DEBUG __init__:66 - Running via click package
06:46:24.476 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 3724
06:46:25.762 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:46:26.195 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:46:26.294 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:46:26.351 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:46:27.788 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:46:28.692 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:46:28.754 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:46:29.322 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:46:29.369 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:46:29.865 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:46:30.056 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:46:30.121 INFO _launcher:258 - waiting for process to exit.
06:46:30.121 INFO _launcher:273 - Killing process 3724
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 201, in test_switch_scale_cancel
    self._check_units('metric')
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 54, in _check_units
    'QQuickText', objectName='CurrentTempText')
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 373, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 320, in select_single
    raise ValueError("More than one item was returned for query")
ValueError: More than one item was returned for query

command_type
testcase_test