Testcase: test_calendar.TestMainView.test_new_event

Build #:70:20131218:20131211.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/tmpwlznAP/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

05:45:09.126 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
05:45:09.598 INFO globals:56 - ************************************************************
05:45:09.602 INFO globals:57 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
05:45:09.606 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
05:45:09.793 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
05:45:09.795 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
05:45:13.674 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 6755
05:45:16.844 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:45:17.089 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:45:17.091 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
05:45:17.382 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:45:17.449 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('neweventbutton',). Keyword arguments: {}.
05:45:17.450 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
05:45:17.524 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:45:17.525 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:45:17.594 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:45:17.597 DEBUG _uinput:332 - Tapping at: 687,1208
05:45:17.705 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:45:18.390 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
05:45:18.677 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:45:18.888 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
05:45:19.070 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
05:45:19.655 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:45:19.657 DEBUG _uinput:332 - Tapping at: 384,332
05:45:19.846 DEBUG _uinput:135 - Typing text 'Test event 1387345518'
05:45:19.847 DEBUG _uinput:80 - Pressing T (42)
05:45:19.949 DEBUG _uinput:80 - Pressing T (20)
05:45:20.053 DEBUG _uinput:103 - Releasing T (42)
05:45:20.155 DEBUG _uinput:103 - Releasing T (20)
05:45:20.258 DEBUG _uinput:80 - Pressing e (18)
05:45:20.365 DEBUG _uinput:103 - Releasing e (18)
05:45:20.467 DEBUG _uinput:80 - Pressing s (31)
05:45:20.575 DEBUG _uinput:103 - Releasing s (31)
05:45:20.682 DEBUG _uinput:80 - Pressing t (20)
05:45:20.795 DEBUG _uinput:103 - Releasing t (20)
05:45:20.902 DEBUG _uinput:80 - Pressing (57)
05:45:21.017 DEBUG _uinput:103 - Releasing (57)
05:45:21.119 DEBUG _uinput:80 - Pressing e (18)
05:45:21.227 DEBUG _uinput:103 - Releasing e (18)
05:45:21.335 DEBUG _uinput:80 - Pressing v (47)
05:45:21.448 DEBUG _uinput:103 - Releasing v (47)
05:45:21.556 DEBUG _uinput:80 - Pressing e (18)
05:45:21.669 DEBUG _uinput:103 - Releasing e (18)
05:45:21.771 DEBUG _uinput:80 - Pressing n (49)
05:45:21.879 DEBUG _uinput:103 - Releasing n (49)
05:45:21.981 DEBUG _uinput:80 - Pressing t (20)
05:45:22.098 DEBUG _uinput:103 - Releasing t (20)
05:45:22.199 DEBUG _uinput:80 - Pressing (57)
05:45:22.307 DEBUG _uinput:103 - Releasing (57)
05:45:22.409 DEBUG _uinput:80 - Pressing 1 (2)
05:45:22.518 DEBUG _uinput:103 - Releasing 1 (2)
05:45:22.627 DEBUG _uinput:80 - Pressing 3 (4)
05:45:22.742 DEBUG _uinput:103 - Releasing 3 (4)
05:45:22.843 DEBUG _uinput:80 - Pressing 8 (9)
05:45:22.953 DEBUG _uinput:103 - Releasing 8 (9)
05:45:23.054 DEBUG _uinput:80 - Pressing 7 (8)
05:45:23.164 DEBUG _uinput:103 - Releasing 7 (8)
05:45:23.271 DEBUG _uinput:80 - Pressing 3 (4)
05:45:23.387 DEBUG _uinput:103 - Releasing 3 (4)
05:45:23.497 DEBUG _uinput:80 - Pressing 4 (5)
05:45:23.606 DEBUG _uinput:103 - Releasing 4 (5)
05:45:23.713 DEBUG _uinput:80 - Pressing 5 (6)
05:45:23.830 DEBUG _uinput:103 - Releasing 5 (6)
05:45:23.932 DEBUG _uinput:80 - Pressing 5 (6)
05:45:24.042 DEBUG _uinput:103 - Releasing 5 (6)
05:45:24.144 DEBUG _uinput:80 - Pressing 1 (2)
05:45:24.252 DEBUG _uinput:103 - Releasing 1 (2)
05:45:24.359 DEBUG _uinput:80 - Pressing 8 (9)
05:45:24.468 DEBUG _uinput:103 - Releasing 8 (9)
05:45:24.687 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:45:24.876 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
05:45:25.104 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
05:45:25.653 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:45:25.654 DEBUG _uinput:332 - Tapping at: 384,130
05:45:25.757 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:45:26.135 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
05:45:26.325 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
05:45:26.699 DEBUG _uinput:332 - Tapping at: 249,921
05:45:27.954 DEBUG _uinput:332 - Tapping at: 249,921
05:45:29.312 DEBUG _uinput:332 - Tapping at: 249,921
05:45:30.635 DEBUG _uinput:332 - Tapping at: 249,921
05:45:31.965 DEBUG _uinput:332 - Tapping at: 249,921
05:45:33.293 DEBUG _uinput:332 - Tapping at: 249,921
05:45:34.614 DEBUG _uinput:332 - Tapping at: 249,921
05:45:35.927 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
05:45:36.322 DEBUG _uinput:332 - Tapping at: 519,921
05:45:37.630 DEBUG _uinput:332 - Tapping at: 519,921
05:45:38.947 DEBUG _uinput:332 - Tapping at: 519,921
05:45:40.273 DEBUG _uinput:332 - Tapping at: 519,921
05:45:41.603 DEBUG _uinput:332 - Tapping at: 519,921
05:45:42.935 DEBUG _uinput:332 - Tapping at: 519,921
05:45:44.255 DEBUG _uinput:332 - Tapping at: 519,921
05:45:45.586 DEBUG _uinput:332 - Tapping at: 519,921
05:45:46.921 DEBUG _uinput:332 - Tapping at: 519,921
05:45:48.221 DEBUG _uinput:332 - Tapping at: 519,921
05:45:49.544 DEBUG _uinput:332 - Tapping at: 519,921
05:45:50.885 DEBUG _uinput:332 - Tapping at: 519,921
05:45:52.215 DEBUG _uinput:332 - Tapping at: 519,921
05:45:53.545 DEBUG _uinput:332 - Tapping at: 519,921
05:45:54.876 DEBUG _uinput:332 - Tapping at: 519,921
05:45:56.183 DEBUG _uinput:332 - Tapping at: 519,921
05:45:57.522 DEBUG _uinput:332 - Tapping at: 519,921
05:45:58.845 DEBUG _uinput:332 - Tapping at: 519,921
05:46:00.179 DEBUG _uinput:332 - Tapping at: 519,921
05:46:01.496 DEBUG _uinput:332 - Tapping at: 519,921
05:46:02.836 DEBUG _uinput:332 - Tapping at: 519,921
05:46:04.164 DEBUG _uinput:332 - Tapping at: 519,921
05:46:05.492 DEBUG _uinput:332 - Tapping at: 519,921
05:46:06.813 DEBUG _uinput:332 - Tapping at: 519,921
05:46:08.163 DEBUG _uinput:332 - Tapping at: 519,921
05:46:09.483 DEBUG _uinput:332 - Tapping at: 519,921
05:46:10.816 DEBUG _uinput:332 - Tapping at: 519,921
05:46:12.090 DEBUG _uinput:332 - Tapping at: 519,921
05:46:13.414 DEBUG _uinput:332 - Tapping at: 519,921
05:46:14.737 DEBUG _uinput:332 - Tapping at: 519,921
05:46:16.097 DEBUG _uinput:332 - Tapping at: 519,921
05:46:17.407 DEBUG _uinput:332 - Tapping at: 519,921
05:46:18.726 DEBUG _uinput:332 - Tapping at: 519,921
05:46:20.064 DEBUG _uinput:332 - Tapping at: 519,921
05:46:21.396 DEBUG _uinput:332 - Tapping at: 519,921
05:46:22.715 DEBUG _uinput:332 - Tapping at: 519,921
05:46:24.043 DEBUG _uinput:332 - Tapping at: 519,921
05:46:25.375 DEBUG _uinput:332 - Tapping at: 519,921
05:46:26.706 DEBUG _uinput:332 - Tapping at: 519,921
05:46:28.048 DEBUG _uinput:332 - Tapping at: 519,921
05:46:29.364 DEBUG _uinput:332 - Tapping at: 519,921
05:46:30.694 DEBUG _uinput:332 - Tapping at: 519,921
05:46:32.033 DEBUG _uinput:332 - Tapping at: 519,921
05:46:33.351 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
05:46:33.657 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:46:33.658 DEBUG _uinput:332 - Tapping at: 244,373
05:46:33.763 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:46:33.979 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
05:46:34.189 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
05:46:34.775 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:46:34.777 DEBUG _uinput:332 - Tapping at: 384,242
05:46:34.881 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:46:35.139 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
05:46:35.387 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
05:46:35.858 DEBUG _uinput:332 - Tapping at: 249,921
05:46:37.059 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
05:46:37.458 DEBUG _uinput:332 - Tapping at: 519,921
05:46:38.745 DEBUG _uinput:332 - Tapping at: 519,921
05:46:40.057 DEBUG _uinput:332 - Tapping at: 519,921
05:46:41.385 DEBUG _uinput:332 - Tapping at: 519,921
05:46:42.715 DEBUG _uinput:332 - Tapping at: 519,921
05:46:44.056 DEBUG _uinput:332 - Tapping at: 519,921
05:46:45.388 DEBUG _uinput:332 - Tapping at: 519,921
05:46:46.712 DEBUG _uinput:332 - Tapping at: 519,921
05:46:48.052 DEBUG _uinput:332 - Tapping at: 519,921
05:46:49.372 DEBUG _uinput:332 - Tapping at: 519,921
05:46:50.680 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
05:46:50.983 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:46:50.984 DEBUG _uinput:332 - Tapping at: 244,373
05:46:51.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
05:46:51.278 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
05:46:51.463 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'eventLocationInput'}
05:46:51.942 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:46:51.942 DEBUG _uinput:332 - Tapping at: 384,651
05:47:02.740 INFO testcase:540 - waiting for process to exit.
05:47:02.742 INFO testcase:542 - Killing process 6755
05:47:03.768 ERROR testresult:37 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
05:47:03.772 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