Testcase: test_switch_wind_scale(with touch)

Build #:227:20140308:20140304
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_wind_scale(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  8 06:29:37 ubuntu-phablet kernel: [  105.306290] iio-buffer, current state requested again
Mar  8 06:29:38 ubuntu-phablet kernel: [  106.066560] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2155/2157]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2155/2157]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2155/2158]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2155/2158]: 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 0xb3d97ead 0xb3d97e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2211/2214]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2211/2214]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2211/2213]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2211/2213]: 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 0xb3dcdead 0xb3dcde59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2267/2270]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2267/2270]: 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 0xb3d95ead 0xb3d95e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2317/2320]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2317/2320]: 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 0xb3d71ead 0xb3d71e59
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/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
[London] {"year":2014,"month":2,"date":8,"hours":6,"minutes":29}
[Hamburg] {"year":2014,"month":2,"date":8,"hours":7,"minutes":29}
libust[2373/2375]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2373/2375]: 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 0xb3d44ead 0xb3d44e59
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":8,"hours":8,"minutes":29}
libust[2425/2428]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2425/2428]: 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'Detectable autorepeat not supported.
}}}

test-log: {{{
06:29:35.531 INFO globals:57 - ************************************************************
06:29:35.532 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
06:29:35.534 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:29:35.538 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:29:35.539 DEBUG __init__:60 - Running via click package
06:29:37.204 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.217 has been launched with PID 2425
06:29:38.648 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:38.791 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:38.896 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:38.956 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:29:40.451 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:29:41.869 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:29:42.526 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:42.626 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:29:43.139 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:43.198 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:29:43.683 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:29:43.968 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:29:44.051 INFO _launcher:258 - waiting for process to exit.
06:29:44.052 INFO _launcher:273 - Killing process 2425
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 241, in test_switch_wind_scale
    self._check_wind_units('kmh')
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 81, in _check_wind_units
    'WeatherDetailComponent', objectName='WindSpeedValue')
  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