Testcase: test_parts.TestFocus.test_parts_delete_when_empty

Build #:116:20140107:20131223.2
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/tmpgTgzIU/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

14:31:37.872 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
Port 12345 is already in use
now serving on port 12346
14:31:38.328 INFO globals:56 - ************************************************************
14:31:38.329 INFO globals:57 - Starting test notes_app.tests.test_parts.TestFocus.test_parts_delete_when_empty (with touch)
14:31:38.330 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
14:31:38.503 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
initctl: Unknown instance: com.ubuntu.notes_notes_1.4.235
14:31:41.252 INFO testcase:352 - Click package com.ubuntu.notes_notes_1.4.235 has been launched with PID 3616
127.0.0.1 - - [07/Jan/2014 14:31:41] "GET /image.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Jan/2014 14:31:41] "GET /image.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 55200)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 651, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 710, in finish
self.wfile.close()
File "/usr/lib/python2.7/socket.py", line 279, in close
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
127.0.0.1 - - [07/Jan/2014 14:31:42] "GET /image.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Jan/2014 14:31:42] "GET /image.png HTTP/1.1" 200 -
14:31:42.427 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:42.471 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:42.494 INFO logging:45 - NotesApp: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
14:31:42.495 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
14:31:42.520 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
14:31:42.628 DEBUG _uinput:366 - Dragging from 360,1136 to 360,1279
14:31:44.013 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:44.044 DEBUG dbus:431 - Selecting objects of type NoteItem with attributes: {}
14:31:44.127 DEBUG _common:35 - Moving to object's globalRect coordinates.
14:31:44.128 DEBUG _uinput:332 - Tapping at: 360,355
14:31:45.457 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:45.491 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
14:31:45.521 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
14:31:45.757 DEBUG _uinput:332 - Tapping at: 360,610
14:31:45.861 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:45.996 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
14:31:46.018 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
14:31:46.190 DEBUG _uinput:332 - Tapping at: 360,362
14:31:46.293 DEBUG dbus:431 - Selecting objects of type NotesApp with attributes: {}
14:31:46.330 DEBUG dbus:431 - Selecting objects of type MixedEdit with attributes: {}
14:31:46.365 DEBUG dbus:431 - Selecting objects of type QQuickColumn with attributes: {}
14:31:46.805 INFO testcase:540 - waiting for process to exit.
14:31:46.806 INFO testcase:542 - Killing process 3616
14:31:48.074 ERROR testresult:37 - ERROR: notes_app.tests.test_parts.TestFocus.test_parts_delete_when_empty(with touch)
14:31:48.077 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