Testcase: test_calendar.TestMainView.test_new_event

Build #:69:20131217.2: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/tmpvjxQqD/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

23:20:27.308 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
23:20:27.725 INFO globals:56 - ************************************************************
23:20:27.729 INFO globals:57 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
23:20:27.731 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
23:20:27.897 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
23:20:27.898 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
23:20:31.798 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 6620
23:20:35.020 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:20:35.267 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:20:35.269 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:20:35.493 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:20:35.532 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('neweventbutton',). Keyword arguments: {}.
23:20:35.533 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
23:20:35.634 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:20:35.636 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:20:35.715 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:20:35.716 DEBUG _uinput:332 - Tapping at: 687,1208
23:20:35.818 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:20:36.539 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
23:20:36.857 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:20:37.051 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
23:20:37.265 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
23:20:37.785 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:20:37.786 DEBUG _uinput:332 - Tapping at: 384,332
23:20:37.973 DEBUG _uinput:135 - Typing text 'Test event 1387322436'
23:20:37.975 DEBUG _uinput:80 - Pressing T (42)
23:20:38.078 DEBUG _uinput:80 - Pressing T (20)
23:20:38.186 DEBUG _uinput:103 - Releasing T (42)
23:20:38.287 DEBUG _uinput:103 - Releasing T (20)
23:20:38.390 DEBUG _uinput:80 - Pressing e (18)
23:20:38.506 DEBUG _uinput:103 - Releasing e (18)
23:20:38.611 DEBUG _uinput:80 - Pressing s (31)
23:20:38.718 DEBUG _uinput:103 - Releasing s (31)
23:20:38.820 DEBUG _uinput:80 - Pressing t (20)
23:20:38.957 DEBUG _uinput:103 - Releasing t (20)
23:20:39.063 DEBUG _uinput:80 - Pressing (57)
23:20:39.170 DEBUG _uinput:103 - Releasing (57)
23:20:39.272 DEBUG _uinput:80 - Pressing e (18)
23:20:39.375 DEBUG _uinput:103 - Releasing e (18)
23:20:39.481 DEBUG _uinput:80 - Pressing v (47)
23:20:39.583 DEBUG _uinput:103 - Releasing v (47)
23:20:39.692 DEBUG _uinput:80 - Pressing e (18)
23:20:39.805 DEBUG _uinput:103 - Releasing e (18)
23:20:39.910 DEBUG _uinput:80 - Pressing n (49)
23:20:40.019 DEBUG _uinput:103 - Releasing n (49)
23:20:40.123 DEBUG _uinput:80 - Pressing t (20)
23:20:40.236 DEBUG _uinput:103 - Releasing t (20)
23:20:40.342 DEBUG _uinput:80 - Pressing (57)
23:20:40.459 DEBUG _uinput:103 - Releasing (57)
23:20:40.571 DEBUG _uinput:80 - Pressing 1 (2)
23:20:40.682 DEBUG _uinput:103 - Releasing 1 (2)
23:20:40.783 DEBUG _uinput:80 - Pressing 3 (4)
23:20:40.885 DEBUG _uinput:103 - Releasing 3 (4)
23:20:40.988 DEBUG _uinput:80 - Pressing 8 (9)
23:20:41.110 DEBUG _uinput:103 - Releasing 8 (9)
23:20:41.211 DEBUG _uinput:80 - Pressing 7 (8)
23:20:41.314 DEBUG _uinput:103 - Releasing 7 (8)
23:20:41.417 DEBUG _uinput:80 - Pressing 3 (4)
23:20:41.520 DEBUG _uinput:103 - Releasing 3 (4)
23:20:41.624 DEBUG _uinput:80 - Pressing 2 (3)
23:20:41.729 DEBUG _uinput:103 - Releasing 2 (3)
23:20:41.834 DEBUG _uinput:80 - Pressing 2 (3)
23:20:41.944 DEBUG _uinput:103 - Releasing 2 (3)
23:20:42.050 DEBUG _uinput:80 - Pressing 4 (5)
23:20:42.159 DEBUG _uinput:103 - Releasing 4 (5)
23:20:42.261 DEBUG _uinput:80 - Pressing 3 (4)
23:20:42.369 DEBUG _uinput:103 - Releasing 3 (4)
23:20:42.471 DEBUG _uinput:80 - Pressing 6 (7)
23:20:42.580 DEBUG _uinput:103 - Releasing 6 (7)
23:20:42.786 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:20:42.997 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
23:20:43.198 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
23:20:43.705 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:20:43.706 DEBUG _uinput:332 - Tapping at: 384,130
23:20:43.810 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:20:44.229 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
23:20:44.426 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
23:20:44.802 DEBUG _uinput:332 - Tapping at: 249,921
23:20:46.055 DEBUG _uinput:332 - Tapping at: 249,921
23:20:47.378 DEBUG _uinput:332 - Tapping at: 249,921
23:20:48.705 DEBUG _uinput:332 - Tapping at: 249,921
23:20:50.048 DEBUG _uinput:332 - Tapping at: 249,921
23:20:51.382 DEBUG _uinput:332 - Tapping at: 249,921
23:20:52.724 DEBUG _uinput:332 - Tapping at: 249,921
23:20:54.056 DEBUG _uinput:332 - Tapping at: 249,921
23:20:55.377 DEBUG _uinput:332 - Tapping at: 249,921
23:20:56.736 DEBUG _uinput:332 - Tapping at: 249,921
23:20:58.070 DEBUG _uinput:332 - Tapping at: 249,921
23:20:59.386 DEBUG _uinput:332 - Tapping at: 249,921
23:21:00.716 DEBUG _uinput:332 - Tapping at: 249,921
23:21:02.017 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
23:21:02.415 DEBUG _uinput:332 - Tapping at: 519,921
23:21:03.726 DEBUG _uinput:332 - Tapping at: 519,921
23:21:05.044 DEBUG _uinput:332 - Tapping at: 519,921
23:21:06.362 DEBUG _uinput:332 - Tapping at: 519,921
23:21:07.700 DEBUG _uinput:332 - Tapping at: 519,921
23:21:09.006 DEBUG _uinput:332 - Tapping at: 519,921
23:21:10.344 DEBUG _uinput:332 - Tapping at: 519,921
23:21:11.696 DEBUG _uinput:332 - Tapping at: 519,921
23:21:12.998 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
23:21:13.302 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:21:13.303 DEBUG _uinput:332 - Tapping at: 244,373
23:21:13.408 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:21:13.595 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
23:21:13.783 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
23:21:14.265 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:21:14.265 DEBUG _uinput:332 - Tapping at: 384,242
23:21:14.368 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:21:14.555 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
23:21:14.742 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
23:21:15.101 DEBUG _uinput:332 - Tapping at: 249,921
23:21:16.387 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
23:21:16.782 DEBUG _uinput:332 - Tapping at: 519,921
23:21:18.097 DEBUG _uinput:332 - Tapping at: 519,921
23:21:19.426 DEBUG _uinput:332 - Tapping at: 519,921
23:21:20.756 DEBUG _uinput:332 - Tapping at: 519,921
23:21:22.096 DEBUG _uinput:332 - Tapping at: 519,921
23:21:23.427 DEBUG _uinput:332 - Tapping at: 519,921
23:21:24.768 DEBUG _uinput:332 - Tapping at: 519,921
23:21:26.097 DEBUG _uinput:332 - Tapping at: 519,921
23:21:27.405 DEBUG _uinput:332 - Tapping at: 519,921
23:21:28.723 DEBUG _uinput:332 - Tapping at: 519,921
23:21:30.028 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
23:21:30.339 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:21:30.340 DEBUG _uinput:332 - Tapping at: 244,373
23:21:30.443 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:21:30.681 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
23:21:30.922 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'eventLocationInput'}
23:21:31.468 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:21:31.470 DEBUG _uinput:332 - Tapping at: 384,651
23:21:42.201 INFO testcase:540 - waiting for process to exit.
23:21:42.202 INFO testcase:542 - Killing process 6620
23:21:43.227 ERROR testresult:37 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
23:21:43.231 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