From Fedora Project Wiki

Fedora Test Days
}}}
ABRT & libreport

Date 2011-09-26
Time all day

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


Note.png
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?[edit]

Today's instalment of Fedora Test Day will focus on Automated Bug Reporting Tool (ABRT) and Unified Problem Reporting UI (libreport).

Who's available[edit]

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

  • Development - Jiří Moskovčák (jmoskovc), Nikola Pajkovsky (npajkovs), Denys Vlasenko (dvlasenk), Karel Klíč (kklic), Michal Toman (mtoman)
  • Quality Assurance - Richard Marko (rmarko)

Prerequisite for Test Day[edit]

How to test?[edit]

Update your machine[edit]

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

Live image[edit]

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

Download the nightly Fedora 16 build for your architecture (choose the desktop spin).

Get latest abrt/libreport packages[edit]

The latest versions are:

libreport-2.0.5.981-0.fc16
abrt-2.0.4.981-1.fc16

- in case these are not available in the official repo, use this repo.

Use the following command to install/udpate all of them:

 yum -y install --enablerepo=updates-testing abrt abrt-addon-ccpp abrt-addon-kerneloops abrt-addon-python abrt-desktop abrt-gui abrt-libs abrt-cli abrt-retrace-client libreport libreport-cli libreport-gtk libreport-newt libreport-python libreport-plugin-mailx libreport-plugin-logger libreport-plugin-bugzilla libreport-plugin-kerneloops libreport-plugin-reportuploader


Make sure abrtd and abrt-ccpp services are running:

# service abrtd start
Starting abrtd (via systemctl):                            [  OK  ]
# service abrt-ccpp start
Starting abrt-ccpp (via systemctl):                        [  OK  ]
  • 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

To be able to use the retrace server feature you have to edit the configuration and change its URL to retrace02.fedoraproject.org. To do so, open abrt-gui and go to Edit->Preferences->Retrace Server and change the URL to retrace02.fedoraproject.org and write insecure to insecure option entry.

Warning.png
Temporary retrace server
As this is only a temporary state and insecure option is required for the second server to work it's not a good idea to use coredumps that may contain sensitive data. The second server will replace main server soon.

Testing[edit]

Follow each of these test cases:

  1. QA:Testcase_ABRT - default crash report
  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 vmcore - kernel oops
  8. QA:Testcase ABRT python - python tracebacks
  9. QA:Testcase Libreport sealert - sealert integration
  10. QA:Testcase Libreport anaconda - anaconda integration
  11. QA:Testcase Libreport firstboot - firstboot integration
  12. QA:Testcase Retrace Server CLI - Retrace Server CLI
  13. QA:Testcase Retrace Server GUI - Retrace Server in ABRT GUI
Important.png
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.
Note.png
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[edit]

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. 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.

Abrt test cases[edit]

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
Vít Ondruch
Pass pass
Pass pass [1]
Pass pass [2] [3]
Pass pass
Pass pass [4]
Inprogress inprogress
  1. RHBZ #741222
  2. RHBZ #741230
  3. RHBZ #741231
  4. RHBZ #741242
Richard Marko
Pass pass
Pass pass
Pass pass [1] [2]
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[3]
  1. RHBZ #741257
  2. RHBZ #741256
  3. kdump failed to start
Jiří Moskovčák
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail [1]
  1. RHBZ #741272
Karel Klic
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail [1]
  1. RHBZ #734656
Michal Toman
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Honza Horak
Pass pass [1]
Pass pass
Pass pass
Pass pass
Pass pass
  1. RHBZ #741674
Brano Nater[1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail [2]
  1. abrt-2.0.4.981-1.fc16, libreport-2.0.5.982-1.fc16
  2. RHBZ #734656

Integration test cases[edit]

User sealert anaconda firstboot Retrace cli Retrace gui References
Sample User
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Vít Ondruch
Pass pass
Pass pass
Pass pass
Pass pass
Richard Marko
Pass pass [1] [2]
Fail fail [3] [4] [5]
Pass pass
Pass pass
Pass pass
  1. RHBZ #741255
  2. RHBZ #741258
  3. RHBZ #741647
  4. RHBZ #741589
  5. RHBZ #741590
Jiří Moskovčák
Pass pass
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Warning warn [1]
  1. RHBZ #741265
Karel Klic
Pass pass
Pass pass
Pass pass
[1]
Fail fail [2]
  1. unable to test step 12 on live cd
  2. RHBZ #741265
Michal Toman
Pass pass
Brano Nater
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass