Autopilot tests fail due to XAuthority bug

Bug #1220607 reported by Zoltan Balogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App
Fix Committed
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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

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)
Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.