Testcase: test_delete_file(with touch)

Build #:26:20140905: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  6 00:36:32 ubuntu-phablet kernel: [   97.394689] wlan: [1406:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Sep  6 00:37:22 ubuntu-phablet kernel: [  147.578147] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -72, countryCode US
Sep  6 00:37:22 ubuntu-phablet kernel: [  147.579001] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -60, countryCode US
Sep  6 00:37:22 ubuntu-phablet kernel: [  147.581931] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dc chan=
161, rssi = -58, countryCode US
Sep  6 00:37:22 ubuntu-phablet kernel: [  147.582633] wlan: [1406:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -58, 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/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmphd0js9sb
Location:  "/tmp/tmphd0js9sb"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmphd0js9sb"
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: {{{
00:36:31.028 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
00:36:31.056 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
00:36:31.058 DEBUG __init__:89 - Directory Listing for HOME
[]
00:36:31.061 DEBUG __init__:90 - File count in HOME is 0
00:36:31.064 INFO logging:45 - ContextMenuTestCase: launch_test_click. Arguments (). Keyword arguments: {}.
00:36:31.065 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
00:36:31.853 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
00:36:42.814 DEBUG fixture_setup:42 - Created temporary file /tmp/tmphd0js9sb/tmpfmlk90_sdl in /tmp/tmphd0js9sb.
00:36:42.816 DEBUG __init__:191 - Directory Listing for HOME
['tmpfmlk90_sdl', '.local', '.cache', '.config']
00:36:42.982 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:44.092 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:45.139 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:46.274 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:47.374 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:48.470 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:49.582 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:50.672 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:51.764 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:52.863 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:53.970 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:55.062 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:56.156 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:57.251 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:58.364 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:36:59.454 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:00.558 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:01.655 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:02.758 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:03.853 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:04.946 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:06.034 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:07.138 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:08.234 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:09.324 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:10.433 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:11.542 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:12.634 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:13.711 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:14.814 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:15.909 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:17.004 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:18.102 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:19.201 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:20.301 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:21.389 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:22.495 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:23.605 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:24.710 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:25.804 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:26.925 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:28.028 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:29.145 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:30.237 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:31.324 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:32.432 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:33.541 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:34.635 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:35.739 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:36.832 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:37.925 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:39.038 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:40.146 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:41.265 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:42.379 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:43.463 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:44.553 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:45.661 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:46.768 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:47.882 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:48.987 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
00:37:49.884 INFO logging:45 - TemporaryFileInDirectory: Delete a file, if it exists. Arguments ('/tmp/tmphd0js9sb/tmpfmlk90_sdl',). Keyword
arguments: {}.
00:37:49.885 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