Test Day:2009-02-26

What to test?
Today's instalment of Fedora Test Day will focus on:


 * Features/CrashCatcher

Who's available
The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...
 * Development - Zdenek Prikryl  Jiri Moskovcak
 * Quality Assurance - Martin Koci,  Radek Biba,  James Laska, Adam Williamson

Prerequisite for Test Day

 * Rawhide or F10 fully updated (some tips below). Remember, Rawhide is an unsupported development branch: use an installation you don't mind getting broken
 * Selinux enabled. If you need to run in permissive mode please file a bug against selinux

Update your machine to latest Rawhide or F10
See the instructions on the Rawhide page on the various ways in which you can install or update to Rawhide.

Installation
[crash-catcher] name=crash-catcher baseurl=http://jlaska.fedorapeople.org/repos/crash-catcher/\$releasever/\$basearch/ gpgcheck=0 EOF
 * 1) A yum repo is available to provide easy access to koji builds for F11 and F10.  Run the following command to create the repo config file for crash-catcher:
 * 1) cat <>/etc/yum.repos.d/crash-catcher.repo
 * 1) Next, install the crash-catcher packages: # yum install crash-catcher\*
 * 2) Disable bug-buddy: add a line GNOME_DISABLE_CRASH_DIALOG=1 to ~/.bashrc
 * 3) Then restart the computer to launch the daemon and load the necessary dbus configuration files
 * 4) Check if the daemon is really running, if not for some reason, run crash-catcher
 * 5) Run cc-applet (as an ordinary user)

Configuration
after installation some default settings are stored in /etc/crash-catcher/* configuration is written on single line "key = value {, value}" * OpenGPGPublicKeys list of GPG keys * EnableOpenGPG, check if a package is signed with one of keys * BlackList blacklisted backages * EnabledPlugins a list of enabled plugis. There should to be at least one language/application plugin and database plugin * Database denotes database plugin, there has to be one database plugin! (crash-catcher-plugin-sqlite3) * every language/application plugin can have several reporter plugins. If you want to report something, then it has to have at least one :-)  * description of options is in these files.    # test conf file. it will be generated in the future    # Enable GPG check    EnableOpenGPG = no    # GPG keys    OpenGPGPublicKeys = /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora    # blacklisted packages    BlackList = bash, bind, apache2    # enabled plugins    EnabledPlugins = SQLite3, CCpp, Mailx, Logger    # selected DB plugin    Database = SQLite3    # reporters association    CCpp = Mailx, Logger
 * main config file is /etc/crash-catcher/crash-catcher.conf
 * Plugins conf files are in /etc/crash-catcher/plugins/*
 * known working config file /etc/crash-catcher/crash-catcher.conf

Known issues
Consult list of active tickets before reporting an issue. The most common issues are listed below:
 * Report multiple crashes - if you want to report same crash twice, you have to remove CC's DB (default path /var/cache/crash-catcher/crash-catcher-db) and make a crash again
 * dbus timeout - if reporting causes an installation of many debuginfos, then a dbus timeout may occur. In that case, try to report crash again after debuginfos are installed.
 * crash-catcher daemon crash - if crash-catcher daemon unexpectedly crashs, then look for .lock files in /var/cache/crash-catcher/ and delete them. They may cause a deadlock.
 * Nothing happened? - if it seems to do nothing, try to disable PGP checking and restart daemon
 * Graphical warnings - gui writes some gtk warnings
 * Report editing - report editing from gui doesn't work
 * rpm %requires - it needs rpm >= 4.6.0-1 (rc3 segfaults)

Test
Available tests include:
 * QA:Testcase_crashcatcher - default crash report
 * QA:Testcase_crashcatcher_Logger - Logger plugin
 * QA:Testcase_crashcatcher_Mailx - Mailx plugin

Results
If you find any bug (i.e. the test case does not complete as expected, or you encounter some buggy behaviour while carrying it out), then file a ticket via the crash-catcher Trac system. Design discussion can also take place on the crash-catcher mailing list.

Please record what applications you test with crash-catcher and their results in the table below.