Testcase: test_timer.TestTimer.test_run_preset

Build #:133:20140117:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_timer.TestTimer.test_run_preset
testsuite
/tmp/tmpCh9ZPE/testsuites/ubuntu-clock-app-autopilot
returncode
1
command
autopilot-run ubuntu_clock_app.tests.test_timer.TestTimer.test_run_preset
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

06:40:26.222 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
06:40:26.245 INFO globals:56 - ************************************************************
06:40:26.246 INFO globals:57 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_run_preset
06:40:26.246 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:40:26.400 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:40:26.697 DEBUG __init__:107 - Backed up database
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.clock_clock_1.0.283
06:40:30.631 INFO testcase:352 - Click package com.ubuntu.clock_clock_1.0.283 has been launched with PID 6661
06:40:32.966 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:33.108 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:33.144 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
06:40:33.145 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:40:33.181 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:40:33.399 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:40:33.399 DEBUG emulators:136 - Switch to tab with index 2.
06:40:33.400 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:40:33.446 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:40:33.570 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:40:33.772 DEBUG emulators:145 - Current tab index: 0.
06:40:33.773 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:33.774 DEBUG emulators:121 - Switch to next tab.
06:40:33.775 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:40:34.348 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:34.349 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
06:40:34.370 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:34.390 DEBUG emulators:345 - Already in selection mode.
06:40:34.391 DEBUG emulators:340 - Click the next tab bar button.
06:40:34.392 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
06:40:34.469 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:40:34.576 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:40:34.899 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:34.901 DEBUG _uinput:332 - Tapping at: 383,125
06:40:35.003 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
06:40:36.279 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:40:36.354 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:40:36.562 DEBUG emulators:145 - Current tab index: 1.
06:40:36.563 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:36.564 DEBUG emulators:121 - Switch to next tab.
06:40:36.565 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:40:37.129 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:37.130 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
06:40:37.163 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:37.191 DEBUG emulators:348 - Click the tab bar to enable selection mode.
06:40:37.214 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:37.214 DEBUG _uinput:332 - Tapping at: 384,125
06:40:37.316 DEBUG emulators:340 - Click the next tab bar button.
06:40:37.317 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
06:40:37.380 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:40:37.500 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:40:38.086 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:38.088 DEBUG _uinput:332 - Tapping at: 398,125
06:40:38.192 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
06:40:39.375 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:40:39.455 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:40:39.710 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:39.747 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:40:39.747 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:40:39.784 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:40:39.825 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:39.862 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:40:39.898 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addPresetButton',). Keyword arguments: {}.
06:40:39.900 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addPresetButton'}
06:40:40.019 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:40.021 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:40:40.082 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:40.083 DEBUG _uinput:332 - Tapping at: 687,1208
06:40:40.188 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:40.330 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:40.375 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:40.484 DEBUG _uinput:366 - Dragging from 384,579 to 384,232
06:40:40.717 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:40:42.684 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:40:42.797 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:42.836 DEBUG dbus:431 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
06:40:43.587 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:43.589 DEBUG _uinput:332 - Tapping at: 384,604
06:40:44.873 DEBUG _uinput:135 - Typing text 'test'
06:40:44.874 DEBUG _uinput:80 - Pressing t (20)
06:40:44.982 DEBUG _uinput:103 - Releasing t (20)
06:40:45.084 DEBUG _uinput:80 - Pressing e (18)
06:40:45.186 DEBUG _uinput:103 - Releasing e (18)
06:40:45.288 DEBUG _uinput:80 - Pressing s (31)
06:40:45.390 DEBUG _uinput:103 - Releasing s (31)
06:40:45.492 DEBUG _uinput:80 - Pressing t (20)
06:40:45.595 DEBUG _uinput:103 - Releasing t (20)
06:40:45.830 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:45.895 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:45.930 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:45.987 DEBUG _uinput:366 - Dragging from 384,579 to 384,926
06:40:46.215 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:40:46.285 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:46.321 DEBUG dbus:431 - Selecting objects of type AnalogTouchHand with attributes: {'objectName': 'minuteHand'}
06:40:47.097 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:47.134 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'labelTimer'}
06:40:47.770 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:47.772 DEBUG _uinput:332 - Tapping at: 384,244
06:40:48.974 DEBUG _uinput:366 - Dragging from 384,42 to 672,474
06:40:49.214 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:49.251 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:49.300 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:49.414 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:49.496 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:40:49.544 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('savePresetButton',). Keyword arguments: {}.
06:40:49.545 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'savePresetButton'}
06:40:49.653 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:49.654 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:40:49.724 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:40:49.725 DEBUG _uinput:332 - Tapping at: 579,1208
06:40:49.827 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:40:49.889 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:49.991 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:51.096 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:51.157 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:52.241 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:52.321 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:53.473 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:53.540 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:54.638 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:54.678 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:55.810 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:55.898 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:57.065 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:57.150 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:58.275 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:58.338 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:40:59.471 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:40:59.560 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:41:00.648 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:41:00.743 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:41:01.821 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:41:01.906 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:41:02.006 INFO testcase:540 - waiting for process to exit.
06:41:02.007 INFO testcase:542 - Killing process 6661
06:41:03.028 ERROR testresult:37 - FAIL: ubuntu_clock_app.tests.test_timer.TestTimer.test_run_preset
06:41:03.032 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_timer.py", line 97, in test_run_preset
self.test_add_preset()
File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_timer.py", line 91, in test_add_preset
Eventually(Equals(num_of_presets_old + 1)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test failed: 4 != 3
}}}
ADB_RC=1
command_type
testcase_test