anaconda crash reporting: update needles, click Report again
ClosedPublic

Authored by adamwill on Mar 7 2016, 10:38 PM.

Details

Summary

First off, this revises the anaconda crash handling needles a
bit. We ditch gtk3195 and update anaconda_error to reflect
current F24/Rawhide. We keep the old anaconda_error around for
now as anaconda_error-23, to handle crashes in the F23 two-week
Atomic nightlies. We also add an 'early' variant, which is for
when (I think) the installer crashes very early, before it's
loaded in GTK+ settings; when that happens, the dialog uses a
different font. The screenshot comes from a recent Rawhide test
that crashed.

We also restore the anaconda post_fail_hook code to click
the Report button when a crash happens. This was erroneously
removed in D637. Before the Report button is clicked, the
anaconda-tb file exists but the libreport stuff in /var/tmp
does not. By removing this, we lost the libreport bits from
the uploaded files, which makes it harder to report crashes. So
let's add it back.

Finally we fix the actual tarring and uploading of /var/tmp;
also in D637 this got broken because it was being tarred up in
whatever directory the commands happened to be running in, but
we were still trying to upload it from /var/tmp.

https://openqa.stg.fedoraproject.org/tests/8444 was run with
these changes, and has /var/tmp correctly uploaded.

Test Plan

Run some test that crashes, make sure the crash
handling all works correctly.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adamwill retitled this revision from to anaconda crash reporting: update needles, click Report again.Mar 7 2016, 10:38 PM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.
garretraziel accepted this revision.Mar 8 2016, 9:49 AM

Yeah, not clicking on "Report" button was my fault - I thought that all necessary things get created without need for clicking on "Report" button.

This revision is now accepted and ready to land.Mar 8 2016, 9:49 AM
This revision was automatically updated to reflect the committed changes.