Testcase: test_refresh_tabs(with touch)

Build #:228:20140309: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_refresh_tabs(with touch)
testsuite
ubuntu_weather_app.tests.test_mainview.TestMainView
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  9 06:26:42 ubuntu-phablet kernel: [   86.447465] iio-buffer, current state requested again
Mar  9 06:26:43 ubuntu-phablet kernel: [   87.348366] iio-buffer, current state requested again
}}}

Application Log: {{{
libust[2189/2192]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2189/2192]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2189/2191]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2189/2191]: 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 0xb3dd4ead 0xb3dd4e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2240/2243]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2240/2243]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2240/2242]: 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 0xb3dc3ead 0xb3dc3e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'libust[2296/2299]: Error: Error opening shm /lttng-ust-wait-5-32011
(in get_wait_shm() at lttng-ust-comm.c:881)
libust[2296/2299]: 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 0xb3d82ead 0xb3d82e59
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: weather'Detectable autorepeat not supported. 
libust[2346/2349]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2346/2349]: 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 0xb3d8fead 0xb3d8fe59
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/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":2,"date":9,"hours":6,"minutes":26}
ICON MISSING POINT: undefined N/A
[Hamburg] {"year":2014,"month":2,"date":9,"hours":7,"minutes":26}
}}}

test-log: {{{
06:26:41.057 INFO globals:57 - ************************************************************
06:26:41.058 INFO globals:58 - Starting test ubuntu_weather_app.tests.test_mainview.TestMainView.test_refresh_tabs (with touch)
06:26:41.059 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:26:41.062 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:26:41.063 DEBUG __init__:60 - Running via click package
06:26:42.583 INFO _launcher:83 - Click package com.ubuntu.weather_weather_1.1.217 has been launched with PID 2346
06:26:44.682 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:45.059 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:45.131 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:45.172 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:26:46.569 DEBUG dbus:431 - Selecting objects of type QQuickRectangle with attributes: {'visible': True, 'objectName': 'SideLabel'}
06:26:47.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:47.519 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'DayDateLabel'}
06:26:48.057 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:48.111 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'DayDateLabel'}
06:26:48.629 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:48.684 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:26:48.685 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:26:48.727 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:26:48.767 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('RefreshButton',). Keyword arguments: {}.
06:26:48.769 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'RefreshButton'}
06:26:48.833 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:26:48.834 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:26:48.868 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:26:48.869 DEBUG _uinput:475 - Tapping at: 2230,1520
06:26:48.971 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:49.095 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:26:50.818 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:51.135 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'DayDateLabel'}
06:26:51.595 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:26:51.645 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'DayDateLabel'}
06:26:52.311 INFO _launcher:258 - waiting for process to exit.
06:26:52.312 INFO _launcher:273 - Killing process 2346
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_mainview.py", line 103, in test_refresh_tabs
    self._refresh()
  File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_mainview.py", line 99, in _refresh
    self.assertNotEqual(tab1_curr_date, refreshed_dates[0].text)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 518, in __getattr__
    self.refresh_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 472, in refresh_state
    _, new_state = self.get_new_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 562, in get_new_state
    raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: State not found for class 'Label' and filters {'id': 18}.

command_type
testcase_test