From Fedora Project Wiki

No edit summary
No edit summary
Line 86: Line 86:




For better orientation there are three groups of test cases, top priority first.
For better orientation there are several groups of test cases, top priority first.
Follow each of these test cases, or just some group(s) of them in case of limited time for testing.   
Follow each of these test cases, or just some group(s) of them in case of limited time for testing.   
(FIXME - check old ones and add a few new ones):  
(FIXME - check old ones and add a few new ones):  
Line 99: Line 99:
=== Basic functionality ===
=== Basic functionality ===


# [[QA:Testcase_ABRT]] - default crash report
# [[QA:Testcase_ABRT]] - Basic test
# [[QA:Testcase_ABRT_Logger]] - Logger plugin
# [[QA:Testcase_ABRT_Logger]] - Logger plugin
# [[QA:Testcase_ABRT_Bugzilla]] - Bugzilla plugin
# [[QA:Testcase_ABRT_Bugzilla]] - Bugzilla plugin
Line 105: Line 105:
# [[QA:Testcase ABRT CLI]] - CLI interface
# [[QA:Testcase ABRT CLI]] - CLI interface
# [[QA:Testcase ABRT kernel]] - kernel oops
# [[QA:Testcase ABRT kernel]] - kernel oops
# [[QA:Testcase ABRT python]] - python tracebacks
# [[QA:Testcase ABRT vmcore]] - kernel oops
# [[QA:Testcase ABRT vmcore]] - kernel oops
# [[QA:Testcase ABRT python]] - python tracebacks
 
=== Integration ===
 
# [[QA:Testcase Libreport sealert]] - sealert integration
# [[QA:Testcase Libreport sealert]] - sealert integration
# [[QA:Testcase Libreport anaconda]] - anaconda integration
# [[QA:Testcase Libreport anaconda]] - anaconda integration
# [[QA:Testcase Libreport firstboot]] - firstboot integration
# [[QA:Testcase Libreport firstboot]] - firstboot integration
=== Advanced & older functionality ===
# [[QA:Testcase Retrace Server CLI]] - Retrace Server CLI
# [[QA:Testcase Retrace Server CLI]] - Retrace Server CLI
# [[QA:Testcase Retrace Server GUI]] - Retrace Server in ABRT GUI
# [[QA:Testcase Retrace Server GUI]] - Retrace Server in ABRT GUI
Line 126: Line 126:




==== Abrt test cases ====
==== New features or test cases ====
 
{|
! User
! [[QA:Testcase_ABRT|Simplified crash reporting]]
! [[QA:Testcase_ABRT_Logger|Reporting known crash]]
! [[QA:Testcase_ABRT_Bugzilla|Ruby exceptions]]
! [[QA:Testcase_ABRT_Mailx|Gnome ABRT]]
! References
|-
| [[User:SampleUser|Sample User]]
| {{result|pass}}
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| {{result|fail}} <ref>{{bz|12345}}</ref>
| {{result|inprogress}}
| <references/>
|-
|}
 
==== Basic functionality ====


{|
{|
Line 153: Line 172:
|}
|}


==== Integration test cases ====
==== Integration ====


{|
{|

Revision as of 06:20, 30 September 2012


Fedora Test Days
}}}
[ABRT & libreport]

Date 2012-10-01
Time 6:00 UTC - 16:00 UTC

Website ABRT homepage
IRC #fedora-test-day (webirc)
Mailing list test


Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

What to test?

Today's instalment of Fedora Test Day will focus on:

  • Automated Bug Reporting Tool (ABRT)
  • Unified Problem Reporting UI (libreport)
  • Simplified crash reporting via ABRT Server (Fedora 18 Feature)
  • Gnome-abrt

Who's available

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

  • Development - Jiří Moskovčák (jmoskovc), Denys Vlasenko (dvlasenk), Karel Klíč (kklic), Michal Toman (mtoman), Richard Marko (rmarko), Filák Jakub (jfilak), Lichvár Miroslav (mlichvar)
  • Quality Assurance - David Kutálek (dkutalek), Martin Kyral (mkyral)

Prerequisite for Test Day

How to test?

Update your machine

If you're running Fedora 18, make sure you have all the current updates for it installed, using the update manager.

Live image

You may download a non-destructive Fedora 18 live image for your architecture. Tips on using a live image are available at FedoraLiveCD.

Download the nightly Fedora 18 build for your architecture. Choose the mainstream 'desktop' spin or any other desktop-like spin (kde, lxde, xfce).

Get latest abrt/libreport packages

The latest versions are:

abrt-2.0.13-1.fc18
libreport-2.0.14-1.fc18
btparser-0.19-1.fc18
gnome-abrt-0.2.2-1.fc18

Use the following command to install/update all of them (FIXME - recheck):

yum -y install --enablerepo=updates-testing \
  abrt abrt-addon-ccpp abrt-addon-kerneloops abrt-addon-python abrt-addon-vmcore abrt-addon-xorg \
  abrt-desktop abrt-dbus abrt-gui abrt-libs abrt-cli abrt-retrace-client abrt-plugin-bodhi abrt-tui \
  libreport libreport-compat libreport-filesystem libreport-cli libreport-gtk libreport-newt libreport-web \
  libreport-python libreport-plugin-mailx libreport-plugin-logger libreport-plugin-bugzilla \
  libreport-plugin-kerneloops libreport-plugin-reportuploader libreport-plugin-rhtsupport libreport-plugin-ureport \
  btparser btparser-python \
  gnome-abrt

Make sure that:

  • abrtd and abrt-ccpp services are running:
# systemctl start abrtd.service
# systemctl status abrtd.service

# systemctl start abrt-ccpp.service
# systemctl status abrt-ccpp.service
  • file /proc/sys/kernel/core_pattern contains following output:
# cat /proc/sys/kernel/core_pattern
|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e

Test Cases

For better orientation there are several groups of test cases, top priority first. Follow each of these test cases, or just some group(s) of them in case of limited time for testing. (FIXME - check old ones and add a few new ones):

New features or test cases

  1. Features/SimplifiedCrashReporting - Simplified Crash Reporting (F18 Feature)
  2. QA:Testcase ABRT Reporting Known Crash - reporting of known crash
  3. QA:Testcase ABRT ruby gem - ruby exceptions
  4. QA:Testcase GNOME ABRT MAIN - gnome-abrt

Basic functionality

  1. QA:Testcase_ABRT - Basic test
  2. QA:Testcase_ABRT_Logger - Logger plugin
  3. QA:Testcase_ABRT_Bugzilla - Bugzilla plugin
  4. QA:Testcase_ABRT_Mailx - Mailx plugin
  5. QA:Testcase ABRT CLI - CLI interface
  6. QA:Testcase ABRT kernel - kernel oops
  7. QA:Testcase ABRT python - python tracebacks
  8. QA:Testcase ABRT vmcore - kernel oops

Integration

  1. QA:Testcase Libreport sealert - sealert integration
  2. QA:Testcase Libreport anaconda - anaconda integration
  3. QA:Testcase Libreport firstboot - firstboot integration
  4. QA:Testcase Retrace Server CLI - Retrace Server CLI
  5. QA:Testcase Retrace Server GUI - Retrace Server in ABRT GUI
Close all fake bugs you create!
During certain test cases you will be required to simulate application crashes and report these crashes into Bugzilla. It is very important that after every such fake report you open the link provided by ABRT and close that bug as NOTABUG with comment like "ABRT testing bug". Otherwise you would overload package developers with fake bug reports. Thank you.
Report SELinux denials against ABRT
If you encounter some SELinux (AVC) denials during testing, please report them against the abrt package, not selinux package. Thanks.

Test Results

If you have problems with any of the tests, report a bug to Bugzilla usually for the component abrt, or libreport for bugs in the libreport library, or btparser for backtrace parser related bugs, or gnome-abrt for new Gnome Abrt GUI. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the result template to enter your result, as shown in the example result line.


New features or test cases

User Simplified crash reporting Reporting known crash Ruby exceptions Gnome ABRT References
Sample User
Pass pass
Warning warn
[1]
Fail fail
[2]
Inprogress inprogress
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345

Basic functionality

User Basic test Logger reporting Bugzilla reporting Mailx plugin CLI interface Kernel oops Python crash Kernel panic(vmcore) References
Sample User
Pass pass
Warning warn
[1]
Fail fail
[2]
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345

Integration

User sealert anaconda firstboot Retrace cli Retrace gui References
Sample User
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress