[Bug 2068933] Re: all reports with LaunchpadPrivate in them are tagged need-$arch-retrace
Simon Chopin
2068933 at bugs.launchpad.net
Wed Jul 17 08:43:29 UTC 2024
Ongoing work at https://github.com/canonical/apport/pull/367
** Changed in: apport (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2068933
Title:
all reports with LaunchpadPrivate in them are tagged need-$arch-
retrace
Status in apport package in Ubuntu:
In Progress
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/launchpad.py` 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:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2067076
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2066231
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2068933/+subscriptions
More information about the foundations-bugs
mailing list