Testcase: test_cancel_rename_directory(with touch)

Build #:28:20140907: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_rename_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/tmpdhnxzxs_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpdhnxzxs_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpdhnxzxs_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpdhnxzxs_
Location:  "/tmp/tmpdhnxzxs_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpdhnxzxs_"
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/tmpp2hq52sz"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpp2hq52sz"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpp2hq52sz"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpp2hq52sz
Location:  "/tmp/tmpp2hq52sz"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpp2hq52sz"
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/tmpgz5_b61_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpgz5_b61_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpgz5_b61_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpgz5_b61_
Location:  "/tmp/tmpgz5_b61_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpgz5_b61_"
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/tmpc6q4_iup"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpc6q4_iup"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpc6q4_iup"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpc6q4_iup
Location:  "/tmp/tmpc6q4_iup"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpc6q4_iup"
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/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp3uefx0gl
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp3uefx0gl"
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)
qml: Actions
qml: Create New Folder
qml: Key pressed!
qml: Key pressed!
qml: Create folder accepted Test Directory
void DirModel::mkdir(const QString&) Access denied in current path "/tmp/tmp3uefx0gl"
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/tmpj3gpctri"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpj3gpctri"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpj3gpctri"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpj3gpctri
Location:  "/tmp/tmpj3gpctri"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpj3gpctri"
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/tmpqwfnny4k"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpqwfnny4k"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpqwfnny4k"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpqwfnny4k
Location:  "/tmp/tmpqwfnny4k"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpqwfnny4k"
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: {{{
06:58:33.069 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:58:33.076 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:58:33.077 DEBUG __init__:89 - Directory Listing for HOME
[]
06:58:33.078 DEBUG __init__:90 - File count in HOME is 0
06:58:33.079 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
06:58:33.080 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
06:58:33.884 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
06:58:43.431 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmpqwfnny4k/tmpfm1oltykqk in parent directory /tmp/tmpqwfnny4k
06:58:43.432 DEBUG __init__:191 - Directory Listing for HOME
['tmpfm1oltykqk', '.local', '.cache', '.config']
06:58:43.583 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:44.712 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:45.811 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:46.903 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:48.012 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:49.104 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:50.194 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:51.284 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:52.391 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:53.486 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:54.585 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:55.681 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:56.781 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:57.898 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:58:59.025 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:00.120 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:01.231 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:02.325 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:03.436 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:04.533 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:05.639 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:06.758 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:07.853 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:08.962 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:10.054 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:11.146 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:12.271 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:13.371 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:14.480 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:15.589 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:16.684 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:17.797 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:18.900 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:20.009 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:21.105 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:22.215 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:23.321 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:24.432 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:25.524 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:26.630 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:27.739 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:28.835 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:29.941 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:31.034 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:32.139 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:33.234 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:34.351 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:35.458 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:36.555 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:37.644 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:38.750 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:39.860 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:40.961 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:42.064 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:43.155 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:44.272 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:45.378 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:46.480 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:47.573 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:48.673 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:49.781 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:59:50.316 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmpqwfnny4k/tmpfm1oltykqk',). Keyword
arguments: {}.
06:59:50.317 DEBUG fixture_setup:75 - Deleting directory.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 183, in test_cancel_rename_directory
    dir_path = 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