all reports with LaunchpadPrivate in them are tagged need-$arch-retrace

Bug #2068933 reported by Brian Murray
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Simon Chopin

Bug Description

I was recently reviewing the crash reports which the Launchpad retracers handle and was surprised to see a bunch of ubuntu-advantage-tools reports that retracing was tried for even though they had a ProblemType of Bug. Looking at the ubuntu-advantage-tools apport package hook we can see that all the LaunchpadPrivate is set to 1, then looking at `apport/crashdb_impl/` there is:

1083 if "DistroRelease" in report:
1084 if a and (
1085 "VmCore" in report
1086 or "CoreDump" in report
1087 or "LaunchpadPrivate" in report
1088 ):
1089 hdr["Private"] = "yes"
1090 hdr["Subscribers"] = report.get(
1091 "LaunchpadSubscribe",
1092 self.options.get("initial_subscriber", "apport"),
1093 )
1094 hdr["Tags"] += f" need-{a}-retrace"

Adding need-$arch-retrace is incorrect if the ProblemType is Bug.

Here are some example bugs:

tags: added: rls-nn-incoming
tags: added: foundations-todo
removed: rls-nn-incoming
Simon Chopin (schopin)
Changed in apport (Ubuntu):
assignee: nobody → Simon Chopin (schopin)
importance: Undecided → Critical
importance: Critical → Medium
status: New → Triaged
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.