Unclear why series initialization failed

Bug #835024 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Gavin Panella

Bug Description

When a series initialization fails, the UI says so and provides a link to re-attempt the initialization.

The ui should also say why it failed so users can fix any problem on their side before re-attempting the initialization and wasting resources on something that might fail again for the same reason.

Attached is a screenshot of the series page when it fails.

Related branches

Revision history for this message
Diogo Matsubara (matsubara) wrote :
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Gavin was looking at this in the past, assigning to him because I can't remember where he got to with it.

Changed in launchpad:
assignee: nobody → Gavin Panella (allenap)
Revision history for this message
Gavin Panella (allenap) wrote :

I think I discussed this a lot at the time, especially with jtv. We
decided to *not* show any detail of the failure, because we would only
have a stack trace (and therefore an OOPS report) to show for it. In
other words, a failure is really a bug. We present it nicely in the UI
because distroseries initialization is sufficiently complicated that
we absolutely expect there to be bugs and some of them may be
transient.

However, we could be missing something. What kind of initialization
failures exist that are not really bugs?

Changed in launchpad:
status: Triaged → Incomplete
Revision history for this message
Julian Edwards (julian-edwards) wrote :

There are some genuine failures, the one that springs to mind is if you are copying multiple parents and they have conflicting package files.

However, copying from a single parent should rarely, if ever fail. That is indeed a bug.

We might want to add a "contact the admin" message. I'm unsure as to whether adding an OOPS code is worthwhile though.

Changed in launchpad:
status: Incomplete → Triaged
Gavin Panella (allenap)
Changed in launchpad:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Gavin Panella (allenap)
Changed in launchpad:
status: Fix Committed → Fix Released
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.