Testcase: test_switch_scale(with touch)

Build #:212:20140228.1:20140228.1
Arch:flo (Nexus 7 2013)
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: {{{
Feb 28 14:24:35 ubuntu-phablet kernel: [   73.889862] SLIM_CL: skip reconfig sequence
Feb 28 14:24:35 ubuntu-phablet kernel: [   84.148223] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e5 chan=
1, rssi = -64, countryCode US
Feb 28 14:24:36 ubuntu-phablet kernel: [   84.378479] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
6, rssi = -56, countryCode US
Feb 28 14:24:36 ubuntu-phablet kernel: [   84.819488] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
36, rssi = -67, countryCode US
Feb 28 14:24:36 ubuntu-phablet kernel: [   84.819671] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
36, rssi = -66, countryCode US
Feb 28 14:24:37 ubuntu-phablet kernel: [   85.249114] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:db:4f chan=
149, rssi = -82, countryCode US
Feb 28 14:24:37 ubuntu-phablet kernel: [   85.249328] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:4f chan=
149, rssi = -60, countryCode US
Feb 28 14:24:37 ubuntu-phablet kernel: [   85.419219] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -51, countryCode US
Feb 28 14:24:37 ubuntu-phablet kernel: [   85.419464] wlan: [1151:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -50, countryCode US
Feb 28 14:24:39 ubuntu-phablet kernel: [   87.743286] wlan: [1151:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.024597] bq27541_get_psp voltage_now= 4118000 uV
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.025909] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.027343] bq27541_get_psp current = -5 mA
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.028350] bq27541_get_psp voltage_now= 4118000 uV
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.028991] bq27541_get_capacity = 88% ret= 87
Feb 28 14:24:45 ubuntu-phablet kernel: [   94.029632] bq27541_get_psp temperature= 202 (0.1¢XC)
Feb 28 14:24:49 ubuntu-phablet kernel: [   97.258117] init: ofono pre-start process (678) terminated with status 1
Feb 28 14:24:49 ubuntu-phablet ofonod[3038]: oFono version 1.12
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> ofono is now available
Feb 28 14:24:49 ubuntu-phablet ofonod[3038]: Excluding RIL modem driver
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <warn> could not mark modem as powered: org.ofono.Error.Failed Operation failed
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <warn> (/phonesim): failed to look up interface index
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): new Ofono device (driver: 'ofono' ifindex: 0)
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): exported as /org/freedesktop/NetworkManager/Devices/1
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): deactivating device (reason 'managed') [2]
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <warn> could not mark modem as powered: org.ofono.Error.Failed Operation failed
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <warn> modem with path /phonesim already exists, ignoring
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim) updated available interfaces
Feb 28 14:24:49 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
}}}

Application Log: {{{
libust[2807/2810]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2807/2810]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2807/2809]: 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 0xb3d93ead 0xb3d93e59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: weather'QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
libust[2889/2892]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2889/2892]: 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 0xb3dbfead 0xb3dbfe59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: weather'QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
libust[2970/2973]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2970/2973]: 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 0xb3dc8ead 0xb3dc8e59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 3.035
[London] returning cached data, time from last fetch: 2.988
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
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
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
"
}}}

test-log: {{{
14:24:34.888 INFO globals:57 - ************************************************************
14:24:34.889 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
14:24:34.890 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
14:24:34.893 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
14:24:34.895 DEBUG __init__:66 - Running via click package
14:24:37.898 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2970
14:24:38.644 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
14:24:38.716 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:24:38.773 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:24:38.801 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
14:24:38.953 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:24:38.981 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
14:24:39.163 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:40.199 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:41.287 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:42.392 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:43.503 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:44.538 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:45.626 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:46.722 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:47.830 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:48.904 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
14:24:48.990 INFO _launcher:258 - waiting for process to exit.
14:24:48.991 INFO _launcher:273 - Killing process 2970
}}}

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 52, in _check_units
    'QQuickItem', focus=True)
  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 322, in select_single
    raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class 'QQuickItem' and filters {'focus': True}.

command_type
testcase_test