Testcase: test_switch_wind_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_wind_scale(with touch)
testsuite
ubuntu_weather_app.tests.test_settings.TestSettings
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  3 06:43:26 ubuntu-phablet ofonod[2431]: Requested file structure differs from SIM: 6fb7
Mar  3 06:43:26 ubuntu-phablet ofonod[2431]: Querying remaining pin retries failed
Mar  3 06:43:26 ubuntu-phablet kernel: [  106.208933] mali mali.0: state save latency exceeded, new value 1314833 ns
Mar  3 06:43:26 ubuntu-phablet kernel: [  106.277506] iio-buffer, current state requested again
Mar  3 06:43:27 ubuntu-phablet ofonod[2431]: SMS History Probe for modem: 0x421b48
Mar  3 06:43:27 ubuntu-phablet ofonod[2431]: Network time: Registered inteface org.ofono.NetworkTime, path /phonesim
Mar  3 06:43:27 ubuntu-phablet ofonod[2431]: Registered handle for channel 13: 0x10000
Mar  3 06:43:27 ubuntu-phablet kernel: [  107.407432] iio-buffer, current state requested again
Mar  3 06:43:28 ubuntu-phablet NetworkManager[957]: message repeated 11 times: [ <info> (/phonesim) updated available interfaces]
Mar  3 06:43:28 ubuntu-phablet NetworkManager[957]: <info> ofono: found new ConnectionManager interface
Mar  3 06:43:28 ubuntu-phablet ofonod[2431]: Registered handle for channel 1: 0x10001
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> WWAN now enabled by management service
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim) marked enabled: 1
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> trying to read IMSI contexts from oFono files
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> Auto-activating connection '/246813579/context1'.
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: reading configuration for IMSI 246813579
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add context for 246813579
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'Name': Internet
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'AccessPointName': 
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'Username': 
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'Password': 
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'Type': internet
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: add property 'Protocol': ip
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]:    SCPlugin-Ofono: found internet context 'Internet' (context1)
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): IPv4 static configuration:
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): deactivating device (reason 'none') [0]
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): IPv4 static configuration:
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
Mar  3 06:43:30 ubuntu-phablet NetworkManager[957]: <info> (/phonesim) updated available interfaces
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> Auto-activating connection '/246813579/context1'.
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) starting connection '/246813579/context1'
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) scheduled...
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) started...
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> Activation (/phonesim) Stage 1 of 5 (Device Prepare) complete.
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): IPv4 static configuration:
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: prepare -> failed (reason 'ip-config-unavailable') [40
120 5]
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <warn> Activation (/phonesim) failed for connection '/246813579/context1'
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): device state change: failed -> disconnected (reason 'none') [120 30 0]
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): deactivating device (reason 'none') [0]
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: <info> (/phonesim): IPv4 static configuration:
Mar  3 06:43:33 ubuntu-phablet NetworkManager[957]: modem_prepare_result: assertion 'state == NM_DEVICE_STATE_PREPARE' failed
}}}

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. 
libust[2390/2393]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2390/2393]: 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 0xb3e36ead 0xb3e36e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.38
[London] returning cached data, time from last fetch: 2.342
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
[Hamburg] {"year":2014,"month":2,"date":3,"hours":7,"minutes":43}
[London] {"year":2014,"month":2,"date":3,"hours":6,"minutes":43}
libust[2485/2488]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2485/2488]: 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 0xb3d5cead 0xb3d5ce59
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":3,"hours":8,"minutes":43}
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2551]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2548/2550]: 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".
callbacks 0xb3ddeead 0xb3ddee59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'[Hamburg] returning cached data, time from last fetch: 2.452
[London] returning cached data, time from last fetch: 2.425
Detectable autorepeat not supported.
}}}

test-log: {{{
06:43:25.083 INFO globals:57 - ************************************************************
06:43:25.083 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
06:43:25.085 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:43:25.088 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:43:25.089 DEBUG __init__:66 - Running via click package
06:43:27.562 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.211 has been launched with PID 2548
06:43:29.667 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:43:29.742 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:29.814 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:29.852 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:43:31.470 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:43:32.320 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:32.376 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:43:32.893 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:32.961 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:43:33.447 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:43:33.780 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:43:33.887 INFO _launcher:258 - waiting for process to exit.
06:43:33.887 INFO _launcher:273 - Killing process 2548
}}}

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 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