Testcase: test_cancel_rename_file(tar)

Build #:239:20150628:20150529.1
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_cancel_rename_file(tar)
testsuite
filemanager.tests.test_filemanager.TestFolderListPage
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jun 28 14:41:17 ubuntu-phablet powerd[910]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jun 28 14:41:17 ubuntu-phablet powerd[910]: name_watch_add: looking for :1.63
Jun 28 14:41:17 ubuntu-phablet powerd[910]: watching :1.63 to see when it disappears on dbus
Jun 28 14:41:17 ubuntu-phablet powerd[910]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 28 14:41:17 ubuntu-phablet powerd[910]: handle_requestSysState - SUCCESS
Jun 28 14:41:17 ubuntu-phablet powerd[910]: Enqueue state change to ACTIVE
Jun 28 14:41:17 ubuntu-phablet powerd[910]: queue empty && state == current, discarding
Jun 28 14:41:17 ubuntu-phablet powerd[910]: libsuspend: release_wake_lock: powerd_power_request
Jun 28 14:42:16 ubuntu-phablet powerd[910]: worker thread finished waiting for hw alarm
Jun 28 14:42:16 ubuntu-phablet powerd[910]: Emitting wakeup signal
Jun 28 14:42:16 ubuntu-phablet powerd[910]: worker thread is finished working; calling join()
Jun 28 14:42:16 ubuntu-phablet powerd[910]: worker thread is destroyed.
Jun 28 14:42:16 ubuntu-phablet powerd[910]: handle_requestSysState from :1.77 (ubuntu push client) - ACTIVE (1)
Jun 28 14:42:16 ubuntu-phablet powerd[910]: name_watch_add: looking for :1.77
Jun 28 14:42:16 ubuntu-phablet powerd[910]: watching :1.77 to see when it disappears on dbus
Jun 28 14:42:16 ubuntu-phablet powerd[910]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 28 14:42:16 ubuntu-phablet powerd[910]: handle_requestSysState - SUCCESS
Jun 28 14:42:16 ubuntu-phablet powerd[910]: Enqueue state change to ACTIVE
Jun 28 14:42:16 ubuntu-phablet powerd[910]: queue empty && state == current, discarding
Jun 28 14:42:16 ubuntu-phablet powerd[910]: libsuspend: release_wake_lock: powerd_power_request
Jun 28 14:42:21 ubuntu-phablet powerd[910]: handle_requestWakeup from :1.77 - ubuntu push client, 1435502841
Jun 28 14:42:21 ubuntu-phablet powerd[910]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jun 28 14:42:21 ubuntu-phablet powerd[910]: setting hardware wakeup time to 2015-06-28 14:47:21 for ubuntu push client
Jun 28 14:42:21 ubuntu-phablet powerd[910]: starting hardware alarm worker thread
Jun 28 14:42:21 ubuntu-phablet powerd[910]: handle_clearSysState from :1.77, cookie: 46e00f27-80ea-42fa-8665-333ba4a6c43c
Jun 28 14:42:21 ubuntu-phablet powerd[910]: clear_sys_request: ubuntu push client - :1.77
Jun 28 14:42:21 ubuntu-phablet powerd[910]: name_watch_remove: looking for :1.77
Jun 28 14:42:21 ubuntu-phablet powerd[910]: name_watch: ref_count for :1.77 is now 0
Jun 28 14:42:21 ubuntu-phablet powerd[910]: no longer watching :1.77, there are no more requests
Jun 28 14:42:21 ubuntu-phablet powerd[910]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 28 14:42:21 ubuntu-phablet powerd[910]: Enqueue state change to ACTIVE
Jun 28 14:42:21 ubuntu-phablet powerd[910]: queue empty && state == current, discarding
Jun 28 14:42:21 ubuntu-phablet powerd[910]: libsuspend: release_wake_lock: powerd_power_request
Jun 28 14:42:21 ubuntu-phablet powerd[910]: calling wait_for_next_alarm
Jun 28 14:42:37 ubuntu-phablet dhclient: DHCPREQUEST of 10.99.248.36 on wlan0 to 10.99.248.1 port 67 (xid=0x5c354984)
Jun 28 14:42:37 ubuntu-phablet dhclient: DHCPACK of 10.99.248.36 from 10.99.248.1
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info> (wlan0): DHCPv4 state changed renew -> renew
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   address 10.99.248.36
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   plen 22 (255.255.252.0)
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   gateway 10.99.248.1
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   server identifier 10.99.248.1
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   lease time 600
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   nameserver '10.99.248.1'
Jun 28 14:42:37 ubuntu-phablet NetworkManager[1616]: <info>   domain name 'example.org'
Jun 28 14:42:37 ubuntu-phablet dhclient: bound to 10.99.248.36 -- renewal in 250 seconds.
Jun 28 14:42:37 ubuntu-phablet dbus[801]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jun 28 14:42:37 ubuntu-phablet dbus[801]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 28 14:42:37 ubuntu-phablet nm-dispatcher: Dispatching action 'dhcp4-change' for wlan0
Jun 28 14:42:37 ubuntu-phablet /03mmsproxy: Cannot add MMS route, wrong connection name (ubuntu-qa-g-wpa-d)
Jun 28 14:42:57 ubuntu-phablet kernel: [ 2811.038333] send sigkill to 5342 (filemanager), adj 110, size 14105
Jun 28 14:42:58 ubuntu-phablet powerd[910]: handle_clearSysState from :1.63, cookie: deb7c1ba-53f1-48cc-a42c-7e85d2c4174f
Jun 28 14:42:58 ubuntu-phablet powerd[910]: clear_sys_request: active - :1.63
Jun 28 14:42:58 ubuntu-phablet powerd[910]: name_watch_remove: looking for :1.63
Jun 28 14:42:58 ubuntu-phablet powerd[910]: name_watch: ref_count for :1.63 is now 0
Jun 28 14:42:58 ubuntu-phablet powerd[910]: no longer watching :1.63, there are no more requests
Jun 28 14:42:58 ubuntu-phablet powerd[910]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 28 14:42:58 ubuntu-phablet powerd[910]: Enqueue state change to ACTIVE
Jun 28 14:42:58 ubuntu-phablet powerd[910]: queue empty && state == current, discarding
Jun 28 14:42:58 ubuntu-phablet powerd[910]: libsuspend: release_wake_lock: powerd_power_request
Jun 28 14:42:58 ubuntu-phablet dbus[801]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jun 28 14:42:59 ubuntu-phablet dbus[801]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

test-log: {{{
14:41:17.675 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
14:41:17.677 DEBUG __init__:240 - Directory Listing for HOME
['Pictures', '.bashrc', '.bash_logout', 'Documents', 'Videos', '.profile', 'Downloads', 'Music', '.xsession-errors', '.cache', '.config', '.local',
'.presage', '.sudo_as_admin_successful', '.xsession-errors.old', 'autopilot', 'bin', '.ci-version', '.ci-uuid', '.ci-flash-args', '.ci-flash-server',
'.ci-customizations', 'destination', 'Test.zip', 'Test.tar', 'Test.tar.gz', 'Test.tar.bz2']
14:41:17.678 DEBUG __init__:241 - File count in HOME is 12
14:41:17.679 INFO logging:45 - TestFolderListPage: launch_test_click. Arguments (). Keyword arguments: {}.
14:41:17.683 DEBUG __init__:131 - aa-exec-click -p com.ubuntu.filemanager_filemanager_0.4.386 -- filemanager --forceAuth false
14:41:17.684 DEBUG __init__:133 - Exec: aa-exec-click -p com.ubuntu.filemanager_filemanager_0.4.386 -- filemanager --forceAuth false
14:41:17.685 DEBUG __init__:133 - Type: Application
14:41:17.686 DEBUG __init__:133 - Name: filemanager
14:41:17.686 DEBUG __init__:133 - Path: /custom/click/.click/users/@all/com.ubuntu.filemanager
14:41:17.687 DEBUG __init__:133 - Icon: Not important
14:41:17.688 INFO _launcher:120 - Attempting to launch application 'tmpr9aicq6e' with URIs '' via upstart-app-launch
14:41:23.861 DEBUG fixture_setup:42 - Created temporary file /home/phablet/tmpfm20lslpdd in /home/phablet.
14:41:23.862 DEBUG __init__:263 - Directory Listing for HOME
['Pictures', '.bashrc', '.bash_logout', 'Documents', 'Videos', '.profile', 'Downloads', 'Music', '.xsession-errors', '.cache', '.config', '.local',
'.presage', '.sudo_as_admin_successful', '.xsession-errors.old', 'autopilot', 'bin', '.ci-version', '.ci-uuid', '.ci-flash-args', '.ci-flash-server',
'.ci-customizations', 'destination', 'Test.zip', 'Test.tar', 'Test.tar.gz', 'Test.tar.bz2', 'tmpfm20lslpdd']
14:41:24.035 DEBUG dbus:352 - Selecting objects of type FolderIconDelegate with attributes: {}
14:41:25.481 DEBUG dbus:352 - Selecting objects of type FolderIconDelegate with attributes: {}
14:41:26.178 WARNING _header:272 - Header is an internal QML component of Ubuntu.Components and its API may change or be removed at any moment. Please
use MainView and Page instead.
14:41:26.299 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
14:41:26.756 DEBUG dbus:352 - Selecting objects of type FolderIconDelegate with attributes: {}
14:41:27.604 DEBUG dbus:352 - Selecting objects of type FolderListDelegate with attributes: {}
14:41:28.118 DEBUG dbus:352 - Selecting objects of type FolderIconDelegate with attributes: {}
14:41:29.187 DEBUG test_filemanager:138 - Performing Rename on file <filemanager.FolderIconDelegate object at 0xb153c530>
14:41:29.215 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:41:29.216 DEBUG _uinput:523 - Pressing at: 128,1328
14:41:31.221 DEBUG _uinput:532 - Releasing
14:41:51.126 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:41:51.128 DEBUG _uinput:523 - Pressing at: 128,1328
14:41:53.132 DEBUG _uinput:532 - Releasing
14:42:12.977 DEBUG _common:45 - Moving to object's globalRect coordinates.
14:42:12.978 DEBUG _uinput:523 - Pressing at: 128,1328
14:42:14.982 DEBUG _uinput:532 - Releasing
14:43:02.204 INFO logging:45 - TemporaryFileInDirectory: Delete a file, if it exists. Arguments ('/home/phablet/tmpfm20lslpdd',). Keyword arguments:
{}.
14:43:02.206 DEBUG fixture_setup:49 - Deleting file.
14:43:12.499 ERROR _launcher:206 - Timed out waiting for Application with app_id 'tmpr9aicq6e' to stop.
}}}

traceback-1: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 242, in test_cancel_rename_file
    self._do_action_on_file(first_file, action='Rename')
  File "/home/phablet/autopilot/filemanager/tests/test_filemanager.py", line 140, in _do_action_on_file
    file_actions_popover = self.app.main_view.get_file_actions_popover()
  File "/home/phablet/autopilot/filemanager/__init__.py", line 168, in get_file_actions_popover
    return self.get_action_selection_popover('fileActionsPopover')
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 204, in get_action_selection_popover
    popups.ActionSelectionPopover, objectName=object_name)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'ActionSelectionPopover' and properties {'objectName': 'fileActionsPopover'}.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html
}}}

command_type
testcase_test

Artifacts ›   Console Log ›