Testcase: test_delete_file(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_delete_file(with touch)
testsuite
filemanager.tests.test_context_menu.ContextMenuTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.587761] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -72, countryCode US
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.587974] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
1, rssi = -70, countryCode US
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.588188] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e1 chan=
1, rssi = -69, countryCode US
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.588371] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.588982] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -57, countryCode US
Sep  7 06:54:26 ubuntu-phablet kernel: [  332.589165] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:a8:c5:dc chan= 161, rssi = -57, countryCode US
Sep  7 06:55:29 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/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)
}}}

test-log: {{{
06:54:22.783 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:54:22.791 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:54:22.791 DEBUG __init__:89 - Directory Listing for HOME
[]
06:54:22.792 DEBUG __init__:90 - File count in HOME is 0
06:54:22.793 INFO logging:45 - ContextMenuTestCase: launch_test_click. Arguments (). Keyword arguments: {}.
06:54:22.794 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
06:54:23.579 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
06:54:33.230 DEBUG fixture_setup:42 - Created temporary file /tmp/tmpc6q4_iup/tmpfmn9rit8vu in /tmp/tmpc6q4_iup.
06:54:33.231 DEBUG __init__:191 - Directory Listing for HOME
['tmpfmn9rit8vu', '.local', '.cache', '.config']
06:54:33.401 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:34.524 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:35.629 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:36.724 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:37.815 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:38.918 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:40.006 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:41.110 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:42.229 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:43.381 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:44.476 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:45.579 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:46.673 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:47.767 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:48.872 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:49.981 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:51.089 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:52.191 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:53.299 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:54.393 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:55.486 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:56.575 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:57.672 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:58.764 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:54:59.871 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:00.964 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:02.071 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:03.164 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:04.252 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:05.344 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:06.435 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:07.480 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:08.576 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:09.672 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:10.765 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:11.871 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:12.972 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:14.081 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:15.182 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:16.281 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:17.339 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:18.442 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:19.533 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:20.639 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:21.745 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:22.834 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:23.939 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:25.040 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:26.149 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:27.265 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:28.384 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:29.430 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:30.535 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:31.639 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:32.741 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:33.834 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:34.950 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:36.036 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:37.139 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:38.228 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:39.330 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:55:39.964 INFO logging:45 - TemporaryFileInDirectory: Delete a file, if it exists. Arguments ('/tmp/tmpc6q4_iup/tmpfmn9rit8vu',). Keyword
arguments: {}.
06:55:39.965 DEBUG fixture_setup:49 - Deleting file.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_context_menu.py", line 78, in test_delete_file
    file_name = os.path.basename(self.make_file_in_home())
  File "/home/phablet/autopilot/filemanager/tests/__init__.py", line 173, in make_file_in_home
    return self.make_content_in_home('file')
  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