Testcase: test_switch_wind_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_wind_scale(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Auto-activating connection '/246813579/context1'.
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): IPv4 static configuration:
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> Marking connection '/246813579/context1' invalid.
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Feb 28 14:25:12 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): deactivating device (reason 'none') [0]
Feb 28 14:25:13 ubuntu-phablet NetworkManager[1083]: <info> (/phonesim): IPv4 static configuration:
Feb 28 14:25:13 ubuntu-phablet NetworkManager[1083]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.007324] bq27541_get_psp voltage_now= 4081000 uV
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.008636] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.010131] bq27541_get_psp current = -344 mA
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.010772] bq27541_get_psp voltage_now= 4081000 uV
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.011413] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:15 ubuntu-phablet kernel: [  124.012054] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.333679] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.334228] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.334777] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.335357] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.335906] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.337036] bq27541_get_psp current = -315 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.337860] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.338745] bq27541_get_psp status: Charging ret= 0x1002
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.339141] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.339843] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.341033] bq27541_get_capacity check capacity, cap = 65221, smb_retry = 0
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.341461] bq27541_get_psp current = 469 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.342254] bq27541_get_capacity check capacity, cap = 2933, smb_retry = 1
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.342681] bq27541_get_psp error: temperature ret=4098, old_temp=203 
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.342681] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.343719] bq27541_get_capacity check capacity, cap = 257, smb_retry = 2
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.343749] bq27541_get_capacity use old capacity=88
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.344116] bq27541_get_psp status: Charging ret= 0x0d39
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.344482] healthd: battery l=88 v=4098 t=20.3 h=2 st=2 c=0 chg=u
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.344665] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.345794] bq27541_get_psp current = -315 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.348968] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.349517] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.350097] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.350646] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.351776] bq27541_get_psp current = -315 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.353057] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.353607] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.354156] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.354705] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.356140] bq27541_get_psp current = -315 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.357727] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.359466] bq27541_get_psp status: Charging ret= 0x0101
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.360961] bq27541_get_psp current = -315 mA
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.361633] bq27541_get_psp voltage_now= 4098000 uV
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.362274] bq27541_get_capacity = 88% ret= 87
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.362915] bq27541_get_psp temperature= 203 (0.1¢XC)
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.425872] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.426147] smb345_charger: [smb345_config_thermal_charging] temp=20, volt=4081000
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.426513] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Feb 28 14:25:16 ubuntu-phablet kernel: [  124.427032] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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.
" 
libust[3135/3138]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3135/3138]: 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 0xb3d6aead 0xb3d6ae59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 3.411
[London] returning cached data, time from last fetch: 3.321
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.
" 
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":1,"date":28,"hours":14,"minutes":24}
[Hamburg] {"year":2014,"month":1,"date":28,"hours":15,"minutes":24}
libust[3282/3285]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3282/3285]: 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 0xb3d85ead 0xb3d85e59
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.
" 
Detectable autorepeat not supported. 
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.
" 
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":1,"date":28,"hours":16,"minutes":25}
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
libust[3419/3422]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3419/3422]: 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 0xb3d5eead 0xb3d5ee59
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 3.159
[London] returning cached data, time from last fetch: 3.097
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:25:12.557 INFO globals:57 - ************************************************************
14:25:12.557 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
14:25:12.558 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
14:25:12.562 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
14:25:12.563 DEBUG __init__:66 - Running via click package
14:25:15.886 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 3419
14:25:16.615 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
14:25:16.669 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:25:16.719 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:25:16.743 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
14:25:16.891 INFO _launcher:258 - waiting for process to exit.
14:25:16.892 INFO _launcher:273 - Killing process 3419
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 243, in test_switch_wind_scale
    self._check_wind_units('kmh')
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 75, in _check_wind_units
    Eventually(Not(Is(None))))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 404, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 454, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 113, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 129, in _callable_wait_for
    new_value = refresh_fn()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_settings.py", line 74, in <lambda>
    self.assertThat(lambda: self.main_window.select_many('WeatherDetailComponent', objectName='WindSpeedValue')[0],
IndexError: list index out of range

command_type
testcase_test