Testcase: test_switch_service(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_service(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  3 06:45:58 ubuntu-phablet kernel: [  257.442436] iio-buffer, current state requested again
Mar  3 06:45:58 ubuntu-phablet kernel: [  258.087668] 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
}}}

test-log: {{{
06:45:56.219 INFO globals:57 - ************************************************************
06:45:56.219 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_service (with touch)
06:45:56.220 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:45:56.224 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:45:56.225 DEBUG __init__:66 - Running via click package
06:45:57.801 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 3473
06:45:59.262 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:45:59.305 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:45:59.358 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:45:59.389 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:45:59.592 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:45:59.616 DEBUG dbus:431 - Selecting objects of type TabFooter with attributes: {'objectName': 'TabFooter'}
06:45:59.729 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:45:59.755 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:45:59.880 DEBUG dbus:431 - Selecting objects of type TabFooter with attributes: {'objectName': 'TabFooter'}
06:45:59.910 DEBUG dbus:431 - Selecting objects of type QQuickImage with attributes: {'objectName': 'DataProviderLogo'}
06:45:59.942 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:45:59.968 INFO _launcher:258 - waiting for process to exit.
06:45:59.968 INFO _launcher:273 - Killing process 3473
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 358, in test_switch_service
    self._check_service('weatherchannel')
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 132, in _check_service
    focused_item = current_location_tab.select_single('QQuickItem', focus=True)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 322, in select_single
    raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class 'QQuickItem' and filters {'focus': True}.

command_type
testcase_test