Testcase: test_create_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_create_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:56:03 ubuntu-phablet kernel: [  429.573660] input: py-evdev-uinput as /devices/virtual/input/input7
Sep  7 06:56:03 ubuntu-phablet kernel: [  429.574332] keychord: using input dev py-evdev-uinput for fevent
Sep  7 06:56:26 ubuntu-phablet kernel: [  452.623103] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -73, countryCode US
Sep  7 06:56:26 ubuntu-phablet kernel: [  452.623927] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e1 chan=
1, rssi = -72, countryCode US
Sep  7 06:56:26 ubuntu-phablet kernel: [  452.624721] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Sep  7 06:56:26 ubuntu-phablet kernel: [  452.626522] wlan: [1423:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -57, countryCode US
Sep  7 06:56:26 ubuntu-phablet kernel: [  452.627254] 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)
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)
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/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
bool PamAuthentication::requireAuthentication() Querying if authentication required
bool PamAuthentication::requireAuthentication() Return value true
qml: Path changed to: /tmp/tmp3uefx0gl
Location:  "/tmp/tmp3uefx0gl"
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  ""
Location:  "/"
Location:  "/tmp/tmp3uefx0gl"
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)
qml: Actions
qml: Create New Folder
qml: Key pressed!
qml: Key pressed!
qml: Create folder accepted Test Directory
void DirModel::mkdir(const QString&) Access denied in current path "/tmp/tmp3uefx0gl"
}}}

test-log: {{{
06:55:40.693 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:55:40.701 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:55:40.702 DEBUG __init__:89 - Directory Listing for HOME
[]
06:55:40.703 DEBUG __init__:90 - File count in HOME is 0
06:55:40.704 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
06:55:40.705 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.filemanager' and URIs ''
06:55:41.543 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.filemanager_filemanager_0.3.264' with URIs '' via upstart-app-launch
06:55:51.130 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:51.197 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:51.251 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('actions',). Keyword arguments: {}.
06:55:51.381 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:55:51.382 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:51.464 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:55:51.465 DEBUG _uinput:470 - Tapping at: 471,1212
06:55:52.488 DEBUG dbus:352 - Selecting objects of type Empty with attributes: {}
06:55:52.640 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:55:52.641 DEBUG _uinput:470 - Tapping at: 384,962
06:56:04.090 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:56:04.090 DEBUG _uinput:470 - Tapping at: 384,642
06:56:04.323 DEBUG _uinput:195 - Typing text 'Test Directory'
06:56:04.324 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
06:56:04.426 DEBUG _uinput:57 - Pressing T (20).
06:56:04.527 DEBUG _uinput:88 - Releasing T (20).
06:56:04.630 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
06:56:04.735 DEBUG _uinput:57 - Pressing e (18).
06:56:04.839 DEBUG _uinput:88 - Releasing e (18).
06:56:04.943 DEBUG _uinput:57 - Pressing s (31).
06:56:05.049 DEBUG _uinput:88 - Releasing s (31).
06:56:05.155 DEBUG _uinput:57 - Pressing t (20).
06:56:05.261 DEBUG _uinput:88 - Releasing t (20).
06:56:05.367 DEBUG _uinput:57 - Pressing SPACE (57).
06:56:05.474 DEBUG _uinput:88 - Releasing SPACE (57).
06:56:05.579 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
06:56:05.683 DEBUG _uinput:57 - Pressing D (32).
06:56:05.788 DEBUG _uinput:88 - Releasing D (32).
06:56:05.889 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
06:56:05.995 DEBUG _uinput:57 - Pressing i (23).
06:56:06.100 DEBUG _uinput:88 - Releasing i (23).
06:56:06.202 DEBUG _uinput:57 - Pressing r (19).
06:56:06.307 DEBUG _uinput:88 - Releasing r (19).
06:56:06.413 DEBUG _uinput:57 - Pressing e (18).
06:56:06.518 DEBUG _uinput:88 - Releasing e (18).
06:56:06.620 DEBUG _uinput:57 - Pressing c (46).
06:56:06.726 DEBUG _uinput:88 - Releasing c (46).
06:56:06.832 DEBUG _uinput:57 - Pressing t (20).
06:56:06.937 DEBUG _uinput:88 - Releasing t (20).
06:56:07.039 DEBUG _uinput:57 - Pressing o (24).
06:56:07.145 DEBUG _uinput:88 - Releasing o (24).
06:56:07.248 DEBUG _uinput:57 - Pressing r (19).
06:56:07.351 DEBUG _uinput:88 - Releasing r (19).
06:56:07.453 DEBUG _uinput:57 - Pressing y (21).
06:56:07.560 DEBUG _uinput:88 - Releasing y (21).
06:56:07.829 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:56:07.830 DEBUG _uinput:470 - Tapping at: 384,500
06:56:08.114 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:09.215 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:10.319 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:11.421 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:12.521 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:13.615 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:14.715 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:15.820 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:16.930 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:18.040 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:19.149 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:20.257 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:21.363 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:22.468 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:23.581 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:24.688 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:25.792 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:26.933 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:28.097 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:29.185 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:30.275 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:31.350 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:32.438 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:33.547 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:34.652 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:35.761 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:36.862 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:37.962 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:39.068 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:40.171 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:41.280 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:42.386 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:43.489 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:44.599 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:45.704 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:46.826 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:47.922 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:49.023 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:50.133 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:51.244 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:52.342 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:53.433 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:54.526 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:55.634 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:56.726 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:57.816 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:56:58.919 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:00.013 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:01.121 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:02.212 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:03.304 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:04.410 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:05.519 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:06.623 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:07.730 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:08.816 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:09.921 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:11.021 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:12.106 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:13.210 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
06:57:14.320 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
}}}

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