make sure we get logs from failed kickstart installs
ClosedPublic

Authored by adamwill on Sep 20 2016, 3:13 AM.

Details

Summary

by waiting for the bootloader in _boot_to_anaconda rather than
_console_wait_login, we can ensure that we use the anaconda
post-fail hook and thus get logs uploaded when a kickstart
install fails.

Test Plan

Run a kickstart install test that fails and check
anaconda logs get uploaded. Then run one that works and make
sure it...still works.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Branch
kickstart-failhook
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 850
Build 850: arc lint + arc unit
adamwill retitled this revision from to make sure we get logs from failed kickstart installs.Sep 20 2016, 3:13 AM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.

I tested this out on staging. Here's a job that (still) passes:

https://openqa.stg.fedoraproject.org/tests/43628

Here's one that fails and uploads logs:

https://openqa.stg.fedoraproject.org/tests/43627

garretraziel accepted this revision.Sep 20 2016, 10:47 AM

Looks OK.

This revision is now accepted and ready to land.Sep 20 2016, 10:47 AM
adamwill closed this revision.Sep 20 2016, 5:52 PM

also landed but didn't get closed for some reason. I must have some issue in my laptop arc setup...