(TEST CASE refactoring: moved test cases from test plan to separate wikis, added links to those) |
|||
Line 93: | Line 93: | ||
Now select the crash, click "report" to report it, or click "delete" to delete it. | Now select the crash, click "report" to report it, or click "delete" to delete it. | ||
=== ABRT Test Cases to be tested === | === ABRT Test Cases to be tested === | ||
Line 198: | Line 100: | ||
Available tests include: | Available tests include: | ||
* [[QA: | * [[QA:Testcase_ABRT]] - default crash report | ||
* [[QA: | * [[QA:Testcase_ABRT_Logger]] - Logger plugin | ||
* [[QA: | * [[QA:Testcase_ABRT_Mailx]] - Mailx plugin | ||
* [[QA:TestCase ABRT BlackList]] - package blacklist | |||
* [[QA:Testcase ABRT GPG check]] --reporting crashes of signed packages only | |||
* [[QA:TestCase ABRT GPG Keys]] -- additional keys for signing packages | |||
* [[QA:Testcase ABRT Actions and Reporters]] -- testing of action/reporting plugins | |||
* [[QA:Testcase ABRT Cron]] -- periodical plugins using cron | |||
* [[QA:Testcase ABRT Plugins]] -- configuring plugins | |||
[https://fedoraproject.org/wiki/Category:ABRT_Test_Cases ABRT_Test_Cases] might have more TestCases in the future. | |||
Revision as of 21:14, 17 August 2009
DATE | TIME | WHERE |
2009-08-20 | From 12:00 to 21:00 UTC (8am - 5pm EDT, 14:00 - 23:00 CET) | #fedora-qa (webirc) |
Testing ABRT
Today's installment of Fedora Test Day will focus on Automated Bug Reporting Tool (ABRT). This tool should help non-power users with bug reporting, making it as easy as a few mouse clicks. ABRT is a daemon that watches for application crashes. When a crash occurs, it collects the crash data (core file, application's command line etc.) and takes action according to the type of application that crashed and according to the configuration in the abrt.conf configuration file. Bottom line: do not hunt the bugs with a pitchforks, rather use bugzappers/big light source to draw them from the dark and kill them easily at close range.
ABRT should be easy for users and very useful for developers and admins. Ease of crash/bug reporting and quick response from maintainers based on info from ABRT should make Fedora more stable and thus more attractive for users.
We will test:
- ABRT GUI;
- compiled (C/C++) programs support;
- Python programs support;
- detection if apps are from supported packages;
- using configured plugins:
- database plugin;
- bugzilla plugin (report crash to bugzilla);
- file transfer plugin (transfer crash data via network);
- mailx plugin (send mail when crash happens);
- kernel oops plugin;
- RunApp plugin (run arbitrary application when crash happens).
Who's available
The following people will be available for testing, workarounds, bug fixes, and general discussion:
- Development - Zdenek Prikryl (confirmed) Jiri Moskovcak (confirmed) <<FIXME: Confirmation needed>>
- Quality Assurance - David Pravec, Kamil Páral, James Laska
Prerequisite for Test Day
You will need to get current ABRT (select your method):
- install latest ABRT from Rawhide
- install latest ABRT from its development repository on Fedora 11
<<FIXME: for now we have only internal RedHat IP server, setup public repository!>>. For Redhat internal abrt development server create /etc/yum.repos.d/abrt.repo containing:
[abrt] name=ABRT baseurl=http://10.34.33.153/$releasever/$basearch/ gpgcheck=0 enabled=1
- download and burn ABRT Testing CD (ISO images will be available at least 24 hours before the test day starts)
ABRT Documentation
- ABRT features, overview
- ABRT Home page (trac wiki)
- ABRT FUDCon Berlin 2009 presentation
- ABRT was in the past called CrashCatcher
How to start using ABRT
Install abrt and plugins:
# yum install abrt-desktop
This is not needed when you will use ABRT TestDay Live CD.
# chkconfig abrt on # reboot
Test basic functionality
Now if something crashes, ABRT will handle the crash. If you want to test this, crash something, for example:
$ xfontsel & $ killall -6 xfontsel
An icon will appear in the notification area. You can now run the GUI:
$ abrt-gui &
Now select the crash, click "report" to report it, or click "delete" to delete it.
ABRT Test Cases to be tested
Available tests include:
- QA:Testcase_ABRT - default crash report
- QA:Testcase_ABRT_Logger - Logger plugin
- QA:Testcase_ABRT_Mailx - Mailx plugin
- QA:TestCase ABRT BlackList - package blacklist
- QA:Testcase ABRT GPG check --reporting crashes of signed packages only
- QA:TestCase ABRT GPG Keys -- additional keys for signing packages
- QA:Testcase ABRT Actions and Reporters -- testing of action/reporting plugins
- QA:Testcase ABRT Cron -- periodical plugins using cron
- QA:Testcase ABRT Plugins -- configuring plugins
ABRT_Test_Cases might have more TestCases in the future.
Known issues
Consult list of active tickets before reporting an issue. The most common issues are listed below:
- Recreate Report for same crash - if you want to recreate a report of same crash, you have to remove ABRT's db and cache (rm -r /var/cache/abrt/*) and make a crash gain
- Nothing happened? - if it seems to do nothing, try to disable PGP checking and restart daemon
- Graphical warnings - gui writes some gtk warnings
- rpm %requires - it needs rpm >= 4.7.0-1
- you cannot use abrt to catch crashes of OpenOffice, KDE and Java apps -- they are catching those crashes themselves.
- if you're updating from version <= 0.0.5-6 make sure you remove /var/abrt/cache/abrt-db (we've changed the db fomrat and not yet implemented automatic updating mechanism)
- GUI doesn't inform you about success of failure of a reporting. But you can find results in ABRT's db (default path /var/cache/abrt, it is sqlite3 db, table name is "abrt")
Test Results
Issues that were identified
Tester | Description | Bug references |
User:FasUser | ..... | #xxx |
Things that work alright
Tester | Description |
User:FasUser | .............. |