Testcase: test_calendar.TestMainView.test_new_event

Build #:71:20131218.1: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/tmpCWYgbk/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

16:02:22.737 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
16:02:23.124 INFO globals:56 - ************************************************************
16:02:23.125 INFO globals:57 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
16:02:23.126 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
16:02:23.290 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
16:02:23.292 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
16:02:27.174 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 6712
16:02:30.373 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:02:30.593 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:02:30.594 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
16:02:30.842 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:02:30.885 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('neweventbutton',). Keyword arguments: {}.
16:02:30.887 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
16:02:31.016 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:02:31.017 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:02:31.088 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:02:31.088 DEBUG _uinput:332 - Tapping at: 687,1208
16:02:31.196 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:02:31.972 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
16:02:32.267 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:02:32.481 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
16:02:32.715 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
16:02:33.213 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:02:33.214 DEBUG _uinput:332 - Tapping at: 384,332
16:02:33.439 DEBUG _uinput:135 - Typing text 'Test event 1387382552'
16:02:33.440 DEBUG _uinput:80 - Pressing T (42)
16:02:33.544 DEBUG _uinput:80 - Pressing T (20)
16:02:33.651 DEBUG _uinput:103 - Releasing T (42)
16:02:33.752 DEBUG _uinput:103 - Releasing T (20)
16:02:33.854 DEBUG _uinput:80 - Pressing e (18)
16:02:33.968 DEBUG _uinput:103 - Releasing e (18)
16:02:34.074 DEBUG _uinput:80 - Pressing s (31)
16:02:34.188 DEBUG _uinput:103 - Releasing s (31)
16:02:34.290 DEBUG _uinput:80 - Pressing t (20)
16:02:34.399 DEBUG _uinput:103 - Releasing t (20)
16:02:34.507 DEBUG _uinput:80 - Pressing (57)
16:02:34.625 DEBUG _uinput:103 - Releasing (57)
16:02:34.732 DEBUG _uinput:80 - Pressing e (18)
16:02:34.841 DEBUG _uinput:103 - Releasing e (18)
16:02:34.947 DEBUG _uinput:80 - Pressing v (47)
16:02:35.054 DEBUG _uinput:103 - Releasing v (47)
16:02:35.162 DEBUG _uinput:80 - Pressing e (18)
16:02:35.275 DEBUG _uinput:103 - Releasing e (18)
16:02:35.377 DEBUG _uinput:80 - Pressing n (49)
16:02:35.486 DEBUG _uinput:103 - Releasing n (49)
16:02:35.587 DEBUG _uinput:80 - Pressing t (20)
16:02:35.695 DEBUG _uinput:103 - Releasing t (20)
16:02:35.797 DEBUG _uinput:80 - Pressing (57)
16:02:35.907 DEBUG _uinput:103 - Releasing (57)
16:02:36.013 DEBUG _uinput:80 - Pressing 1 (2)
16:02:36.130 DEBUG _uinput:103 - Releasing 1 (2)
16:02:36.232 DEBUG _uinput:80 - Pressing 3 (4)
16:02:36.341 DEBUG _uinput:103 - Releasing 3 (4)
16:02:36.443 DEBUG _uinput:80 - Pressing 8 (9)
16:02:36.551 DEBUG _uinput:103 - Releasing 8 (9)
16:02:36.658 DEBUG _uinput:80 - Pressing 7 (8)
16:02:36.774 DEBUG _uinput:103 - Releasing 7 (8)
16:02:36.881 DEBUG _uinput:80 - Pressing 3 (4)
16:02:36.998 DEBUG _uinput:103 - Releasing 3 (4)
16:02:37.099 DEBUG _uinput:80 - Pressing 8 (9)
16:02:37.208 DEBUG _uinput:103 - Releasing 8 (9)
16:02:37.315 DEBUG _uinput:80 - Pressing 2 (3)
16:02:37.430 DEBUG _uinput:103 - Releasing 2 (3)
16:02:37.532 DEBUG _uinput:80 - Pressing 5 (6)
16:02:37.640 DEBUG _uinput:103 - Releasing 5 (6)
16:02:37.742 DEBUG _uinput:80 - Pressing 5 (6)
16:02:37.851 DEBUG _uinput:103 - Releasing 5 (6)
16:02:37.958 DEBUG _uinput:80 - Pressing 2 (3)
16:02:38.074 DEBUG _uinput:103 - Releasing 2 (3)
16:02:38.275 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:02:38.467 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
16:02:38.656 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
16:02:39.215 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:02:39.218 DEBUG _uinput:332 - Tapping at: 384,130
16:02:39.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:02:39.741 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
16:02:39.965 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
16:02:40.377 DEBUG _uinput:332 - Tapping at: 249,921
16:02:41.648 DEBUG _uinput:332 - Tapping at: 249,921
16:02:42.991 DEBUG _uinput:332 - Tapping at: 249,921
16:02:44.320 DEBUG _uinput:332 - Tapping at: 249,921
16:02:45.648 DEBUG _uinput:332 - Tapping at: 249,921
16:02:46.978 DEBUG _uinput:332 - Tapping at: 249,921
16:02:48.308 DEBUG _uinput:332 - Tapping at: 249,921
16:02:49.629 DEBUG _uinput:332 - Tapping at: 249,921
16:02:50.968 DEBUG _uinput:332 - Tapping at: 249,921
16:02:52.303 DEBUG _uinput:332 - Tapping at: 249,921
16:02:53.632 DEBUG _uinput:332 - Tapping at: 249,921
16:02:54.964 DEBUG _uinput:332 - Tapping at: 249,921
16:02:56.289 DEBUG _uinput:332 - Tapping at: 249,921
16:02:57.618 DEBUG _uinput:332 - Tapping at: 249,921
16:02:58.946 DEBUG _uinput:332 - Tapping at: 249,921
16:03:00.265 DEBUG _uinput:332 - Tapping at: 249,921
16:03:01.587 DEBUG _uinput:332 - Tapping at: 249,921
16:03:02.877 DEBUG _uinput:332 - Tapping at: 249,921
16:03:04.170 DEBUG _uinput:332 - Tapping at: 249,921
16:03:05.496 DEBUG _uinput:332 - Tapping at: 249,921
16:03:06.809 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
16:03:07.207 DEBUG _uinput:332 - Tapping at: 519,921
16:03:08.467 DEBUG _uinput:332 - Tapping at: 519,921
16:03:09.801 DEBUG _uinput:332 - Tapping at: 519,921
16:03:11.127 DEBUG _uinput:332 - Tapping at: 519,921
16:03:12.457 DEBUG _uinput:332 - Tapping at: 519,921
16:03:13.779 DEBUG _uinput:332 - Tapping at: 519,921
16:03:15.079 DEBUG _uinput:332 - Tapping at: 519,921
16:03:16.399 DEBUG _uinput:332 - Tapping at: 519,921
16:03:17.729 DEBUG _uinput:332 - Tapping at: 519,921
16:03:19.047 DEBUG _uinput:332 - Tapping at: 519,921
16:03:20.378 DEBUG _uinput:332 - Tapping at: 519,921
16:03:21.700 DEBUG _uinput:332 - Tapping at: 519,921
16:03:23.009 DEBUG _uinput:332 - Tapping at: 519,921
16:03:24.338 DEBUG _uinput:332 - Tapping at: 519,921
16:03:25.669 DEBUG _uinput:332 - Tapping at: 519,921
16:03:26.997 DEBUG _uinput:332 - Tapping at: 519,921
16:03:28.330 DEBUG _uinput:332 - Tapping at: 519,921
16:03:29.656 DEBUG _uinput:332 - Tapping at: 519,921
16:03:30.977 DEBUG _uinput:332 - Tapping at: 519,921
16:03:32.315 DEBUG _uinput:332 - Tapping at: 519,921
16:03:33.638 DEBUG _uinput:332 - Tapping at: 519,921
16:03:34.967 DEBUG _uinput:332 - Tapping at: 519,921
16:03:36.307 DEBUG _uinput:332 - Tapping at: 519,921
16:03:37.636 DEBUG _uinput:332 - Tapping at: 519,921
16:03:38.967 DEBUG _uinput:332 - Tapping at: 519,921
16:03:40.308 DEBUG _uinput:332 - Tapping at: 519,921
16:03:41.616 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
16:03:41.926 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:03:41.927 DEBUG _uinput:332 - Tapping at: 244,373
16:03:42.030 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:03:42.276 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
16:03:42.463 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
16:03:42.998 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:03:42.999 DEBUG _uinput:332 - Tapping at: 384,242
16:03:43.101 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:03:43.357 DEBUG dbus:431 - Selecting objects of type TimePicker with attributes: {}
16:03:43.577 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
16:03:43.948 DEBUG _uinput:332 - Tapping at: 249,921
16:03:45.198 DEBUG dbus:431 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
16:03:45.607 DEBUG _uinput:332 - Tapping at: 519,921
16:03:46.880 DEBUG _uinput:332 - Tapping at: 519,921
16:03:48.208 DEBUG _uinput:332 - Tapping at: 519,921
16:03:49.539 DEBUG _uinput:332 - Tapping at: 519,921
16:03:50.873 DEBUG _uinput:332 - Tapping at: 519,921
16:03:52.203 DEBUG _uinput:332 - Tapping at: 519,921
16:03:53.502 DEBUG _uinput:332 - Tapping at: 519,921
16:03:54.854 DEBUG _uinput:332 - Tapping at: 519,921
16:03:56.178 DEBUG _uinput:332 - Tapping at: 519,921
16:03:57.508 DEBUG _uinput:332 - Tapping at: 519,921
16:03:58.819 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
16:03:59.119 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:03:59.120 DEBUG _uinput:332 - Tapping at: 244,373
16:03:59.224 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
16:03:59.425 DEBUG dbus:431 - Selecting objects of type NewEvent with attributes: {}
16:03:59.611 DEBUG dbus:431 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'eventLocationInput'}
16:04:00.094 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:04:00.095 DEBUG _uinput:332 - Tapping at: 384,651
16:04:10.982 INFO testcase:540 - waiting for process to exit.
16:04:10.983 INFO testcase:542 - Killing process 6712
16:04:12.011 ERROR testresult:37 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
16:04:12.016 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