Kubuntu/QA/Whoopsie: Difference between revisions
Apachelogger (talk | contribs) Created page with "Also see [https://wiki.ubuntu.com/ErrorTracker ErrorTracker on the Ubuntu Wiki]. Whoopsie is a magic tool submitting Apport reports to errors.ubuntu.com. This is to avoid the..." |
Apachelogger (talk | contribs) |
||
Line 15: | Line 15: | ||
== Errors.Ubuntu == | == Errors.Ubuntu == | ||
To get access to reports you must first sign an agreement that you won't do anything nasty with the data. To get to the agreement simply try to access a report or try to log in. | To get access to reports you must first sign an agreement that you won't do anything nasty with the data. To get to the agreement simply try to access a report or try to log in. Once you have submitted the signed agreement it will take a while as someone needs to manually enable your account. | ||
Once you are logged in you can freely browse the data. To get the most sensible data you want to filter by packages subscribed to by 'kubuntu-bugs'. | Once you are logged in you can freely browse the data. To get the most sensible data you want to filter by packages subscribed to by 'kubuntu-bugs'. |
Latest revision as of 10:46, 7 May 2014
Also see ErrorTracker on the Ubuntu Wiki.
Whoopsie is a magic tool submitting Apport reports to errors.ubuntu.com. This is to avoid the overhead of reporting actual bug reports, allowing for better quality metrics to be generated. Whoopsie is used in addition to regular drkonqi. Regardless of whether a user files a bug report via drkonqi or not, if they allow submission an automatic report is dispatched to us.
Components
Whoopsie integration is spread across 4 different packages.
- kde-config-whoopsie (git clone kde:scratch/sitter/kcm-whoopsie): System Settings module for configuration of Whoopsie. Useses whoopsie-preferences' DBus interface and Polkit.
- kde-runtime/drkonqi: KDE's bug report tool has an additional checkbox on the first page to allow submission of an automatic report. This will create a $app.$uid.drkonqi-accept file in /var/crash/ (apport crash report directory) to indicate that an upcoming Apport report for $app from $uid is allowed to be uploaded without additional user query.
- kdelibs/kdeui/util/kcrash: KDE's crash handler will when it finds the .drkonqi-accept file afte running drkonqi re-raise the fatal signal it was handling. This will cause a core dump and invocation of apport, which in turn creates the report file in /var/crash/$app.$uid.crash.
- kubuntu-notification-helper: k-n-h displays notifications for incoming apport reports, by watching /var/crash changes. In case a report has a .drkonqi-accept file k-n-h will call a contained script called whoopsie-upload-all which is derived from an equally named version in apport. It uploads all reports with .drkonqi-accept. For all other reports k-n-h will display an apportevent (notification/trayicon... depending on configuration).
Errors.Ubuntu
To get access to reports you must first sign an agreement that you won't do anything nasty with the data. To get to the agreement simply try to access a report or try to log in. Once you have submitted the signed agreement it will take a while as someone needs to manually enable your account.
Once you are logged in you can freely browse the data. To get the most sensible data you want to filter by packages subscribed to by 'kubuntu-bugs'.