Testcase: test_cancel_delete_directory(with touch)

Build #:34:20140913:20140903.1
Arch:flo (Nexus 7 2013)
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)

/var/log/syslog: {{{
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.129730] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.130432] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.131072] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.131744] bq27541_get_capacity = 100% ret= 100
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.132385] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.133575] bq27541_get_psp current = 201 mA
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.141784] bq27541_get_capacity = 100% ret= 100
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.142669] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.144134] bq27541_get_psp current = 201 mA
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.144927] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:32:32 ubuntu-phablet kernel: [  365.145904] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.231048] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.231567] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.232147] bq27541_get_capacity = 100% ret= 100
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.232696] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.233795] bq27541_get_psp current = 201 mA
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.235717] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.236267] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.236816] bq27541_get_capacity = 100% ret= 100
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.237365] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.238494] bq27541_get_psp current = 201 mA
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.246154] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.247680] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.249176] bq27541_get_psp current = 201 mA
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.253265] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.258483] bq27541_get_capacity = 100% ret= 100
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.259155] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.289642] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.289886] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4281000
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.290283] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep 13 08:32:33 ubuntu-phablet kernel: [  365.290557] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Sep 13 08:33:12 ubuntu-phablet PackageKit: daemon quit
}}}

Application Log (com.ubuntu.filemanager_filemanager_0.3.275): {{{
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
Location:  "/tmp/tmp18j8lbvc"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp18j8lbvc"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp18j8lbvc"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp18j8lbvc
Location:  "/tmp/tmp18j8lbvc"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp18j8lbvc"
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=1200, height=1866)
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
Location:  "/tmp/tmp176mepbs"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp176mepbs"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp176mepbs"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp176mepbs
Location:  "/tmp/tmp176mepbs"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp176mepbs"
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=1200, height=1866)
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
Location:  "/tmp/tmpjixqfc9f"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpjixqfc9f"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmpjixqfc9f"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmpjixqfc9f
Location:  "/tmp/tmpjixqfc9f"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmpjixqfc9f"
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=1200, height=1866)
Testability driver loaded. Wire protocol version is "1.4".
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/lib/arm-linux-gnueabihf/bin/qml/filemanager.qml"
Trying to load QML from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.275/qml/filemanager.qml"
Location:  "/tmp/tmptocukr66"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmptocukr66"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmptocukr66"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmptocukr66
Location:  "/tmp/tmptocukr66"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmptocukr66"
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=1200, height=1866)
}}}

test-log: {{{
08:32:06.623 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:32:06.630 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:32:06.631 DEBUG __init__:89 - Directory Listing for HOME
[]
08:32:06.632 DEBUG __init__:90 - File count in HOME is 0
08:32:06.632 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
08:32:06.633 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
08:32:07.398 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.275' with URIs '' via upstart-app-launch
08:32:16.593 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmptocukr66/tmpfmxd2qhsp0 in parent directory /tmp/tmptocukr66
08:32:16.594 DEBUG __init__:191 - Directory Listing for HOME
['tmpfmxd2qhsp0', '.local', '.cache', '.config']
08:32:16.744 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:17.858 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:18.958 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:20.057 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:21.149 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:22.247 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:23.353 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:24.455 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:25.563 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:26.738 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:27.837 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:28.929 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:30.036 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:31.129 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:32.235 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:33.300 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:34.425 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:35.533 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:36.636 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:37.724 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:38.843 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:39.952 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:41.056 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:42.142 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:43.234 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:44.328 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:45.421 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:46.518 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:47.618 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:48.731 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:49.843 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:50.962 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:52.068 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:53.174 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:54.291 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:55.402 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:56.502 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:57.605 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:58.706 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:59.813 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:00.924 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:02.012 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:03.108 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:04.201 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:05.300 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:06.405 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:07.505 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:08.606 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:09.722 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:10.818 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:11.910 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:12.998 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:14.101 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:15.198 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:16.297 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:17.404 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:18.495 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:19.589 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:20.681 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:21.779 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:22.867 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:33:23.794 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmptocukr66/tmpfmxd2qhsp0',). Keyword
arguments: {}.
08:33:23.796 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