Testcase: test_cancel_delete_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_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  7 06:51:20 ubuntu-phablet kernel: [  146.665405] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -72, countryCode US
Sep  7 06:51:20 ubuntu-phablet kernel: [  146.666259] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
1, rssi = -70, countryCode US
Sep  7 06:51:20 ubuntu-phablet kernel: [  146.667083] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Sep  7 06:51:20 ubuntu-phablet kernel: [  146.669769] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -57, countryCode US
Sep  7 06:51:20 ubuntu-phablet kernel: [  146.670807] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:a8:c5:dc chan= 161, rssi = -57, countryCode US
}}}

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)
}}}

test-log: {{{
06:50:27.357 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:50:27.565 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:50:27.566 DEBUG __init__:89 - Directory Listing for HOME
[]
06:50:27.567 DEBUG __init__:90 - File count in HOME is 0
06:50:27.567 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
06:50:27.568 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
06:50:28.344 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
06:50:39.327 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmpdhnxzxs_/tmpfm7i5ipi34 in parent directory /tmp/tmpdhnxzxs_
06:50:39.328 DEBUG __init__:191 - Directory Listing for HOME
['tmpfm7i5ipi34', '.local', '.cache', '.config']
06:50:39.520 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:40.630 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:41.725 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:42.811 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:43.856 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:44.926 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:46.023 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:47.115 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:48.219 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:49.320 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:50.411 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:51.496 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:52.584 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:53.674 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:54.770 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:55.864 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:56.968 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:58.081 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:50:59.198 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:00.301 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:01.408 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:02.504 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:03.601 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:04.695 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:05.803 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:06.909 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:08.006 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:09.111 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:10.203 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:11.283 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:12.345 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:13.463 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:14.537 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:15.690 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:16.800 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:17.925 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:19.032 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:20.138 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:21.192 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:22.254 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:23.373 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:24.487 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:25.575 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:26.683 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:27.767 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:28.862 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:29.954 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:31.046 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:32.150 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:33.238 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:34.325 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:35.432 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:36.538 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:37.634 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:38.748 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:39.866 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:40.970 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:42.082 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:43.175 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:44.293 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:45.384 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:51:46.324 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmpdhnxzxs_/tmpfm7i5ipi34',). Keyword
arguments: {}.
06:51:46.325 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