Some Unity Autopilot tests are failing with "constructor returned NULL"

Bug #1352889 reported by Christopher Townsend
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Invalid
Critical
Christopher Townsend
Unity
Invalid
Critical
Unassigned
autopilot-legacy (Ubuntu)
Fix Released
Critical
Christopher Townsend
unity (Ubuntu)
Invalid
Critical
Unassigned

Bug Description

Recently, some Unity 7 Autoppilot tests have begun failing with a "constructor returned NULL" error. The log indicates that the call to Gio.DesktopAppInfo.new(desktop_file) is failing in /usr/lib/python2.7/dist-packages/autopilot/process/_bamf.py on line 334.

This is causing close to 20 AP failures and is one issue blocking the release of Unity.

Related branches

Revision history for this message
Christopher Townsend (townsend) wrote :

After further investigation, it is failing when trying to open Mahjongg. IT appears a recent change was made to the Mahjongg package in which the .desktop file was renamed from mahjongg.desktop to gnome-mahjongg.desktop. This will require a fix in the autopilot-desktop-legacy package.

summary: - Some Unity Autopilot tests are failing with "constructor returned NULL'
+ Some Unity Autopilot tests are failing with "constructor returned NULL"
description: updated
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in unity:
assignee: nobody → Christopher Townsend (townsend)
Changed in unity (Ubuntu):
assignee: nobody → Christopher Townsend (townsend)
Changed in unity:
status: Confirmed → Invalid
Changed in autopilot:
status: New → In Progress
Changed in autopilot-legacy (Ubuntu):
status: New → In Progress
Changed in unity (Ubuntu):
status: Confirmed → Invalid
Changed in autopilot:
importance: Undecided → Critical
Changed in unity:
importance: High → Critical
Changed in autopilot-legacy (Ubuntu):
importance: Undecided → Critical
Changed in unity (Ubuntu):
importance: High → Critical
description: updated
Changed in unity:
assignee: Christopher Townsend (townsend) → nobody
Changed in unity (Ubuntu):
assignee: Christopher Townsend (townsend) → nobody
Changed in autopilot:
assignee: nobody → Christopher Townsend (townsend)
Changed in autopilot-legacy (Ubuntu):
assignee: nobody → Christopher Townsend (townsend)
Changed in autopilot-legacy (Ubuntu):
status: In Progress → Fix Released
Changed in autopilot:
status: In Progress → Invalid
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.