Testcase: test_calendar.TestMainView.test_new_event

Build #:74:20131219.1: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/tmpVYSb2o/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

14:45:53.692 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
14:45:54.114 INFO globals:56 - ************************************************************
14:45:54.115 INFO globals:57 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
14:45:54.116 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
14:45:54.270 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
14:45:54.272 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
14:45:58.216 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 10409
14:46:01.211 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.542: DBusException("Could not get PID of name ':1.542': no such
name",)
14:46:01.935 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:46:02.168 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
14:46:02.170 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
14:46:02.391 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
14:46:02.432 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('neweventbutton',). Keyword arguments: {}.
14:46:02.433 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
14:46:02.514 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:46:02.515 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
14:46:02.645 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:46:02.646 DEBUG _uinput:332 - Tapping at: 687,1208
14:46:02.748 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:46:03.582 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
14:46:03.859 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:46:04.081 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
14:46:04.306 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
14:46:04.870 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:46:04.871 DEBUG _uinput:332 - Tapping at: 384,332
14:46:05.042 DEBUG _uinput:135 - Typing text 'Test event 1387464363'
14:46:05.043 DEBUG _uinput:80 - Pressing T (42)
14:46:05.144 DEBUG _uinput:80 - Pressing T (20)
14:46:05.247 DEBUG _uinput:103 - Releasing T (42)
14:46:05.355 DEBUG _uinput:103 - Releasing T (20)
14:46:05.461 DEBUG _uinput:80 - Pressing e (18)
14:46:05.562 DEBUG _uinput:103 - Releasing e (18)
14:46:05.663 DEBUG _uinput:80 - Pressing s (31)
14:46:05.766 DEBUG _uinput:103 - Releasing s (31)
14:46:05.868 DEBUG _uinput:80 - Pressing t (20)
14:46:05.972 DEBUG _uinput:103 - Releasing t (20)
14:46:06.074 DEBUG _uinput:80 - Pressing (57)
14:46:06.182 DEBUG _uinput:103 - Releasing (57)
14:46:06.286 DEBUG _uinput:80 - Pressing e (18)
14:46:06.390 DEBUG _uinput:103 - Releasing e (18)
14:46:06.491 DEBUG _uinput:80 - Pressing v (47)
14:46:06.592 DEBUG _uinput:103 - Releasing v (47)
14:46:06.693 DEBUG _uinput:80 - Pressing e (18)
14:46:06.800 DEBUG _uinput:103 - Releasing e (18)
14:46:06.904 DEBUG _uinput:80 - Pressing n (49)
14:46:07.011 DEBUG _uinput:103 - Releasing n (49)
14:46:07.113 DEBUG _uinput:80 - Pressing t (20)
14:46:07.225 DEBUG _uinput:103 - Releasing t (20)
14:46:07.327 DEBUG _uinput:80 - Pressing (57)
14:46:07.436 DEBUG _uinput:103 - Releasing (57)
14:46:07.537 DEBUG _uinput:80 - Pressing 1 (2)
14:46:07.641 DEBUG _uinput:103 - Releasing 1 (2)
14:46:07.745 DEBUG _uinput:80 - Pressing 3 (4)
14:46:07.852 DEBUG _uinput:103 - Releasing 3 (4)
14:46:07.955 DEBUG _uinput:80 - Pressing 8 (9)
14:46:08.056 DEBUG _uinput:103 - Releasing 8 (9)
14:46:08.160 DEBUG _uinput:80 - Pressing 7 (8)
14:46:08.261 DEBUG _uinput:103 - Releasing 7 (8)
14:46:08.362 DEBUG _uinput:80 - Pressing 4 (5)
14:46:08.464 DEBUG _uinput:103 - Releasing 4 (5)
14:46:08.567 DEBUG _uinput:80 - Pressing 6 (7)
14:46:08.680 DEBUG _uinput:103 - Releasing 6 (7)
14:46:08.784 DEBUG _uinput:80 - Pressing 4 (5)
14:46:08.886 DEBUG _uinput:103 - Releasing 4 (5)
14:46:08.989 DEBUG _uinput:80 - Pressing 3 (4)
14:46:09.092 DEBUG _uinput:103 - Releasing 3 (4)
14:46:09.194 DEBUG _uinput:80 - Pressing 6 (7)
14:46:09.302 DEBUG _uinput:103 - Releasing 6 (7)
14:46:09.405 DEBUG _uinput:80 - Pressing 3 (4)
14:46:09.509 DEBUG _uinput:103 - Releasing 3 (4)
14:46:09.716 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:46:09.921 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
14:46:10.118 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
14:46:10.620 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:46:10.621 DEBUG _uinput:332 - Tapping at: 384,130
14:46:10.727 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:46:11.166 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
14:46:11.396 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
14:46:11.871 DEBUG _uinput:332 - Tapping at: 249,921
14:46:13.117 DEBUG _uinput:332 - Tapping at: 249,921
14:46:14.400 DEBUG _uinput:332 - Tapping at: 249,921
14:46:15.724 DEBUG _uinput:332 - Tapping at: 249,921
14:46:16.961 DEBUG _uinput:332 - Tapping at: 249,921
14:46:18.221 DEBUG _uinput:332 - Tapping at: 249,921
14:46:19.474 DEBUG _uinput:332 - Tapping at: 249,921
14:46:20.726 DEBUG _uinput:332 - Tapping at: 249,921
14:46:21.967 DEBUG _uinput:332 - Tapping at: 249,921
14:46:23.223 DEBUG _uinput:332 - Tapping at: 249,921
14:46:24.599 DEBUG _uinput:332 - Tapping at: 249,921
14:46:25.905 DEBUG _uinput:332 - Tapping at: 249,921
14:46:27.165 DEBUG _uinput:332 - Tapping at: 249,921
14:46:28.455 DEBUG _uinput:332 - Tapping at: 249,921
14:46:29.714 DEBUG _uinput:332 - Tapping at: 249,921
14:46:30.998 DEBUG _uinput:332 - Tapping at: 249,921
14:46:32.308 DEBUG _uinput:332 - Tapping at: 249,921
14:46:33.581 DEBUG _uinput:332 - Tapping at: 249,921
14:46:34.859 DEBUG _uinput:332 - Tapping at: 249,921
14:46:36.151 DEBUG _uinput:332 - Tapping at: 249,921
14:46:37.414 DEBUG _uinput:332 - Tapping at: 249,921
14:46:38.658 DEBUG _uinput:332 - Tapping at: 249,921
14:46:39.866 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
14:46:40.291 DEBUG _uinput:332 - Tapping at: 519,921
14:46:41.564 DEBUG _uinput:332 - Tapping at: 519,921
14:46:42.792 DEBUG _uinput:332 - Tapping at: 519,921
14:46:44.067 DEBUG _uinput:332 - Tapping at: 519,921
14:46:45.394 DEBUG _uinput:332 - Tapping at: 519,921
14:46:46.703 DEBUG _uinput:332 - Tapping at: 519,921
14:46:47.971 DEBUG _uinput:332 - Tapping at: 519,921
14:46:49.192 DEBUG _uinput:332 - Tapping at: 519,921
14:46:50.423 DEBUG _uinput:332 - Tapping at: 519,921
14:46:51.707 DEBUG _uinput:332 - Tapping at: 519,921
14:46:52.956 DEBUG _uinput:332 - Tapping at: 519,921
14:46:54.255 DEBUG _uinput:332 - Tapping at: 519,921
14:46:55.516 DEBUG _uinput:332 - Tapping at: 519,921
14:46:56.753 DEBUG _uinput:332 - Tapping at: 519,921
14:46:58.089 DEBUG _uinput:332 - Tapping at: 519,921
14:46:59.369 DEBUG _uinput:332 - Tapping at: 519,921
14:47:00.662 DEBUG _uinput:332 - Tapping at: 519,921
14:47:01.907 DEBUG _uinput:332 - Tapping at: 519,921
14:47:03.120 DEBUG _uinput:332 - Tapping at: 519,921
14:47:04.391 DEBUG _uinput:332 - Tapping at: 519,921
14:47:05.640 DEBUG _uinput:332 - Tapping at: 519,921
14:47:06.949 DEBUG _uinput:332 - Tapping at: 519,921
14:47:08.235 DEBUG _uinput:332 - Tapping at: 519,921
14:47:09.517 DEBUG _uinput:332 - Tapping at: 519,921
14:47:10.761 DEBUG _uinput:332 - Tapping at: 519,921
14:47:12.085 DEBUG _uinput:332 - Tapping at: 519,921
14:47:13.396 DEBUG _uinput:332 - Tapping at: 519,921
14:47:14.670 DEBUG _uinput:332 - Tapping at: 519,921
14:47:15.926 DEBUG _uinput:332 - Tapping at: 519,921
14:47:17.213 DEBUG _uinput:332 - Tapping at: 519,921
14:47:18.480 DEBUG _uinput:332 - Tapping at: 519,921
14:47:19.708 DEBUG _uinput:332 - Tapping at: 519,921
14:47:21.001 DEBUG _uinput:332 - Tapping at: 519,921
14:47:22.264 DEBUG _uinput:332 - Tapping at: 519,921
14:47:23.484 DEBUG _uinput:332 - Tapping at: 519,921
14:47:24.755 DEBUG _uinput:332 - Tapping at: 519,921
14:47:26.085 DEBUG _uinput:332 - Tapping at: 519,921
14:47:27.400 DEBUG _uinput:332 - Tapping at: 519,921
14:47:28.672 DEBUG _uinput:332 - Tapping at: 519,921
14:47:29.983 DEBUG _uinput:332 - Tapping at: 519,921
14:47:31.213 DEBUG _uinput:332 - Tapping at: 519,921
14:47:32.437 DEBUG _uinput:332 - Tapping at: 519,921
14:47:33.669 DEBUG _uinput:332 - Tapping at: 519,921
14:47:34.900 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
14:47:35.237 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:47:35.238 DEBUG _uinput:332 - Tapping at: 244,373
14:47:35.342 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:47:35.529 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
14:47:35.751 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
14:47:36.252 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:47:36.253 DEBUG _uinput:332 - Tapping at: 384,242
14:47:36.356 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:47:36.572 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
14:47:36.771 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
14:47:37.148 DEBUG _uinput:332 - Tapping at: 249,921
14:47:38.393 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
14:47:38.916 DEBUG _uinput:332 - Tapping at: 519,921
14:47:40.339 DEBUG _uinput:332 - Tapping at: 519,921
14:47:41.544 DEBUG _uinput:332 - Tapping at: 519,921
14:47:42.818 DEBUG _uinput:332 - Tapping at: 519,921
14:47:44.123 DEBUG _uinput:332 - Tapping at: 519,921
14:47:45.376 DEBUG _uinput:332 - Tapping at: 519,921
14:47:46.697 DEBUG _uinput:332 - Tapping at: 519,921
14:47:47.926 DEBUG _uinput:332 - Tapping at: 519,921
14:47:49.202 DEBUG _uinput:332 - Tapping at: 519,921
14:47:50.486 DEBUG _uinput:332 - Tapping at: 519,921
14:47:51.704 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
14:47:51.994 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:47:51.995 DEBUG _uinput:332 - Tapping at: 244,373
14:47:52.097 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:47:52.299 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
14:47:52.497 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'eventLocationInput'}
14:47:53.010 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:47:53.011 DEBUG _uinput:332 - Tapping at: 384,651
14:48:03.560 INFO testcase:540 - waiting for process to exit.
14:48:03.563 INFO testcase:542 - Killing process 10409
14:48:04.592 ERROR testresult:37 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
14:48:04.595 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