Testcase: test_filemanager.TestFolderListPage.test_rename_directory

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

Test case data

testcase
test_filemanager.TestFolderListPage.test_rename_directory
testsuite
/tmp/tmp8BtR_d/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

06:53:16.920 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu1
06:53:16.954 DEBUG __init__:52 - Running via click package
06:53:16.955 DEBUG __init__:82 - Created root test directory /home/phablet/tmprZe1rN
06:53:16.956 INFO testcase:454 - Setting environment variable 'TESTHOME' to '/home/phablet/tmprZe1rN'
06:53:16.956 DEBUG __init__:84 - Patched root test directory /home/phablet/tmprZe1rN
06:53:17.286 INFO globals:56 - ************************************************************
06:53:17.289 INFO globals:57 - Starting test ubuntu_filemanager_app.tests.test_filemanager.TestFolderListPage.test_rename_directory (with touch)
06:53:17.291 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:53:17.498 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
maliit-server stop/waiting
06:53:17.662 DEBUG __init__:73 - Directory Listing for TESTHOME
[]
06:53:17.665 DEBUG __init__:74 - File count in TESTHOME is 0
initctl: Unknown instance: com.ubuntu.filemanager_filemanager_0.1.1.95
06:53:20.614 INFO testcase:352 - Click package com.ubuntu.filemanager_filemanager_0.1.1.95 has been launched with PID 4733
06:53:23.686 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:23.770 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:23.830 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:53:23.832 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:53:23.898 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:53:23.966 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:24.091 DEBUG test_filemanager:125 - Using places to goto /home/phablet/tmprZe1rN on Nexus 4
06:53:24.092 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('places',). Keyword arguments: {}.
06:53:24.093 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'places'}
06:53:24.262 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:24.264 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:53:24.331 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:24.333 DEBUG _uinput:332 - Tapping at: 687,1208
06:53:24.436 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:24.765 DEBUG dbus:431 - Selecting objects of type Popover with attributes: {}
06:53:24.828 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
06:53:25.088 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:53:25.140 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:25.141 DEBUG _uinput:332 - Tapping at: 510,114
06:53:25.278 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:25.279 DEBUG _uinput:332 - Tapping at: 483,114
06:53:25.453 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
06:53:25.772 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:25.773 DEBUG _uinput:332 - Tapping at: 285,114
06:53:25.875 DEBUG _uinput:135 - Typing text '/home/phablet/tmprZe1rN'
06:53:25.875 DEBUG _uinput:80 - Pressing / (53)
06:53:25.977 DEBUG _uinput:103 - Releasing / (53)
06:53:26.080 DEBUG _uinput:80 - Pressing h (35)
06:53:26.187 DEBUG _uinput:103 - Releasing h (35)
06:53:26.288 DEBUG _uinput:80 - Pressing o (24)
06:53:26.394 DEBUG _uinput:103 - Releasing o (24)
06:53:26.496 DEBUG _uinput:80 - Pressing m (50)
06:53:26.615 DEBUG _uinput:103 - Releasing m (50)
06:53:26.717 DEBUG _uinput:80 - Pressing e (18)
06:53:26.818 DEBUG _uinput:103 - Releasing e (18)
06:53:26.920 DEBUG _uinput:80 - Pressing / (53)
06:53:27.030 DEBUG _uinput:103 - Releasing / (53)
06:53:27.132 DEBUG _uinput:80 - Pressing p (25)
06:53:27.243 DEBUG _uinput:103 - Releasing p (25)
06:53:27.344 DEBUG _uinput:80 - Pressing h (35)
06:53:27.454 DEBUG _uinput:103 - Releasing h (35)
06:53:27.559 DEBUG _uinput:80 - Pressing a (30)
06:53:27.671 DEBUG _uinput:103 - Releasing a (30)
06:53:27.772 DEBUG _uinput:80 - Pressing b (48)
06:53:27.874 DEBUG _uinput:103 - Releasing b (48)
06:53:27.979 DEBUG _uinput:80 - Pressing l (38)
06:53:28.090 DEBUG _uinput:103 - Releasing l (38)
06:53:28.191 DEBUG _uinput:80 - Pressing e (18)
06:53:28.302 DEBUG _uinput:103 - Releasing e (18)
06:53:28.404 DEBUG _uinput:80 - Pressing t (20)
06:53:28.512 DEBUG _uinput:103 - Releasing t (20)
06:53:28.613 DEBUG _uinput:80 - Pressing / (53)
06:53:28.714 DEBUG _uinput:103 - Releasing / (53)
06:53:28.818 DEBUG _uinput:80 - Pressing t (20)
06:53:28.920 DEBUG _uinput:103 - Releasing t (20)
06:53:29.022 DEBUG _uinput:80 - Pressing m (50)
06:53:29.124 DEBUG _uinput:103 - Releasing m (50)
06:53:29.226 DEBUG _uinput:80 - Pressing p (25)
06:53:29.329 DEBUG _uinput:103 - Releasing p (25)
06:53:29.431 DEBUG _uinput:80 - Pressing r (19)
06:53:29.534 DEBUG _uinput:103 - Releasing r (19)
06:53:29.635 DEBUG _uinput:80 - Pressing Z (42)
06:53:29.738 DEBUG _uinput:80 - Pressing Z (44)
06:53:29.846 DEBUG _uinput:103 - Releasing Z (42)
06:53:29.951 DEBUG _uinput:103 - Releasing Z (44)
06:53:30.052 DEBUG _uinput:80 - Pressing e (18)
06:53:30.165 DEBUG _uinput:103 - Releasing e (18)
06:53:30.267 DEBUG _uinput:80 - Pressing 1 (2)
06:53:30.370 DEBUG _uinput:103 - Releasing 1 (2)
06:53:30.478 DEBUG _uinput:80 - Pressing r (19)
06:53:30.581 DEBUG _uinput:103 - Releasing r (19)
06:53:30.688 DEBUG _uinput:80 - Pressing N (42)
06:53:30.791 DEBUG _uinput:80 - Pressing N (49)
06:53:30.916 DEBUG _uinput:103 - Releasing N (42)
06:53:31.018 DEBUG _uinput:103 - Releasing N (49)
06:53:31.182 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'okButton'}
06:53:31.458 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:31.459 DEBUG _uinput:332 - Tapping at: 636,114
06:53:31.563 DEBUG test_filemanager:64 - Created /home/phablet/tmprZe1rN/tmpfmMumP0L, a directory in TESTHOME
06:53:31.563 DEBUG test_filemanager:68 - Directory Listing for TESTHOME
['tmpfmMumP0L']
06:53:31.564 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:31.659 DEBUG dbus:431 - Selecting objects of type FolderListPage with attributes: {}
06:53:31.731 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
06:53:31.797 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
06:53:31.872 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'directoryHeader'}
06:53:32.028 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:32.087 DEBUG dbus:431 - Selecting objects of type FolderListPage with attributes: {}
06:53:32.131 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
06:53:32.239 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
06:53:32.337 DEBUG dbus:431 - Selecting objects of type FolderListDelegate with attributes: {}
06:53:32.543 DEBUG dbus:431 - Selecting objects of type FolderListView with attributes: {}
06:53:32.659 DEBUG test_filemanager:153 - Performing Rename on file <ubuntu_filemanager_app.emulators.FolderListDelegate object at 0x2560130>
06:53:32.690 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:32.690 DEBUG _uinput:346 - Pressing at: 384,357
06:53:33.697 DEBUG _uinput:351 - Releasing
06:53:33.698 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:33.749 DEBUG dbus:431 - Selecting objects of type ActionSelectionPopover with attributes: {'objectName': 'fileActionsPopover'}
06:53:34.279 DEBUG dbus:431 - Selecting objects of type Empty with attributes: {}
06:53:34.535 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:34.536 DEBUG _uinput:332 - Tapping at: 384,819
06:53:34.637 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:34.748 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
06:53:34.777 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
06:53:34.819 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:34.857 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
06:53:34.884 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
06:53:34.934 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
06:53:35.025 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:53:35.071 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:35.072 DEBUG _uinput:332 - Tapping at: 636,623
06:53:35.203 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:35.204 DEBUG _uinput:332 - Tapping at: 609,623
06:53:35.405 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'inputField'}
06:53:35.579 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:35.580 DEBUG _uinput:332 - Tapping at: 384,623
06:53:35.683 DEBUG _uinput:135 - Typing text 'Renamed directory'
06:53:35.684 DEBUG _uinput:80 - Pressing R (42)
06:53:35.785 DEBUG _uinput:80 - Pressing R (19)
06:53:35.887 DEBUG _uinput:103 - Releasing R (42)
06:53:35.996 DEBUG _uinput:103 - Releasing R (19)
06:53:36.101 DEBUG _uinput:80 - Pressing e (18)
06:53:36.204 DEBUG _uinput:103 - Releasing e (18)
06:53:36.309 DEBUG _uinput:80 - Pressing n (49)
06:53:36.410 DEBUG _uinput:103 - Releasing n (49)
06:53:36.511 DEBUG _uinput:80 - Pressing a (30)
06:53:36.612 DEBUG _uinput:103 - Releasing a (30)
06:53:36.714 DEBUG _uinput:80 - Pressing m (50)
06:53:36.815 DEBUG _uinput:103 - Releasing m (50)
06:53:36.922 DEBUG _uinput:80 - Pressing e (18)
06:53:37.041 DEBUG _uinput:103 - Releasing e (18)
06:53:37.149 DEBUG _uinput:80 - Pressing d (32)
06:53:37.258 DEBUG _uinput:103 - Releasing d (32)
06:53:37.360 DEBUG _uinput:80 - Pressing (57)
06:53:37.469 DEBUG _uinput:103 - Releasing (57)
06:53:37.574 DEBUG _uinput:80 - Pressing d (32)
06:53:37.683 DEBUG _uinput:103 - Releasing d (32)
06:53:37.789 DEBUG _uinput:80 - Pressing i (23)
06:53:37.897 DEBUG _uinput:103 - Releasing i (23)
06:53:37.998 DEBUG _uinput:80 - Pressing r (19)
06:53:38.099 DEBUG _uinput:103 - Releasing r (19)
06:53:38.211 DEBUG _uinput:80 - Pressing e (18)
06:53:38.319 DEBUG _uinput:103 - Releasing e (18)
06:53:38.425 DEBUG _uinput:80 - Pressing c (46)
06:53:38.540 DEBUG _uinput:103 - Releasing c (46)
06:53:38.646 DEBUG _uinput:80 - Pressing t (20)
06:53:38.754 DEBUG _uinput:103 - Releasing t (20)
06:53:38.862 DEBUG _uinput:80 - Pressing o (24)
06:53:38.973 DEBUG _uinput:103 - Releasing o (24)
06:53:39.075 DEBUG _uinput:80 - Pressing r (19)
06:53:39.188 DEBUG _uinput:103 - Releasing r (19)
06:53:39.293 DEBUG _uinput:80 - Pressing y (21)
06:53:39.401 DEBUG _uinput:103 - Releasing y (21)
06:53:39.589 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'okButton'}
06:53:39.710 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:53:39.713 DEBUG _uinput:332 - Tapping at: 384,740
06:53:39.822 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:53:39.890 DEBUG dbus:431 - Selecting objects of type ConfirmDialog with attributes: {}
06:53:39.916 DEBUG dbus:431 - Selecting objects of type ConfirmDialogWithInput with attributes: {}
06:53:39.964 DEBUG test_filemanager:181 - Cleanup; checking to remove /home/phablet/tmprZe1rN/Renamed directory directory
06:53:39.966 DEBUG test_filemanager:183 - Removing /home/phablet/tmprZe1rN/Renamed directory directory
06:53:39.967 DEBUG test_filemanager:181 - Cleanup; checking to remove /home/phablet/tmprZe1rN/tmpfmMumP0L directory
06:53:39.968 INFO testcase:540 - waiting for process to exit.
06:53:39.969 INFO testcase:542 - Killing process 4733
06:53:40.975 INFO testcase:441 - Deleting previously-created environment variable 'TESTHOME'
06:53:40.996 ERROR testresult:37 - ERROR: ubuntu_filemanager_app.tests.test_filemanager.TestFolderListPage.test_rename_directory(with touch)
06:53:41.000 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