Testcase: test_filemanager.TestFolderListPage.test_rename_directory

Build #:50:20131206:20131203
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_filemanager.TestFolderListPage.test_rename_directory
testsuite
/tmp/tmp9haiDh/testsuites/ubuntu-filemanager-app-autopilot
returncode
1
command
autopilot-run ubuntu_filemanager_app.tests.test_filemanager.TestFolderListPage.test_rename_directory
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

15:09:10.847 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu1
15:09:10.877 DEBUG __init__:52 - Running via click package
15:09:10.878 DEBUG __init__:82 - Created root test directory /home/phablet/tmpiRmQjT
15:09:10.878 INFO testcase:454 - Setting environment variable 'TESTHOME' to '/home/phablet/tmpiRmQjT'
15:09:10.879 DEBUG __init__:84 - Patched root test directory /home/phablet/tmpiRmQjT
15:09:11.227 INFO globals:56 - ************************************************************
15:09:11.228 INFO globals:57 - Starting test ubuntu_filemanager_app.tests.test_filemanager.TestFolderListPage.test_rename_directory (with touch)
15:09:11.229 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
15:09:11.428 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
maliit-server stop/waiting
15:09:11.691 DEBUG __init__:73 - Directory Listing for TESTHOME
[]
15:09:11.693 DEBUG __init__:74 - File count in TESTHOME is 0
initctl: Unknown instance: com.ubuntu.filemanager_filemanager_0.1.1.95
15:09:14.586 INFO testcase:352 - Click package com.ubuntu.filemanager_filemanager_0.1.1.95 has been launched with PID 4951
15:09:17.305 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:17.385 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:17.427 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:09:17.428 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
15:09:17.472 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:09:17.527 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:17.658 DEBUG test_filemanager:125 - Using places to goto /home/phablet/tmpiRmQjT on Nexus 4
15:09:17.660 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('places',). Keyword arguments: {}.
15:09:17.661 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'places'}
15:09:17.793 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:17.794 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
15:09:17.897 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:17.899 DEBUG _uinput:332 - Tapping at: 687,1208
15:09:18.002 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:18.328 DEBUG dbus:431 - Selecting objects of type Popover with attributes: {}
15:09:18.425 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
15:09:18.748 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
15:09:18.830 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:18.831 DEBUG _uinput:332 - Tapping at: 510,114
15:09:18.979 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:18.980 DEBUG _uinput:332 - Tapping at: 483,114
15:09:19.136 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
15:09:19.486 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:19.487 DEBUG _uinput:332 - Tapping at: 285,114
15:09:19.589 DEBUG _uinput:135 - Typing text '/home/phablet/tmpiRmQjT'
15:09:19.590 DEBUG _uinput:80 - Pressing / (53)
15:09:19.691 DEBUG _uinput:103 - Releasing / (53)
15:09:19.792 DEBUG _uinput:80 - Pressing h (35)
15:09:19.908 DEBUG _uinput:103 - Releasing h (35)
15:09:20.009 DEBUG _uinput:80 - Pressing o (24)
15:09:20.116 DEBUG _uinput:103 - Releasing o (24)
15:09:20.218 DEBUG _uinput:80 - Pressing m (50)
15:09:20.326 DEBUG _uinput:103 - Releasing m (50)
15:09:20.428 DEBUG _uinput:80 - Pressing e (18)
15:09:20.540 DEBUG _uinput:103 - Releasing e (18)
15:09:20.642 DEBUG _uinput:80 - Pressing / (53)
15:09:20.751 DEBUG _uinput:103 - Releasing / (53)
15:09:20.853 DEBUG _uinput:80 - Pressing p (25)
15:09:20.968 DEBUG _uinput:103 - Releasing p (25)
15:09:21.069 DEBUG _uinput:80 - Pressing h (35)
15:09:21.185 DEBUG _uinput:103 - Releasing h (35)
15:09:21.291 DEBUG _uinput:80 - Pressing a (30)
15:09:21.402 DEBUG _uinput:103 - Releasing a (30)
15:09:21.503 DEBUG _uinput:80 - Pressing b (48)
15:09:21.613 DEBUG _uinput:103 - Releasing b (48)
15:09:21.714 DEBUG _uinput:80 - Pressing l (38)
15:09:21.834 DEBUG _uinput:103 - Releasing l (38)
15:09:21.936 DEBUG _uinput:80 - Pressing e (18)
15:09:22.052 DEBUG _uinput:103 - Releasing e (18)
15:09:22.154 DEBUG _uinput:80 - Pressing t (20)
15:09:22.269 DEBUG _uinput:103 - Releasing t (20)
15:09:22.371 DEBUG _uinput:80 - Pressing / (53)
15:09:22.475 DEBUG _uinput:103 - Releasing / (53)
15:09:22.581 DEBUG _uinput:80 - Pressing t (20)
15:09:22.697 DEBUG _uinput:103 - Releasing t (20)
15:09:22.798 DEBUG _uinput:80 - Pressing m (50)
15:09:22.909 DEBUG _uinput:103 - Releasing m (50)
15:09:23.011 DEBUG _uinput:80 - Pressing p (25)
15:09:23.121 DEBUG _uinput:103 - Releasing p (25)
15:09:23.222 DEBUG _uinput:80 - Pressing i (23)
15:09:23.332 DEBUG _uinput:103 - Releasing i (23)
15:09:23.434 DEBUG _uinput:80 - Pressing R (42)
15:09:23.540 DEBUG _uinput:80 - Pressing R (19)
15:09:23.642 DEBUG _uinput:103 - Releasing R (42)
15:09:23.743 DEBUG _uinput:103 - Releasing R (19)
15:09:23.848 DEBUG _uinput:80 - Pressing m (50)
15:09:23.960 DEBUG _uinput:103 - Releasing m (50)
15:09:24.061 DEBUG _uinput:80 - Pressing Q (42)
15:09:24.165 DEBUG _uinput:80 - Pressing Q (16)
15:09:24.288 DEBUG _uinput:103 - Releasing Q (42)
15:09:24.389 DEBUG _uinput:103 - Releasing Q (16)
15:09:24.491 DEBUG _uinput:80 - Pressing j (36)
15:09:24.594 DEBUG _uinput:103 - Releasing j (36)
15:09:24.695 DEBUG _uinput:80 - Pressing T (42)
15:09:24.797 DEBUG _uinput:80 - Pressing T (20)
15:09:24.921 DEBUG _uinput:103 - Releasing T (42)
15:09:25.022 DEBUG _uinput:103 - Releasing T (20)
15:09:25.216 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'okButton'}
15:09:25.479 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:25.480 DEBUG _uinput:332 - Tapping at: 636,114
15:09:25.583 DEBUG test_filemanager:64 - Created /home/phablet/tmpiRmQjT/tmpfmbpcRTB, a directory in TESTHOME
15:09:25.584 DEBUG test_filemanager:68 - Directory Listing for TESTHOME
['tmpfmbpcRTB']
15:09:25.584 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:25.675 DEBUG dbus:431 - Selecting objects of type FolderListPage with attributes: {}
15:09:25.748 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
15:09:25.823 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
15:09:25.899 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'directoryHeader'}
15:09:25.987 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:26.023 DEBUG dbus:431 - Selecting objects of type FolderListPage with attributes: {}
15:09:26.101 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
15:09:26.167 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
15:09:26.223 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
15:09:26.348 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
15:09:26.478 DEBUG test_filemanager:153 - Performing Rename on file <ubuntu_filemanager_app.emulators.FolderListDelegate object at 0x12b8e70>
15:09:26.514 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:26.515 DEBUG _uinput:346 - Pressing at: 384,357
15:09:27.519 DEBUG _uinput:351 - Releasing
15:09:27.523 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:27.581 DEBUG dbus:431 - Selecting objects of type ActionSelectionPopover with attributes: {'objectName': 'fileActionsPopover'}
15:09:28.142 DEBUG dbus:431 - Selecting objects of type Empty with attributes: {}
15:09:28.417 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:28.418 DEBUG _uinput:332 - Tapping at: 384,819
15:09:28.525 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:28.688 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
15:09:28.714 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
15:09:28.764 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:28.814 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
15:09:28.859 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
15:09:28.908 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
15:09:29.005 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
15:09:29.069 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:29.071 DEBUG _uinput:332 - Tapping at: 636,623
15:09:29.197 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:29.198 DEBUG _uinput:332 - Tapping at: 609,623
15:09:29.352 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
15:09:29.545 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:29.546 DEBUG _uinput:332 - Tapping at: 384,623
15:09:29.648 DEBUG _uinput:135 - Typing text 'Renamed directory'
15:09:29.649 DEBUG _uinput:80 - Pressing R (42)
15:09:29.756 DEBUG _uinput:80 - Pressing R (19)
15:09:29.869 DEBUG _uinput:103 - Releasing R (42)
15:09:29.975 DEBUG _uinput:103 - Releasing R (19)
15:09:30.082 DEBUG _uinput:80 - Pressing e (18)
15:09:30.187 DEBUG _uinput:103 - Releasing e (18)
15:09:30.294 DEBUG _uinput:80 - Pressing n (49)
15:09:30.407 DEBUG _uinput:103 - Releasing n (49)
15:09:30.511 DEBUG _uinput:80 - Pressing a (30)
15:09:30.617 DEBUG _uinput:103 - Releasing a (30)
15:09:30.720 DEBUG _uinput:80 - Pressing m (50)
15:09:30.834 DEBUG _uinput:103 - Releasing m (50)
15:09:30.940 DEBUG _uinput:80 - Pressing e (18)
15:09:31.048 DEBUG _uinput:103 - Releasing e (18)
15:09:31.150 DEBUG _uinput:80 - Pressing d (32)
15:09:31.258 DEBUG _uinput:103 - Releasing d (32)
15:09:31.359 DEBUG _uinput:80 - Pressing (57)
15:09:31.473 DEBUG _uinput:103 - Releasing (57)
15:09:31.578 DEBUG _uinput:80 - Pressing d (32)
15:09:31.687 DEBUG _uinput:103 - Releasing d (32)
15:09:31.788 DEBUG _uinput:80 - Pressing i (23)
15:09:31.896 DEBUG _uinput:103 - Releasing i (23)
15:09:32.001 DEBUG _uinput:80 - Pressing r (19)
15:09:32.109 DEBUG _uinput:103 - Releasing r (19)
15:09:32.216 DEBUG _uinput:80 - Pressing e (18)
15:09:32.329 DEBUG _uinput:103 - Releasing e (18)
15:09:32.432 DEBUG _uinput:80 - Pressing c (46)
15:09:32.540 DEBUG _uinput:103 - Releasing c (46)
15:09:32.646 DEBUG _uinput:80 - Pressing t (20)
15:09:32.756 DEBUG _uinput:103 - Releasing t (20)
15:09:32.862 DEBUG _uinput:80 - Pressing o (24)
15:09:32.973 DEBUG _uinput:103 - Releasing o (24)
15:09:33.075 DEBUG _uinput:80 - Pressing r (19)
15:09:33.184 DEBUG _uinput:103 - Releasing r (19)
15:09:33.290 DEBUG _uinput:80 - Pressing y (21)
15:09:33.404 DEBUG _uinput:103 - Releasing y (21)
15:09:33.590 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'okButton'}
15:09:33.696 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:09:33.696 DEBUG _uinput:332 - Tapping at: 384,740
15:09:33.798 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
15:09:33.867 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
15:09:33.905 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
15:09:33.961 DEBUG test_filemanager:181 - Cleanup; checking to remove /home/phablet/tmpiRmQjT/Renamed directory directory
15:09:33.963 DEBUG test_filemanager:183 - Removing /home/phablet/tmpiRmQjT/Renamed directory directory
15:09:33.965 DEBUG test_filemanager:181 - Cleanup; checking to remove /home/phablet/tmpiRmQjT/tmpfmbpcRTB directory
15:09:33.966 INFO testcase:540 - waiting for process to exit.
15:09:33.967 INFO testcase:542 - Killing process 4951
15:09:34.974 INFO testcase:441 - Deleting previously-created environment variable 'TESTHOME'
15:09:34.995 ERROR testresult:37 - ERROR: ubuntu_filemanager_app.tests.test_filemanager.TestFolderListPage.test_rename_directory(with touch)
15:09:34.998 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_filemanager_app/tests/test_filemanager.py", line 235, in test_rename_directory
self.main_view.get_confirm_dialog()
File "/home/phablet/autopilot/ubuntu_filemanager_app/emulators.py", line 87, in get_confirm_dialog
dialog = self.select_single(ConfirmDialogWithInput)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 322, in select_single
raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class '<class 'ubuntu_filemanager_app.emulators.ConfirmDialogWithInput'>'.
}}}
ADB_RC=1
command_type
testcase_test