Testcase: test_calendar.TestMainView.test_new_event

Build #:72:20131218.2:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch_custom
Artifacts
Console Log

Test case data

testcase
test_calendar.TestMainView.test_new_event
testsuite
/tmp/tmpJ1mLDV/testsuites/calendar-app-autopilot
returncode
1
command
autopilot-run calendar_app.tests.test_calendar.TestMainView.test_new_event
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

22:13:59.795 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
22:14:00.224 INFO globals:56 - ************************************************************
22:14:00.226 INFO globals:57 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
22:14:00.228 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
22:14:00.376 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
22:14:00.378 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
22:14:03.243 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 6795
22:14:07.486 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:07.704 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:14:07.706 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:14:07.924 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:14:07.971 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('neweventbutton',). Keyword arguments: {}.
22:14:07.972 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
22:14:08.085 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:08.086 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:14:08.195 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:08.199 DEBUG _uinput:332 - Tapping at: 687,1208
22:14:08.306 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:09.058 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
22:14:09.333 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:09.551 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
22:14:09.774 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
22:14:10.290 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:10.291 DEBUG _uinput:332 - Tapping at: 384,332
22:14:10.484 DEBUG _uinput:135 - Typing text 'Test event 1387404849'
22:14:10.485 DEBUG _uinput:80 - Pressing T (42)
22:14:10.586 DEBUG _uinput:80 - Pressing T (20)
22:14:10.688 DEBUG _uinput:103 - Releasing T (42)
22:14:10.790 DEBUG _uinput:103 - Releasing T (20)
22:14:10.893 DEBUG _uinput:80 - Pressing e (18)
22:14:11.000 DEBUG _uinput:103 - Releasing e (18)
22:14:11.102 DEBUG _uinput:80 - Pressing s (31)
22:14:11.210 DEBUG _uinput:103 - Releasing s (31)
22:14:11.316 DEBUG _uinput:80 - Pressing t (20)
22:14:11.429 DEBUG _uinput:103 - Releasing t (20)
22:14:11.535 DEBUG _uinput:80 - Pressing (57)
22:14:11.649 DEBUG _uinput:103 - Releasing (57)
22:14:11.755 DEBUG _uinput:80 - Pressing e (18)
22:14:11.869 DEBUG _uinput:103 - Releasing e (18)
22:14:11.976 DEBUG _uinput:80 - Pressing v (47)
22:14:12.090 DEBUG _uinput:103 - Releasing v (47)
22:14:12.195 DEBUG _uinput:80 - Pressing e (18)
22:14:12.304 DEBUG _uinput:103 - Releasing e (18)
22:14:12.410 DEBUG _uinput:80 - Pressing n (49)
22:14:12.523 DEBUG _uinput:103 - Releasing n (49)
22:14:12.630 DEBUG _uinput:80 - Pressing t (20)
22:14:12.743 DEBUG _uinput:103 - Releasing t (20)
22:14:12.845 DEBUG _uinput:80 - Pressing (57)
22:14:12.953 DEBUG _uinput:103 - Releasing (57)
22:14:13.060 DEBUG _uinput:80 - Pressing 1 (2)
22:14:13.174 DEBUG _uinput:103 - Releasing 1 (2)
22:14:13.276 DEBUG _uinput:80 - Pressing 3 (4)
22:14:13.386 DEBUG _uinput:103 - Releasing 3 (4)
22:14:13.488 DEBUG _uinput:80 - Pressing 8 (9)
22:14:13.596 DEBUG _uinput:103 - Releasing 8 (9)
22:14:13.703 DEBUG _uinput:80 - Pressing 7 (8)
22:14:13.816 DEBUG _uinput:103 - Releasing 7 (8)
22:14:13.917 DEBUG _uinput:80 - Pressing 4 (5)
22:14:14.018 DEBUG _uinput:103 - Releasing 4 (5)
22:14:14.120 DEBUG _uinput:80 - Pressing 0 (11)
22:14:14.223 DEBUG _uinput:103 - Releasing 0 (11)
22:14:14.329 DEBUG _uinput:80 - Pressing 4 (5)
22:14:14.445 DEBUG _uinput:103 - Releasing 4 (5)
22:14:14.558 DEBUG _uinput:80 - Pressing 8 (9)
22:14:14.666 DEBUG _uinput:103 - Releasing 8 (9)
22:14:14.768 DEBUG _uinput:80 - Pressing 4 (5)
22:14:14.876 DEBUG _uinput:103 - Releasing 4 (5)
22:14:14.982 DEBUG _uinput:80 - Pressing 9 (10)
22:14:15.090 DEBUG _uinput:103 - Releasing 9 (10)
22:14:15.310 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:15.506 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
22:14:15.750 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
22:14:16.295 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:16.296 DEBUG _uinput:332 - Tapping at: 384,130
22:14:16.399 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:16.832 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
22:14:17.030 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
22:14:17.416 DEBUG _uinput:332 - Tapping at: 249,921
22:14:18.721 DEBUG _uinput:332 - Tapping at: 249,921
22:14:20.040 DEBUG _uinput:332 - Tapping at: 249,921
22:14:21.363 DEBUG _uinput:332 - Tapping at: 249,921
22:14:22.680 DEBUG _uinput:332 - Tapping at: 249,921
22:14:24.011 DEBUG _uinput:332 - Tapping at: 249,921
22:14:25.340 DEBUG _uinput:332 - Tapping at: 249,921
22:14:26.652 DEBUG _uinput:332 - Tapping at: 249,921
22:14:27.982 DEBUG _uinput:332 - Tapping at: 249,921
22:14:29.313 DEBUG _uinput:332 - Tapping at: 249,921
22:14:30.646 DEBUG _uinput:332 - Tapping at: 249,921
22:14:31.976 DEBUG _uinput:332 - Tapping at: 249,921
22:14:33.290 DEBUG _uinput:332 - Tapping at: 249,921
22:14:34.619 DEBUG _uinput:332 - Tapping at: 249,921
22:14:35.980 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
22:14:36.360 DEBUG _uinput:332 - Tapping at: 519,921
22:14:37.628 DEBUG _uinput:332 - Tapping at: 519,921
22:14:38.940 DEBUG _uinput:332 - Tapping at: 519,921
22:14:40.269 DEBUG _uinput:332 - Tapping at: 519,921
22:14:41.601 DEBUG _uinput:332 - Tapping at: 519,921
22:14:42.934 DEBUG _uinput:332 - Tapping at: 519,921
22:14:44.262 DEBUG _uinput:332 - Tapping at: 519,921
22:14:45.590 DEBUG _uinput:332 - Tapping at: 519,921
22:14:46.913 DEBUG _uinput:332 - Tapping at: 519,921
22:14:48.259 DEBUG _uinput:332 - Tapping at: 519,921
22:14:49.590 DEBUG _uinput:332 - Tapping at: 519,921
22:14:50.923 DEBUG _uinput:332 - Tapping at: 519,921
22:14:52.242 DEBUG _uinput:332 - Tapping at: 519,921
22:14:53.561 DEBUG _uinput:332 - Tapping at: 519,921
22:14:54.864 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
22:14:55.168 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:55.169 DEBUG _uinput:332 - Tapping at: 244,373
22:14:55.275 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:55.464 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
22:14:55.653 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
22:14:56.162 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:14:56.163 DEBUG _uinput:332 - Tapping at: 384,242
22:14:56.265 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:14:56.461 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
22:14:56.653 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
22:14:57.015 DEBUG _uinput:332 - Tapping at: 249,921
22:14:58.281 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
22:14:58.696 DEBUG _uinput:332 - Tapping at: 519,921
22:15:00.020 DEBUG _uinput:332 - Tapping at: 519,921
22:15:01.360 DEBUG _uinput:332 - Tapping at: 519,921
22:15:02.688 DEBUG _uinput:332 - Tapping at: 519,921
22:15:04.018 DEBUG _uinput:332 - Tapping at: 519,921
22:15:05.340 DEBUG _uinput:332 - Tapping at: 519,921
22:15:06.662 DEBUG _uinput:332 - Tapping at: 519,921
22:15:07.990 DEBUG _uinput:332 - Tapping at: 519,921
22:15:09.323 DEBUG _uinput:332 - Tapping at: 519,921
22:15:10.630 DEBUG _uinput:332 - Tapping at: 519,921
22:15:11.958 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
22:15:12.263 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:15:12.265 DEBUG _uinput:332 - Tapping at: 244,373
22:15:12.369 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:15:12.621 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
22:15:12.860 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'eventLocationInput'}
22:15:13.461 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:15:13.464 DEBUG _uinput:332 - Tapping at: 384,651
22:15:24.277 INFO testcase:540 - waiting for process to exit.
22:15:24.278 INFO testcase:542 - Killing process 6795
22:15:25.296 ERROR testresult:37 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
22:15:25.300 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 82, in test_new_event
self.assertThat(location_field.activeFocus, Eventually(Equals(True)))
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 on NewEventEntryField.activeFocus failed: True != dbus.Boolean(False, variant_level=1)
}}}
ADB_RC=1
command_type
testcase_test