Testcase: test_cancel_delete_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_cancel_delete_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:29:32 ubuntu-phablet kernel: [  184.413513] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.414062] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.414611] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.415161] bq27541_get_capacity = 100% ret= 100
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.415710] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.416839] bq27541_get_psp current = 60 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.417724] bq27541_get_capacity = 100% ret= 100
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.418426] bq27541_get_psp status: Full ret= 0x10ac
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.418823] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.419616] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.421142] bq27541_get_capacity = 57% ret= 60
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.421539] bq27541_get_psp current = -1 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.422363] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.422760] bq27541_get_psp error: temperature ret=4268, old_temp=222 
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.422790] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.424011] bq27541_get_psp status: Charging ret= 0x0eeb
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.425018] bq27541_get_psp current = 60 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.426025] bq27541_get_psp status: Charging ret= 0x0200
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.426574] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.427124] bq27541_get_capacity = 100% ret= 100
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.427673] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.428802] bq27541_get_psp current = 60 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.431335] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.431884] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.432434] bq27541_get_capacity = 100% ret= 100
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.433013] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.435394] bq27541_get_psp current = 60 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.440795] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.443664] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.449310] bq27541_get_psp current = 60 mA
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.450134] bq27541_get_psp voltage_now= 4268000 uV
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.450805] bq27541_get_capacity = 100% ret= 100
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.451446] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.527557] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.527984] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4274000
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.528350] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep 13 08:29:32 ubuntu-phablet kernel: [  184.528656] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
Sep 13 08:30:18 ubuntu-phablet kernel: [  230.506744] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -67, countryCode US
Sep 13 08:30:18 ubuntu-phablet kernel: [  230.508911] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
1, rssi = -64, countryCode US
Sep 13 08:30:18 ubuntu-phablet kernel: [  230.509490] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -46, countryCode US
Sep 13 08:30:18 ubuntu-phablet kernel: [  230.509979] wlan: [1394:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -46, countryCode US
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.545562] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.546264] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.546905] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.547546] bq27541_get_capacity = 100% ret= 100
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.548187] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.549407] bq27541_get_psp current = 211 mA
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.561706] bq27541_get_capacity = 100% ret= 100
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.562866] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.564208] bq27541_get_psp current = 211 mA
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.565002] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.565795] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.630218] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.630767] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.631347] bq27541_get_capacity = 100% ret= 100
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.631896] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.632995] bq27541_get_psp current = 211 mA
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.634918] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.635498] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.637298] bq27541_get_capacity = 100% ret= 100
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.637847] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.638977] bq27541_get_psp current = 211 mA
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.645660] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.648864] bq27541_get_psp status: Full ret= 0x0200
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.650573] bq27541_get_psp current = 211 mA
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.651245] bq27541_get_psp voltage_now= 4280000 uV
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.651885] bq27541_get_capacity = 100% ret= 100
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.652526] bq27541_get_psp temperature= 222 (0.1¢XC)
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.701812] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.702056] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4268000
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.702453] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Sep 13 08:30:32 ubuntu-phablet kernel: [  244.702697] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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

test-log: {{{
08:29:31.207 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:29:31.214 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
08:29:31.215 DEBUG __init__:89 - Directory Listing for HOME
[]
08:29:31.216 DEBUG __init__:90 - File count in HOME is 0
08:29:31.217 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
08:29:31.217 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
08:29:32.000 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.275' with URIs '' via upstart-app-launch
08:29:41.233 DEBUG fixture_setup:42 - Created temporary file /tmp/tmp176mepbs/tmpfm5tkpzxtl in /tmp/tmp176mepbs.
08:29:41.234 DEBUG __init__:191 - Directory Listing for HOME
['tmpfm5tkpzxtl', '.local', '.cache', '.config']
08:29:41.386 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:42.496 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:43.590 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:44.697 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:45.782 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:46.887 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:47.971 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:49.075 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:50.160 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:51.272 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:52.361 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:53.459 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:54.563 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:55.651 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:56.780 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:57.894 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:29:59.004 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:00.119 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:01.222 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:02.317 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:03.409 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:04.516 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:05.631 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:06.722 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:07.825 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:08.913 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:10.020 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:11.122 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:12.219 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:13.318 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:14.418 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:15.502 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:16.590 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:17.693 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:18.751 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:19.842 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:20.931 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:22.058 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:23.150 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:24.241 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:25.354 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:26.457 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:27.556 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:28.648 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:29.762 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:30.850 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:31.956 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:33.041 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:34.137 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:35.253 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:36.357 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:37.437 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:38.530 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:39.641 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:40.739 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:41.838 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:42.943 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:44.030 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:45.123 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:46.233 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:47.345 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
08:30:48.244 INFO logging:45 - TemporaryFileInDirectory: Delete a file, if it exists. Arguments ('/tmp/tmp176mepbs/tmpfm5tkpzxtl',). Keyword
arguments: {}.
08:30:48.245 DEBUG fixture_setup:49 - Deleting file.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 219, in test_cancel_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