From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
| DATE || TIME || WHERE
| DATE || TIME || WHERE
|-
|-
| '''2009-08-20''' || From ''12:00'' to ''21:00'' UTC (8am - 5pm EDT, 14:00 - 23:00 CET) || [irc://irc.freenode.net/fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc])
| '''2009-08-20''' || From ''12:00'' to ''21:00'' UTC (8am - 5pm EDT, 14:00 - 23:00 CET) || [irc://irc.freenode.net/fedora-qa #fedora-qa] ([http://webchat.freenode.net/?channels=fedora-qa webirc])
|-
|-
|}
|}


== What to test? ==
== What to test? ==


Today's installment of Fedora Test Day will focus on '''Automated Bug Reporting Tool ([[Features/ABRT|ABRT]])'''. This tool should help non-power users with bug reporting, making it as easy as a few mouse clicks. [[Features/ABRT|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.
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 [http://fedorapeople.org/~dpravec/AsciiArt/MyBugZappers.html kill them easily at close range].
''Bottom line'': do not hunt the bugs with a pitchforks, rather use bugzappers/big light source to draw them from the dark and [http://fedorapeople.org/~dpravec/AsciiArt/MyBugZappers.html kill them easily at close range].


[[Features/ABRT|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 [[Features/ABRT|ABRT]] should make Fedora more stable and thus more attractive for users.
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.


== Who's available ==
== Who's available ==


The following people will be available for testing, workarounds, bug fixes, and general discussion:
The following people will be available for testing, workarounds, bug fixes, and general discussion:
* Development - [[User:zprikryl|Zdeněk Přikryl]] (zprikryl), [[User:jmoskovc|Jiří Moskovčák]] (jmoskovc)
* Development - [[User:zprikryl| Zdenek Prikryl]] (confirmed) [[User:jmoskovc| Jiri Moskovcak]] (confirmed) '''<<FIXME: Confirmation needed>>'''
* Quality Assurance - [[User:dpravec|David Pravec]] (dpravec), [[User:kparal|Kamil Páral]] (kparal), [[User:jlaska|James Laska]] (jlaska), [[User:mnowak|Michal Nowak]] (mnowak)
* Quality Assurance - [[User:dpravec| David Pravec]], [[User:kparal| Kamil Páral]], [[User:jlaska| James Laska]]


== What's needed to be able to test ==
== What's needed to test ==


* A system with some kind of network connection
* A system with some kind of network connection
* '''Fully updated''' Rawhide or Fedora 11 installation  with ABRT installed or special [[#Live_Image|ABRT TestDay Live image]] (i686 or x86_64)
* [[Releases/Rawhide|Rawhide]] (tips on installing Rawhide below), or the live CD available for this test day (again see below).
* Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]


=== How to install ABRT ===
== How to test? ==
If you do not use the provided LiveCD, but you use your own Fedora 11 or Rawhide installation, you need to install latest ABRT packages by running following commands:


First add correct repository:
=== '''Update your machine''' ===
* '''Fedora 11:'''
<pre>
curl -o /etc/yum.repos.d/abrt.repo  http://jmoskovc.fedorapeople.org/abrt.repo
</pre>
* '''Rawhide:'''
<pre>
curl -o /etc/yum.repos.d/abrt-rawhide.repo  http://jmoskovc.fedorapeople.org/abrt-rawhide.repo
</pre>


Now install/update ABRT:
See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide. Or:
<pre>
su
rm -f /var/cache/abrt/abrt-db
yum remove kerneloops
yum install abrt-desktop
reboot
</pre>
 
Please do not forget to '''reboot'''. It's needed after installing [[Features/ABRT|ABRT]].
 
{{admon/tip|ABRT packages were updated|Latest package version is 0.0.7.2-3. If yum doesn't see the update, you have to <code>yum clean all</code>. Restart the service <code>service abrt restart</code> after the update.}}


=== '''Live Image''' ===
=== '''Live Image''' ===


Optionally, you may download a non-destructive rawhide live image for your architecture with latest ABRT pre-installed. Tips on using a live image are available at [[FedoraLiveCD]]. For Fedora on USB flash disk consult [[FedoraLiveCD/USBHowTo]].
Optionally, you may download a non-destructive rawhide live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]].


{|
{|
! Architecture !! SHA256  
! Architecture !! SHA256  
|-
|-
| [http://dpravec.fedorapeople.org/testdays/2009-08-20_ABRT/testday-20090820_i686-2.iso i686] || <code>635e295f50abf3fc7fc765c658ce68e86428c5812f3ca0e648fa26d33f90cd86</code>
| [FIXME i686] || FIXME
|-
|-
| [http://dpravec.fedorapeople.org/testdays/2009-08-20_ABRT/testday-20090820_x86_64-2.iso x86_64] || <code>542047d8d09a4bd2ec9a8da7e2ac3b17e862ba88e4014aa00c153c7d6ea86622</code>
| [FIXME x86-64] || FIXME
|}
|}
{{admon/important|Check if you have latest images|There were older images available for some time, but when they have been updated with newer ABRT version, we produced new ones. Please make sure you have the latest image by verifying the checksum (run <code>sha256sum  testday-20090820*.iso</code> ). Thanks.}}
== How to test ==


=== Test Cases ===
=== Test Cases ===


Follow each of following [[:Category:ABRT_Test_Cases|ABRT Test Cases]] and sum up the results in the tables below. Report your findings also in [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=abrt Bugzilla] or [https://fedorahosted.org/abrt/report/1 ABRT Trac] (enter FAS username/password). Please provide links to bugreports in results table.
Follow each of following [[:Category:ABRT_Test_Cases]] and report your findings in the tables below.


# [[QA:Testcase_ABRT]] - default crash report
* [[QA:Testcase_ABRT]] - default crash report
# [[QA:Testcase_ABRT_Logger]] - Logger plugin
* [[QA:Testcase_ABRT_Logger]] - Logger plugin
# [[QA:Testcase_ABRT_Bugzilla]] - Bugzilla plugin
* [[QA:Testcase_ABRT_Mailx]] - Mailx plugin
# [[QA:Testcase_ABRT_Mailx]] - Mailx plugin
* [[QA:TestCase ABRT BlackList]] - package blacklist
# [[QA:TestCase ABRT BlackList]] - package blacklist
* [[QA:Testcase ABRT GPG check]] --reporting crashes of signed packages only
# [[QA:Testcase ABRT GPG check]] - reporting crashes of signed packages only
* [[QA:TestCase ABRT GPG Keys]] -- additional keys for signing packages
# [[QA:TestCase ABRT GPG Keys]] - additional keys for signing packages
* [[QA:Testcase ABRT Actions and Reporters]] -- testing of action/reporting plugins
# [[QA:Testcase ABRT Actions and Reporters]] - testing of action/reporting plugins
* [[QA:Testcase ABRT Cron]] -- periodical plugins using cron
# [[QA:Testcase ABRT Cron]] - periodical plugins using Cron
* [[QA:Testcase ABRT Plugins]] -- configuring plugins
# [[QA:Testcase ABRT Plugins]] - configuring plugins
# [[QA:Testcase ABRT CLI]] - CLI interface
# [[QA:Testcase ABRT kernel]] - kernel oops
# [[QA:Testcase ABRT python]] - python tracebacks


=== Known issues ===  
=== Known issues ===  
Line 90: Line 62:
Consult list of [https://fedorahosted.org/abrt/report/1 active tickets] before reporting an issue.  The most common issues are listed below:
Consult list of [https://fedorahosted.org/abrt/report/1 active tickets] before reporting an issue.  The most common issues are listed below:
* '''Applet (or other icons) in notification area is not visible''' - that's a known bug in Rawhide, please try to run <code>killall notification-area-applet</code> and reload it a few times, it may help
* '''Applet (or other icons) in notification area is not visible''' - that's a known bug in Rawhide, please try to run <code>killall notification-area-applet</code> and reload it a few times, it may help
* '''Recreate report for same crash''' - if you want to recreate a report of same crash, you have to delete it using button in GUI and make a crash gain
* '''Recreate report for same crash''' - if you want to recreate a report of same crash, you have to remove ABRT's db and cache (<code>rm -r /var/cache/abrt/*</code>) and make a crash gain
* '''Nothing happened?''' - if it seems to do nothing, try to disable PGP checking and restart daemon
* '''Nothing happened?''' - if it seems to do nothing, try to disable PGP checking and restart daemon
* '''Graphical warnings''' - gui writes some gtk warnings (it's gtk's fault)
* '''Graphical warnings''' - gui writes some gtk warnings
* '''rpm %requires''' - it needs rpm >= 4.7.0-1
* '''rpm %requires''' - it needs rpm >= 4.7.0-1
* ''' bug-buddy or other crash catching tools might take precedence over ABRT''' if you are using them. ABRT will catch only crashes which are not caught by other tools.
* '''Cannot catch OpenOffice, KDE and Java''' - these applications have a built-in method for capturing failures
* '''Cannot catch OpenOffice.org, KDE and Java''' - these applications have a built-in method for capturing failures so it is the same as with BugBuddy etc.
* '''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)'''
* '''if you're updating from version <= 0.0.5-6''' - make sure you remove /var/cache/abrt/abrt-db (we've changed the db format 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")
* '''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") - it should be fixed, but in case it's not try to look for these files


== Test Results ==
== Test Results ==
Line 103: Line 74:
=== Issues that were identified ===
=== Issues that were identified ===


Don't report duplicates, thanks :) Just write a comment to the bugzilla that you have also noticed the bug.
{|  
 
{| class="wikitable sortable" border="1"
! Tester  
! Tester  
! Description  
! Description  
! Bug references
! Bug references
|-
|-
| [[User:kparal]]
| [[User:FasUser]]  
| Right click on applet hides the applet but does nothing
| Brief description of the problem
| {{bz|518386}}
| {{bz|123456}}
|-
| [[User:guaneryu]]
| OpenGPGCheck option takes no effect
| {{bz|518396}} CLOSED
|-
| [[User:czhang]]
| testcase #1: no item can be selected after clicked abrt-gui icon if other user's application crashes.
| {{bz|518409}} CLOSED
|-
| [[User:mhlavink]]
| continuous reporting of one kernel oops
| {{bz|518413}}
|-
| [[User:mhlavink]]
| ordinary user's applet shows up for root owned crashes
| {{bz|518420}}
|-
| [[User:mhlavink]]
| abrt silently starts when plugin is configured but not installed
| {{bz|518422}}
|-
| [[User:hdong]]
| testcase #8: CCpp:<APPNAME> doesn't work
| {{bz|518414}} CLOSED
|-
| [[User:azelinka]]
| report window larger that screen (no horizontal scrolling)
| {{bz|518425}} CLOSED
|-
| [[User:azelinka]]
|  bugzilla plugin can't detect correct component for a bug
| {{bz|518438}} CLOSED
|-
| [[User:tpelka]]
|  RunApp do not work - abrt-plugin-runapp installed
| {{bz|518465}} CLOSED
|-
| [[User:vbenes]]
|  cannot use # in bugzilla password
| {{bz|518459}} CLOSED
|-
| [[User:vbenes]]
| crash while scanning syslog
| {{bz| 518472}}
|-
| [[User:vbenes]]
| missing python-sexy dependency
| FIXED no bz
|-
| [[User:dpravec]]
| it would be nice for some admins to be able to catch and process crashes of theirs own compiled (unpackaged, unsigned) applications. Not for Bugzilla plugin, but for some custom reporting/actions.
| Trac [https://fedorahosted.org/abrt/ticket/73 #73]
|-
| [[User:dpravec]]
| when abrt is upgrading from older version, the old database is making it confused. Dont force users to rm the file manually, detect this during upgrade and migrate the database, or just backup it.
| Trac [https://fedorahosted.org/abrt/ticket/74 #74]
|-
| [[User:tpelka]]
| Wouldn't be cool use keyring except plaintext passwords?
| TBD
|-
| [[User:azelinka]]
|  user configuration of plugins doesn't survive service restart
| {{bz|518457}}
|-
| [[User:mnowak|Michal Nowak]]
| abrt-gui allows "sending" report which is not in existing anymore
| Trac [https://fedorahosted.org/abrt/ticket/75 #75]
|-
| [[User:jlaska]]
| Missing %requirse on python-sexy
| {{bz|518488}} -  Missing %requires python-sexy - ImportError: No module named sexy
|-
| [[User:jlaska]]
| /usr/sbin/abrt segfaults on startup (both abrt-0.0.7.1-1.fc12 and abrt-0.0.7.2-3.fc12)
| {{bz|518498}} -  Segmentation fault. 0x006aa95e in two_way_short_needle (needle_len=
|-
| [[User:jlaska]]
| The bugzilla plugin works great, however gdb segfaulted while trying to grab a backtrace from the original failure
| {{bz|FIXME}}
|-
| [[User:jkoten]]
| testcase #8
  CCpp = Logger //logger is not silent for transmission, logs the crash 
  CCpp:transmission = Mailx("[abrt] Transmission")
| {{bz|518606}}
|-
|| [[User:jkoten]]
| testcase #8
  CCpp = Logger, Mailx
  CCpp:transmission = Mailx("[abrt] Transmission") //abrt crashes when reporting transmission crash 
| {{bz|518609}}
|-
|-
|}
|}
Line 210: Line 87:
=== Things that work alright ===
=== Things that work alright ===


{| class="wikitable sortable" border="1"
{|
! Tester  
! Tester  
! Description
! Description
|-
|-
| [[User:guaneryu]]  
| [[User:FasUser]]  
|
| Brief description of the use case
*1. Followed the testcase description, got the expected result
*2. Followed the testcase description, got the expected result
*3. Followed the testcase description, got the expected result
*4. Followed the testcase description, got the expected result
*5. Followed the testcase description, got the expected result
*9. Followed the testcase description, added "5 = Logger" at the [cron] section, got expected result from "abrt -d" output
*10.Followed the testcase description, changed "MaxCrashReportsSize" to 0 and no crash could be detected
*11.Followed the testcase description, got the expected result
*12.Followed the testcase description, got the expected result from command line, and abrt-applet popped up a notification but no items listed in abrt-gui
|-
| [[User:kparal]]
| testcase #1 worked ok
|-
| [[User:hdong]]
|
*1.Testcase_ABRT            get expected results, but some crashed process icon miss in abrt-gui item list, others show
*2.Testcase_ABRT_Logger    PASS
*3.Testcase_ABRT_Bugzilla  PASS
*4.Testcase_ABRT_Mailx      PASS
*5.TestCase ABRT BlackList  PASS
*9.Testcase ABRT Cron      PASS
*10.Testcase ABRT Plugins  get expected results, set MaxCrashReportsSize to 0,no crash could be detected
*11.Testcase ABRT CLI      PASS
*12.Testcase ABRT kernel    get expected results, abrt-applet poped up the notification but no items listed in abrt-gui
|-
| [[User:czhang]]
| testcase #2~#5, #9~#12 work as what expected.
|-
| [[User:twaugh]] || Catching Python traceback
|-
| [[User:mvadkert]]
| testcase #2~#5 work as what expected.
|-
| [[User:vbenes]]
|
* testcase #1 PASS
* testcase #2 PASS
* testcase #3 PASS
* testcase #4 PASS
* testcase #5 PASS
* testcase #6 N/A
* testcase #7 N/A
* testcase #8 TBD
* testcase #9 TBD
* testcase #10 PASS
* testcase #11 TBD
* testcase #12 TBD
* testcase #13 TBD
|-
| [[User:jlaska]]
| PASS ([[QA:Testcase_ABRT_Bugzilla]], [[QA:Testcase_ABRT_Logger]])
|-
| [[User:jkoten]]
|
* testcases #1 - #5; #9 - #13 PASS 
* testcase #8 Partial success - ActionsAndReporters = Mailx("[abrt] !!!!crash was detected!!!!!"), Logger, RunApp("ls", "ls-output") // works as expected - plugins were activated immediately after a crash occurs. 
|-
|-
|}
|}


[[Category:Fedora 12 Test Days]]
[[Category:Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)