Testcase: test_timer.TestTimer.test_add_preset

Build #:131:20140116:20140115.1
Arch:maguro (Galaxy Nexus)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

06:28:10.383 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
06:28:10.408 INFO globals:56 - ************************************************************
06:28:10.409 INFO globals:57 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_add_preset
06:28:10.410 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:28:10.579 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:28:10.911 DEBUG __init__:107 - Backed up database
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.clock_clock_1.0.283
06:28:13.720 INFO testcase:352 - Click package com.ubuntu.clock_clock_1.0.283 has been launched with PID 2919
06:28:16.727 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:16.793 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:16.829 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
06:28:16.830 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:28:16.944 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:28:17.163 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:28:17.164 DEBUG emulators:136 - Switch to tab with index 2.
06:28:17.164 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:28:17.199 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:28:17.318 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:28:17.485 DEBUG emulators:145 - Current tab index: 0.
06:28:17.486 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:17.487 DEBUG emulators:121 - Switch to next tab.
06:28:17.488 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:28:17.932 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:17.933 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
06:28:17.953 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:17.974 DEBUG emulators:345 - Already in selection mode.
06:28:17.975 DEBUG emulators:340 - Click the next tab bar button.
06:28:17.976 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
06:28:18.032 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:28:18.128 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:28:18.437 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:18.438 DEBUG _uinput:332 - Tapping at: 383,125
06:28:18.541 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
06:28:19.765 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:28:19.837 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:28:20.030 DEBUG emulators:145 - Current tab index: 1.
06:28:20.031 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:20.032 DEBUG emulators:121 - Switch to next tab.
06:28:20.033 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:28:20.458 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:20.459 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
06:28:20.478 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:28:20.502 DEBUG emulators:348 - Click the tab bar to enable selection mode.
06:28:20.522 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:20.523 DEBUG _uinput:332 - Tapping at: 360,125
06:28:20.625 DEBUG emulators:340 - Click the next tab bar button.
06:28:20.626 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
06:28:20.720 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:28:20.830 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:28:21.199 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:21.201 DEBUG _uinput:332 - Tapping at: 398,125
06:28:21.304 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
06:28:22.487 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:28:22.560 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:28:22.770 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:22.802 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:28:22.803 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:28:22.834 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:28:22.872 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:22.911 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:28:22.950 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addPresetButton',). Keyword arguments: {}.
06:28:22.952 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addPresetButton'}
06:28:23.035 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:23.036 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:28:23.100 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:23.101 DEBUG _uinput:332 - Tapping at: 639,1208
06:28:23.203 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:23.293 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:23.343 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:23.420 DEBUG _uinput:366 - Dragging from 360,579 to 360,232
06:28:23.657 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:28:25.366 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:28:25.481 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:25.527 DEBUG dbus:431 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
06:28:25.984 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:25.985 DEBUG _uinput:332 - Tapping at: 360,587
06:28:27.240 DEBUG _uinput:135 - Typing text 'test'
06:28:27.243 DEBUG _uinput:80 - Pressing t (20)
06:28:27.345 DEBUG _uinput:103 - Releasing t (20)
06:28:27.447 DEBUG _uinput:80 - Pressing e (18)
06:28:27.549 DEBUG _uinput:103 - Releasing e (18)
06:28:27.652 DEBUG _uinput:80 - Pressing s (31)
06:28:27.754 DEBUG _uinput:103 - Releasing s (31)
06:28:27.857 DEBUG _uinput:80 - Pressing t (20)
06:28:27.959 DEBUG _uinput:103 - Releasing t (20)
06:28:28.158 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:28.204 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:28.235 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:28.287 DEBUG _uinput:366 - Dragging from 360,579 to 360,926
06:28:28.518 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
06:28:28.606 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:28.654 DEBUG dbus:431 - Selecting objects of type AnalogTouchHand with attributes: {'objectName': 'minuteHand'}
06:28:29.092 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:29.123 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'labelTimer'}
06:28:29.527 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:29.528 DEBUG _uinput:332 - Tapping at: 360,227
06:28:30.722 DEBUG _uinput:366 - Dragging from 360,25 to 648,457
06:28:30.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:30.993 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:31.026 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:31.138 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:31.175 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:28:31.220 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('savePresetButton',). Keyword arguments: {}.
06:28:31.221 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'savePresetButton'}
06:28:31.314 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:31.314 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:28:31.402 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:28:31.403 DEBUG _uinput:332 - Tapping at: 531,1208
06:28:31.506 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:28:31.559 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:31.596 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:32.683 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:32.753 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:33.849 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:33.911 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:35.030 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:35.093 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:36.206 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:36.268 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:37.402 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:37.474 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:38.610 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:38.676 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:39.789 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:39.855 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:40.985 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:41.044 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:42.145 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:42.200 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:43.319 DEBUG dbus:431 - Selecting objects of type TimerPage with attributes: {}
06:28:43.380 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
06:28:43.503 INFO testcase:540 - waiting for process to exit.
06:28:43.504 INFO testcase:542 - Killing process 2919
06:28:44.527 ERROR testresult:37 - FAIL: ubuntu_clock_app.tests.test_timer.TestTimer.test_add_preset
06:28:44.528 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
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