Testcase: test_parts.TestFocus.test_parts_delete_when_empty

Build #:117:20140107.1:20140107.1
Arch:maguro (Galaxy Nexus)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_parts.TestFocus.test_parts_delete_when_empty
testsuite
/tmp/tmpYfXMpF/testsuites/notes-app-autopilot
returncode
1
command
autopilot-run notes_app.tests.test_parts.TestFocus.test_parts_delete_when_empty
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

05:05:10.252 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
now serving on port 12345
05:05:10.737 INFO globals:56 - ************************************************************
05:05:10.738 INFO globals:57 - Starting test notes_app.tests.test_parts.TestFocus.test_parts_delete_when_empty (with touch)
05:05:10.739 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
05:05:10.917 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.notes_notes_1.4.235
05:05:13.640 INFO testcase:352 - Click package com.ubuntu.notes_notes_1.4.235 has been launched with PID 3262
127.0.0.1 - - [08/Jan/2014 05:05:14] "GET /image.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Jan/2014 05:05:14] "GET /image.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Jan/2014 05:05:14] "GET /image.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Jan/2014 05:05:14] "GET /image.png HTTP/1.1" 200 -
05:05:15.586 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:15.626 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:15.647 INFO logging:45 - NotesApp: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
05:05:15.648 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
05:05:15.670 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
05:05:15.756 DEBUG _uinput:366 - Dragging from 360,1136 to 360,1279
05:05:17.114 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:17.146 DEBUG dbus:431 - Selecting objects of type NoteItem with attributes: {}
05:05:17.227 DEBUG _common:35 - Moving to object's globalRect coordinates.
05:05:17.228 DEBUG _uinput:332 - Tapping at: 360,355
05:05:18.572 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:18.605 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
05:05:18.634 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
05:05:18.877 DEBUG _uinput:332 - Tapping at: 360,610
05:05:18.980 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:19.110 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
05:05:19.137 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
05:05:19.297 DEBUG _uinput:332 - Tapping at: 360,362
05:05:19.399 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
05:05:19.448 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
05:05:19.480 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
05:05:19.684 INFO testcase:540 - waiting for process to exit.
05:05:19.685 INFO testcase:542 - Killing process 3262
05:05:21.047 ERROR testresult:37 - ERROR: notes_app.tests.test_parts.TestFocus.test_parts_delete_when_empty(with touch)
05:05:21.049 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/notes_app/tests/test_parts.py", line 114, in test_parts_delete_when_empty
Eventually(Equals(2)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 110, in match
wait_fun(self.matcher, self.timeout)
File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 126, in _callable_wait_for
new_value = refresh_fn()
File "/home/phablet/autopilot/notes_app/tests/test_parts.py", line 113, in <lambda>
lambda: len(self.main_window.get_note_parts(note)),
File "/home/phablet/autopilot/notes_app/emulators/notesapp.py", line 30, in get_note_parts
parts.sort(key=lambda part: part.y)
File "/home/phablet/autopilot/notes_app/emulators/notesapp.py", line 30, in <lambda>
parts.sort(key=lambda part: part.y)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 518, in __getattr__
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 472, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 562, in get_new_state
raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: State not found for class 'QQuickLoader' and filters {'id': 21}.
}}}
ADB_RC=1
command_type
testcase_test