Testcase: test_switch_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_scale(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  8 06:29:08 ubuntu-phablet kernel: [   76.751875] iio-buffer, current state requested again
Mar  8 06:29:09 ubuntu-phablet kernel: [   77.746319] 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.
}}}

test-log: {{{
06:29:06.974 INFO globals:57 - ************************************************************
06:29:06.975 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
06:29:06.976 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:29:06.980 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:29:06.982 DEBUG __init__:60 - Running via click package
06:29:09.375 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.217 has been launched with PID 2267
06:29:10.647 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:11.246 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:11.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:11.370 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:29:12.802 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:29:13.686 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:13.737 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:29:14.264 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:29:14.320 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:29:14.778 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:29:15.013 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:29:15.085 INFO _launcher:258 - waiting for process to exit.
06:29:15.087 INFO _launcher:273 - Killing process 2267
}}}

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