Testcase: test_cut_file(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_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 13 08:31:32 ubuntu-phablet kernel: [  304.841064] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.841796] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.842498] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.843109] bq27541_get_capacity = 100% ret= 100
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.843749] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.844970] bq27541_get_psp current = 211 mA
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.851501] bq27541_get_capacity = 100% ret= 100
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.859863] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.865295] bq27541_get_psp current = 211 mA
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.866241] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.878692] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.939666] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.940216] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.940765] bq27541_get_capacity = 100% ret= 100
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.941345] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.942443] bq27541_get_psp current = 211 mA
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.944427] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.944976] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.945495] bq27541_get_capacity = 100% ret= 100
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.946044] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.947113] bq27541_get_psp current = 199 mA
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.955444] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.956878] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.958343] bq27541_get_psp current = 199 mA
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.958984] bq27541_get_psp voltage_now= 4281000 uV
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.960021] bq27541_get_capacity = 100% ret= 100
Sep 13 08:31:32 ubuntu-phablet kernel: [  304.960632] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:31:32 ubuntu-phablet kernel: [  305.007812] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep 13 08:31:32 ubuntu-phablet kernel: [  305.008056] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4280000
Sep 13 08:31:32 ubuntu-phablet kernel: [  305.008422] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep 13 08:31:32 ubuntu-phablet kernel: [  305.008728] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Sep 13 08:32:01 ubuntu-phablet kernel: [  333.514801] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -67, countryCode US
Sep 13 08:32:01 ubuntu-phablet kernel: [  333.516998] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e3 chan=
1, rssi = -65, countryCode US
Sep 13 08:32:01 ubuntu-phablet kernel: [  333.517730] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -48, countryCode US
Sep 13 08:32:01 ubuntu-phablet kernel: [  333.518188] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -48, countryCode US
}}}

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

test-log: {{{
08:30:48.906 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:30:48.915 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:30:48.916 DEBUG __init__:89 - Directory Listing for HOME
[]
08:30:48.917 DEBUG __init__:90 - File count in HOME is 0
08:30:48.918 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
08:30:48.919 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
08:30:49.703 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.275' with URIs '' via upstart-app-launch
08:30:58.939 DEBUG fixture_setup:68 - Created temporary directory /tmp/tmpjixqfc9f/tmpfmyhbmuwht in parent directory /tmp/tmpjixqfc9f
08:30:58.943 DEBUG __init__:191 - Directory Listing for HOME
['tmpfmyhbmuwht', '.local', '.cache', '.config']
08:30:59.068 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:00.196 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:01.299 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:02.411 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:03.501 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:04.621 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:05.713 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:06.826 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:07.942 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:09.040 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:10.152 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:11.258 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:12.341 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:13.439 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:14.530 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:15.642 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:16.730 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:17.832 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:18.921 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:20.029 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:21.152 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:22.271 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:23.360 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:24.450 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:25.556 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:26.663 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:27.769 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:28.881 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:30.012 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:31.115 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:32.205 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:33.252 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:34.350 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:35.455 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:36.557 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:37.664 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:38.792 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:39.895 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:41.000 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:42.112 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:43.210 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:44.302 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:45.405 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:46.510 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:47.600 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:48.705 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:49.806 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:50.910 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:52.025 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:53.142 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:54.191 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:55.282 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:56.387 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:57.472 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:58.583 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:31:59.687 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:00.776 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:01.833 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:02.939 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:04.045 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:05.149 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:32:06.041 INFO logging:45 - TemporaryDirectoryInDirectory: Delete a directory, if it exists. Arguments ('/tmp/tmpjixqfc9f/tmpfmyhbmuwht',). Keyword
arguments: {}.
08:32:06.042 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