Testcase: test_calendar.TestMainView.test_new_event

Build #:8:20131029.1:20131029
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_calendar.TestMainView.test_new_event
testsuite
/tmp/tmpRxwsa5/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:29:42.625 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
16:29:43.012 INFO globals:49 - ************************************************************
16:29:43.014 INFO globals:50 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
16:29:43.015 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
16:29:43.144 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
16:29:43.145 WARNING __init__:97 - No current database found
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.156
16:29:46.012 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.156 has been launched with PID 4991
16:29:50.303 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:29:50.518 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
16:29:50.907 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
16:29:52.274 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'neweventbutton'}
16:29:52.360 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:29:52.365 DEBUG _uinput:331 - Tapping at: 687,1208
16:29:52.480 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:29:53.391 DEBUG dbus:415 - Selecting objects of type NewEvent with attributes: {}
16:29:53.705 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:29:53.931 DEBUG dbus:415 - Selecting objects of type NewEvent with attributes: {}
16:29:54.123 DEBUG dbus:415 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'newEventName'}
16:29:54.621 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:29:54.622 DEBUG _uinput:331 - Tapping at: 384,503
16:29:54.865 DEBUG _uinput:134 - Typing text 'Test event 1383064193'
16:29:54.866 DEBUG _uinput:79 - Pressing T (42)
16:29:54.967 DEBUG _uinput:79 - Pressing T (20)
16:29:55.068 DEBUG _uinput:102 - Releasing T (42)
16:29:55.170 DEBUG _uinput:102 - Releasing T (20)
16:29:55.271 DEBUG _uinput:79 - Pressing e (18)
16:29:55.374 DEBUG _uinput:102 - Releasing e (18)
16:29:55.477 DEBUG _uinput:79 - Pressing s (31)
16:29:55.610 DEBUG _uinput:102 - Releasing s (31)
16:29:55.712 DEBUG _uinput:79 - Pressing t (20)
16:29:55.828 DEBUG _uinput:102 - Releasing t (20)
16:29:55.930 DEBUG _uinput:79 - Pressing (57)
16:29:56.047 DEBUG _uinput:102 - Releasing (57)
16:29:56.148 DEBUG _uinput:79 - Pressing e (18)
16:29:56.250 DEBUG _uinput:102 - Releasing e (18)
16:29:56.354 DEBUG _uinput:79 - Pressing v (47)
16:29:56.466 DEBUG _uinput:102 - Releasing v (47)
16:29:56.567 DEBUG _uinput:79 - Pressing e (18)
16:29:56.675 DEBUG _uinput:102 - Releasing e (18)
16:29:56.776 DEBUG _uinput:79 - Pressing n (49)
16:29:56.877 DEBUG _uinput:102 - Releasing n (49)
16:29:56.980 DEBUG _uinput:79 - Pressing t (20)
16:29:57.082 DEBUG _uinput:102 - Releasing t (20)
16:29:57.188 DEBUG _uinput:79 - Pressing (57)
16:29:57.303 DEBUG _uinput:102 - Releasing (57)
16:29:57.404 DEBUG _uinput:79 - Pressing 1 (2)
16:29:57.505 DEBUG _uinput:102 - Releasing 1 (2)
16:29:57.607 DEBUG _uinput:79 - Pressing 3 (4)
16:29:57.725 DEBUG _uinput:102 - Releasing 3 (4)
16:29:57.826 DEBUG _uinput:79 - Pressing 8 (9)
16:29:57.927 DEBUG _uinput:102 - Releasing 8 (9)
16:29:58.029 DEBUG _uinput:79 - Pressing 3 (4)
16:29:58.145 DEBUG _uinput:102 - Releasing 3 (4)
16:29:58.246 DEBUG _uinput:79 - Pressing 0 (11)
16:29:58.366 DEBUG _uinput:102 - Releasing 0 (11)
16:29:58.467 DEBUG _uinput:79 - Pressing 6 (7)
16:29:58.580 DEBUG _uinput:102 - Releasing 6 (7)
16:29:58.682 DEBUG _uinput:79 - Pressing 4 (5)
16:29:58.791 DEBUG _uinput:102 - Releasing 4 (5)
16:29:58.893 DEBUG _uinput:79 - Pressing 1 (2)
16:29:58.994 DEBUG _uinput:102 - Releasing 1 (2)
16:29:59.096 DEBUG _uinput:79 - Pressing 9 (10)
16:29:59.215 DEBUG _uinput:102 - Releasing 9 (10)
16:29:59.316 DEBUG _uinput:79 - Pressing 3 (4)
16:29:59.417 DEBUG _uinput:102 - Releasing 3 (4)
16:29:59.619 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:29:59.767 DEBUG dbus:415 - Selecting objects of type NewEvent with attributes: {}
16:29:59.945 DEBUG dbus:415 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'startTimeInput'}
16:30:00.450 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:30:00.451 DEBUG _uinput:331 - Tapping at: 384,301
16:30:00.556 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:30:00.927 DEBUG dbus:415 - Selecting objects of type TimePicker with attributes: {}
16:30:01.664 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:30:01.864 DEBUG dbus:415 - Selecting objects of type TimePicker with attributes: {}
16:30:02.093 DEBUG dbus:415 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
16:30:02.488 DEBUG _uinput:331 - Tapping at: 249,858
16:30:03.731 DEBUG _uinput:331 - Tapping at: 249,858
16:30:05.040 DEBUG _uinput:331 - Tapping at: 249,858
16:30:06.361 DEBUG _uinput:331 - Tapping at: 249,858
16:30:07.679 DEBUG _uinput:331 - Tapping at: 249,858
16:30:08.979 DEBUG _uinput:331 - Tapping at: 249,858
16:30:10.304 DEBUG _uinput:331 - Tapping at: 249,858
16:30:11.619 DEBUG _uinput:331 - Tapping at: 249,858
16:30:12.939 DEBUG _uinput:331 - Tapping at: 249,858
16:30:14.260 DEBUG _uinput:331 - Tapping at: 249,858
16:30:15.573 DEBUG _uinput:331 - Tapping at: 249,858
16:30:16.889 DEBUG _uinput:331 - Tapping at: 249,858
16:30:18.219 DEBUG _uinput:331 - Tapping at: 249,858
16:30:19.539 DEBUG _uinput:331 - Tapping at: 249,858
16:30:20.852 DEBUG _uinput:331 - Tapping at: 249,858
16:30:22.170 DEBUG _uinput:331 - Tapping at: 249,858
16:30:23.519 DEBUG _uinput:331 - Tapping at: 249,858
16:30:24.839 DEBUG _uinput:331 - Tapping at: 249,858
16:30:26.170 DEBUG dbus:415 - Selecting objects of type Scroller with attributes: {'objectName': 'minuteScroller'}
16:30:26.512 DEBUG _uinput:331 - Tapping at: 519,858
16:30:27.791 DEBUG _uinput:331 - Tapping at: 519,858
16:30:29.101 DEBUG _uinput:331 - Tapping at: 519,858
16:30:30.412 DEBUG _uinput:331 - Tapping at: 519,858
16:30:31.721 DEBUG _uinput:331 - Tapping at: 519,858
16:30:33.042 DEBUG _uinput:331 - Tapping at: 519,858
16:30:34.351 DEBUG _uinput:331 - Tapping at: 519,858
16:30:35.672 DEBUG _uinput:331 - Tapping at: 519,858
16:30:36.983 DEBUG _uinput:331 - Tapping at: 519,858
16:30:38.298 DEBUG _uinput:331 - Tapping at: 519,858
16:30:39.628 DEBUG _uinput:331 - Tapping at: 519,858
16:30:40.948 DEBUG _uinput:331 - Tapping at: 519,858
16:30:42.260 DEBUG _uinput:331 - Tapping at: 519,858
16:30:43.599 DEBUG _uinput:331 - Tapping at: 519,858
16:30:44.918 DEBUG _uinput:331 - Tapping at: 519,858
16:30:46.232 DEBUG _uinput:331 - Tapping at: 519,858
16:30:47.532 DEBUG _uinput:331 - Tapping at: 519,858
16:30:48.852 DEBUG _uinput:331 - Tapping at: 519,858
16:30:50.168 DEBUG _uinput:331 - Tapping at: 519,858
16:30:51.470 DEBUG _uinput:331 - Tapping at: 519,858
16:30:52.779 DEBUG _uinput:331 - Tapping at: 519,858
16:30:54.100 DEBUG _uinput:331 - Tapping at: 519,858
16:30:55.423 DEBUG _uinput:331 - Tapping at: 519,858
16:30:56.742 DEBUG _uinput:331 - Tapping at: 519,858
16:30:58.048 DEBUG _uinput:331 - Tapping at: 519,858
16:30:59.360 DEBUG _uinput:331 - Tapping at: 519,858
16:31:00.678 DEBUG _uinput:331 - Tapping at: 519,858
16:31:02.000 DEBUG _uinput:331 - Tapping at: 519,858
16:31:03.317 DEBUG _uinput:331 - Tapping at: 519,858
16:31:04.641 DEBUG _uinput:331 - Tapping at: 519,858
16:31:05.951 DEBUG _uinput:331 - Tapping at: 519,858
16:31:07.278 DEBUG _uinput:331 - Tapping at: 519,858
16:31:08.602 DEBUG _uinput:331 - Tapping at: 519,858
16:31:09.919 DEBUG _uinput:331 - Tapping at: 519,858
16:31:11.239 DEBUG _uinput:331 - Tapping at: 519,858
16:31:12.569 DEBUG _uinput:331 - Tapping at: 519,858
16:31:13.889 DEBUG _uinput:331 - Tapping at: 519,858
16:31:15.193 DEBUG _uinput:331 - Tapping at: 519,858
16:31:16.513 DEBUG _uinput:331 - Tapping at: 519,858
16:31:17.828 DEBUG _uinput:331 - Tapping at: 519,858
16:31:19.149 DEBUG _uinput:331 - Tapping at: 519,858
16:31:20.468 DEBUG _uinput:331 - Tapping at: 519,858
16:31:21.774 DEBUG _uinput:331 - Tapping at: 519,858
16:31:23.079 DEBUG _uinput:331 - Tapping at: 519,858
16:31:24.399 DEBUG _uinput:331 - Tapping at: 519,858
16:31:25.700 DEBUG _uinput:331 - Tapping at: 519,858
16:31:27.011 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'objectName': 'TimePickerOKButton'}
16:31:27.286 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:31:27.287 DEBUG _uinput:331 - Tapping at: 523,983
16:31:27.391 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:31:27.602 DEBUG dbus:415 - Selecting objects of type TimePicker with attributes: {}
16:31:27.787 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:31:27.989 DEBUG dbus:415 - Selecting objects of type NewEvent with attributes: {}
16:31:28.209 DEBUG dbus:415 - Selecting objects of type NewEventEntryField with attributes: {'objectName': 'endTimeInput'}
16:31:28.716 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:31:28.716 DEBUG _uinput:331 - Tapping at: 384,413
16:31:28.818 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:31:29.157 DEBUG dbus:415 - Selecting objects of type TimePicker with attributes: {}
16:31:29.364 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
16:31:29.561 DEBUG dbus:415 - Selecting objects of type TimePicker with attributes: {}
16:31:29.772 DEBUG dbus:415 - Selecting objects of type Scroller with attributes: {'objectName': 'hourScroller'}
16:31:30.140 DEBUG _uinput:331 - Tapping at: 249,858
16:31:31.390 DEBUG _uinput:331 - Tapping at: 249,858
16:31:32.709 DEBUG _uinput:331 - Tapping at: 249,858
16:31:34.032 DEBUG _uinput:331 - Tapping at: 249,858
16:31:35.359 DEBUG _uinput:331 - Tapping at: 249,858
16:31:36.671 DEBUG _uinput:331 - Tapping at: 249,858
16:31:37.991 DEBUG _uinput:331 - Tapping at: 249,858
16:31:39.301 DEBUG _uinput:331 - Tapping at: 249,858
16:31:40.594 DEBUG _uinput:331 - Tapping at: 249,858
16:31:41.910 DEBUG _uinput:331 - Tapping at: 249,858
16:31:43.221 DEBUG _uinput:331 - Tapping at: 249,858
16:31:44.528 DEBUG _uinput:331 - Tapping at: 249,858
16:31:45.850 DEBUG _uinput:331 - Tapping at: 249,858
16:31:47.162 DEBUG _uinput:331 - Tapping at: 249,858
16:31:48.484 DEBUG _uinput:331 - Tapping at: 249,858
16:31:49.800 DEBUG _uinput:331 - Tapping at: 249,858
16:32:00.541 INFO testcase:530 - waiting for process to exit.
16:32:00.545 INFO testcase:532 - Killing process 4991
16:32:01.588 ERROR testresult:35 - FAIL: calendar_app.tests.test_calendar.TestMainView.test_new_event(with touch)
16:32:01.593 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 86, in test_new_event
self.scroll_time_picker_to_time(picker, 11, 45)
File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 31, in scroll_time_picker_to_time
scroller.currentIndex.wait_for((scroller.currentIndex + 1) % 24)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 234, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on Scroller.currentIndex failed: 9 != dbus.Int32(8, variant_level=1)
}}}
ADB_RC=1
command_type
testcase_test