From Fedora Project Wiki

Revision as of 09:41, 20 September 2012 by Kparal (talk | contribs) (new way how to trigger Anaconda's bug reporting dialog, improve instructions)


This test case is intended to introduce a failure, and validate that anaconda is able to enter a debug mode to retrieve detailed crash information

How to test

  1. Boot the installer by any available means
  2. If you know how to make Anaconda crash, you can do so. Otherwise use Anaconda's fake exception handling trigger - run the following command:
    kill -USR1 `cat /var/run/`
    Switch back to the GUI, an error dialog should be displayed.
  3. Enter a debug mode using the failure dialog
  4. Execute some commands in the debug mode, e.g.:
    (Pdb) locals()
  5. Use continue to return back to the failure dialog:
    (Pdb) continue

Expected Results

  1. The installer presents a failure dialog and offers an option to enter the debug mode
  2. You are switched to a debug shell
  3. Commands are executed successfully in debug shell
  4. continue returns you back to the failure dialog