Testcase: test_cut_file(with touch)

Build #:27:20140906: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_cut_file(with touch)
testsuite
filemanager.tests.test_filemanager.TestFolderListPage
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{Sep  6 07:34:38 ubuntu-phablet PackageKit: daemon quit}}}
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/tmpbaxd3avv"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpbaxd3avv"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpbaxd3avv"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpbaxd3avv
Location:  "/tmp/tmpbaxd3avv"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpbaxd3avv"
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: Places
Location:  "/tmp/tmpbaxd3avv"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
qml: Directory: /tmp/
qml: Path changed to: /tmp
qml: Sub dir: tmpbaxd3avv
void DirModel::setPath(const QString&) DirModel(0xeef978) Ignoring path change request, request already running in "/tmp/tmpbaxd3avv"
void DirModel::setPath(const QString&) DirModel_QML_108(0xeed960) Ignoring path change request, request already running in "/"
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/tmp8cxmddp4"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp8cxmddp4"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp8cxmddp4"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp8cxmddp4
Location:  "/tmp/tmp8cxmddp4"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp8cxmddp4"
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/tmpefvytcm_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpefvytcm_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpefvytcm_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpefvytcm_
Location:  "/tmp/tmpefvytcm_"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpefvytcm_"
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/tmppr19o91b"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmppr19o91b"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmppr19o91b"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmppr19o91b
Location:  "/tmp/tmppr19o91b"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmppr19o91b"
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
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/tmp9im8jkdo"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp9im8jkdo"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp9im8jkdo"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp9im8jkdo
Location:  "/tmp/tmp9im8jkdo"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp9im8jkdo"
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/tmp4rhtl_od"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp4rhtl_od"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp4rhtl_od"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp4rhtl_od
Location:  "/tmp/tmp4rhtl_od"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp4rhtl_od"
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: {{{
07:34:09.370 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:34:09.378 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:34:09.379 DEBUG __init__:89 - Directory Listing for HOME
[]
07:34:09.380 DEBUG __init__:90 - File count in HOME is 0
07:34:09.381 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
07:34:09.382 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
07:34:10.175 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
07:34:19.876 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmp4rhtl_od/tmpfm2d4b8qde in parent directory /tmp/tmp4rhtl_od
07:34:19.877 DEBUG __init__:191 - Directory Listing for HOME
['tmpfm2d4b8qde', '.local', '.cache', '.config']
07:34:20.032 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:21.138 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:22.258 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:23.364 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:24.461 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:25.566 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:26.659 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:27.771 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:28.870 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:29.977 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:31.094 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:32.188 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:33.281 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:34.377 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:35.470 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:36.574 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:37.669 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:38.768 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:39.875 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:40.984 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:42.087 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:43.196 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:44.281 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:45.378 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:46.493 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:47.580 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:48.686 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:49.779 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:50.875 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:51.984 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:53.086 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:54.203 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:55.293 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:56.396 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:57.505 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:58.613 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:34:59.715 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:00.817 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:01.925 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:03.034 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:04.139 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:05.232 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:06.335 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:07.443 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:08.529 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:09.638 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:10.744 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:11.832 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:12.936 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:14.022 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:15.125 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:16.238 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:17.348 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:18.399 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:19.508 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:20.614 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:21.716 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:22.831 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:23.938 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:25.037 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:26.129 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
07:35:26.654 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmp4rhtl_od/tmpfm2d4b8qde',). Keyword
arguments: {}.
07:35:26.655 DEBUG fixture_setup:75 - Deleting directory.
}}}

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