Autopilot tests fail due to XAuthority bug

Bug #1220607 reported by Zoltan Balogh on 2013-09-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App
High
Unassigned

Bug Description

The autopilot testcases for file manager are failing due to code surrounding the temporary home, thus causing X to fail. The trackback for each test looks similar to:

_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_filemanager`_app/tests/test_filemanager.py", line 39, in setUp
    self._patch_home()
  File "/usr/lib/python2.7/dist-packages/ubuntu_filemanager_app/tests/test_filemanager.py", line 48, in _patch_home
    os.path.join(temp_dir, '.Xauthority'))
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/phablet/.Xauthority'

http://reports.qa.ubuntu.com/smokeng/

Related branches

Michael Spencer (ibelieve) wrote :

I get this error when trying to access the pastebin: You do not currently have access to the pastebin.

Changed in ubuntu-filemanager-app:
status: New → Incomplete
David Planella (dpm) wrote :

I've updated the bug report to include a public pastebin with Zoltan's output.

In any case, the canonical location for test results is http://reports.qa.ubuntu.com/smokeng/

description: updated
Changed in ubuntu-filemanager-app:
status: Incomplete → Triaged
importance: Undecided → High
summary: - Autopilot tests fail
+ Autopilot tests fail due to XAuthority bug
description: updated

Fix committed into lp:ubuntu-filemanager-app at revision 62, scheduled for release in ubuntu-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: Triaged → Fix Committed
David Planella (dpm) on 2013-10-14
Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released

Fix committed into lp:ubuntu-filemanager-app at revision 532, scheduled for release in ubuntu-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers