Testcase: test_switch_scale(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(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  3 06:42:56 ubuntu-phablet kernel: [   75.972445] iio-buffer, current state requested again
Mar  3 06:42:56 ubuntu-phablet kernel: [   76.405242] mali mali.0: state restore latency exceeded, new value 2341500 ns
Mar  3 06:42:57 ubuntu-phablet kernel: [   76.632728] 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.
}}}

test-log: {{{
06:42:54.721 INFO globals:57 - ************************************************************
06:42:54.722 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
06:42:54.723 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:42:54.726 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:42:54.726 DEBUG __init__:66 - Running via click package
06:42:56.351 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2332
06:42:57.878 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:42:58.024 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:42:58.292 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:42:58.351 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:43:00.036 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:43:00.858 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:00.909 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:43:01.499 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:01.555 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:43:02.056 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:43:02.276 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:43:02.338 INFO _launcher:258 - waiting for process to exit.
06:43:02.339 INFO _launcher:273 - Killing process 2332
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 145, in test_switch_scale
    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