Testcase: test_cancel_delete_directory(with touch)

Build #:26:20140905:20140903.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_cancel_delete_directory(with touch)
testsuite
filemanager.tests.test_filemanager.TestFolderListPage
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog

Application Log (com.ubuntu.filemanager_filemanager_0.3.264): {{{
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmphd0js9sb
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
Location:  "/tmp/tmpbs3_zssn"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpbs3_zssn"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpbs3_zssn"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpbs3_zssn
Location:  "/tmp/tmpbs3_zssn"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpbs3_zssn"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.264/qml/filemanager.qml"
Location:  "/tmp/tmp2yif7heb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp2yif7heb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp2yif7heb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp2yif7heb
Location:  "/tmp/tmp2yif7heb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp2yif7heb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
}}}

test-log: {{{
00:39:08.460 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
00:39:08.468 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
00:39:08.469 DEBUG __init__:89 - Directory Listing for HOME
[]
00:39:08.469 DEBUG __init__:90 - File count in HOME is 0
00:39:08.470 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
00:39:08.471 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
00:39:09.351 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
00:39:19.093 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmp2yif7heb/tmpfm6tdohkze in parent directory /tmp/tmp2yif7heb
00:39:19.095 DEBUG __init__:191 - Directory Listing for HOME
['tmpfm6tdohkze', '.local', '.cache', '.config']
00:39:19.263 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:20.375 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:21.486 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:22.618 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:23.712 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:24.822 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:25.928 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:27.038 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:28.147 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:29.265 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:30.370 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:31.482 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:32.574 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:33.665 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:34.755 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:35.843 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:36.949 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:38.065 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:39.177 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:40.275 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:41.385 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:42.510 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:43.618 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:44.728 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:45.840 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:46.948 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:48.043 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:49.151 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:50.250 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:51.358 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:52.468 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:53.565 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:54.669 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:55.762 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:56.865 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:57.978 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:39:59.074 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:00.171 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:01.273 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:02.378 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:03.472 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:04.578 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:05.680 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:06.790 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:07.853 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:08.960 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:10.069 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:11.182 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:12.273 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:13.363 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:14.465 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:15.577 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:16.695 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:17.792 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:18.902 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:19.995 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:21.098 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:22.145 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:23.249 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:24.357 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:25.454 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:40:25.949 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmp2yif7heb/tmpfm6tdohkze',). Keyword
arguments: {}.
00:40:25.950 DEBUG fixture_setup:75 - Deleting directory.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 210, in test_cancel_delete_directory
    dir_name = os.path.basename(self.make_directory_in_home())
  File "/home/phablet/autopilot/filemanager/tests/__init__.py", line 176, in make_directory_in_home
    return self.make_content_in_home('directory')
  File "/home/phablet/autopilot/filemanager/tests/__init__.py", line 192, in make_content_in_home
    self._assert_number_of_files(1)
  File "/home/phablet/autopilot/filemanager/tests/__init__.py", line 201, in _assert_number_of_files
    Eventually(Equals(expected_number_of_files), timeout=60))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 60.0 seconds test failed: 1 != 0

command_type
testcase_test