From Fedora Project Wiki

(Drop direct Test Days category membership)
 
(52 intermediate revisions by 16 users not shown)
Line 17: Line 17:
The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...
The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...
* Development - [[User:zprikryl| Zdenek Prikryl]] [[User:jmoskovc| Jiri Moskovcak]]
* Development - [[User:zprikryl| Zdenek Prikryl]] [[User:jmoskovc| Jiri Moskovcak]]
* Quality Assurance - [[User:koca | Martin Koci]], [[User:rbiba | Radek Biba]], [[User:jlaska | James Laska]]
* Quality Assurance - [[User:koca | Martin Koci]], [[User:rbiba | Radek Biba]], [[User:jlaska | James Laska]], [[User:adamwill|Adam Williamson]]


== Prerequisite for Test Day ==
== Prerequisite for Test Day ==


* [[Releases/Rawhide|Rawhide]] fully updated (some tips below). Remember, Rawhide is an unsupported development branch: use an installation you don't mind getting broken.
* [[Releases/Rawhide|Rawhide]] or F10 fully updated (some tips below). Remember, Rawhide is an unsupported development branch: use an installation you don't mind getting broken
* FAS Account - you can [https://admin.fedoraproject.org/accounts/ create] an account in 3 minutes if you don't have one
* Selinux enabled. If you need to run in permissive mode please file a [https://bugzilla.redhat.com bug] against selinux
* Selinux enabled. If you need to run in permissive mode please file a [https://bugzilla.redhat.com bug] against selinux


Line 29: Line 28:
== How to test? ==
== How to test? ==


=== '''Update your machine to latest Rawhide''' ===
=== '''Update your machine to latest Rawhide or F10''' ===


See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide.
See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide.


For encrypted root partitions, you have to use [http://harald.fedorapeople.org/downloads/plymouth-0.6.0-2.0.bootchart.1.fc11/  patched plymouth packages].
=== '''Installation''' ===


=== '''Installation''' ===
# A yum repo is available to provide easy access to koji builds for [http://koji.fedoraproject.org/koji/taskinfo?taskID=1213313 F11] and [http://koji.fedoraproject.org/koji/taskinfo?taskID=1213321 F10].  Run the following command to create the repo config file for crash-catcher:
Using rpm, that should be alright. (rpm will be provided later today)
<pre>
* restart computer to launch the daemon and load necessary dbus configuration files
# cat <<EOF>>/etc/yum.repos.d/crash-catcher.repo
* check if the daemon is really running, if not for some reason, run `crash-catcher'
[crash-catcher]
* run cc-applet (as an ordinary user)
name=crash-catcher
=> crash watching should be ready now
baseurl=http://jlaska.fedorapeople.org/repos/crash-catcher/\$releasever/\$basearch/
gpgcheck=0
EOF
</pre>
# Next, install the crash-catcher packages: <pre># yum install crash-catcher\*</pre>
# Disable bug-buddy: add a line <pre>GNOME_DISABLE_CRASH_DIALOG=1</pre> to ~/.bashrc
# Then restart the computer to launch the daemon and load the necessary dbus configuration files
# Check if the daemon is really running, if not for some reason, run ''crash-catcher''
# 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}"
* main config file is /etc/crash-catcher/crash-catcher.conf
  * 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 :-)
* Plugins conf files are in /etc/crash-catcher/plugins/*
  * description of options is in these files.
* known working config file /etc/crash-catcher/crash-catcher.conf
    # 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
 
=== Known issues ===
Consult list of [https://fedorahosted.org/crash-catcher/report/1 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 ===
=== Test ===
Set up everything according to the description and:
 
* try to kill a running process, kill -SIGSEGV <pid> ( e.g. xchat is a good candidate ) !!! but be careful what you are using for chat on #fedora-qa?  :)  !!!
Available tests include:
* the cc-applet tray icon should start flashing wildly
* [[QA:Testcase_crashcatcher]] - default crash report
* once clicked, an option to open a GUI will be offered
* [[QA:Testcase_crashcatcher_Logger]] - Logger plugin
* the GUI will let you select a particular crash and report it
* [[QA:Testcase_crashcatcher_Mailx]] - Mailx plugin
* THE CRASH MUST BE FROM A SIGNED PACKAGE! (or checking gpg must be disabled in /etc/crash-catcher/crash-catcher.conf)


=== Results ===
=== Results ===
* If you found some bug against [[Features/CrashCatcher]] then fill a ticket via Track system on [https://fedorahosted.org/crash-catcher/ FedoraHosted ]
* If you have some objections, clues, ideas, whatever except bug use mailing list
* If you  have questions ask on #fedora-qa channel


Enjoy it !
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 [https://fedorahosted.org/crash-catcher/newticket file a ticket] via the [https://fedorahosted.org/crash-catcher crash-catcher Trac system].  Design discussion can also take place on the [https://fedorahosted.org/mailman/listinfo/crash-catcher crash-catcher mailing list].
 
Please record what applications you test with crash-catcher and their results in the table below.
 
{|
! User
! Smolt Profile
! Application Tested
! Bug(s)
! Comment(s)
|-
| <!-- [[User:FasName]] -->
| <!-- Smolt profile (optional) -->
| <!-- Application Tested -->
| <!-- [[rhbug:BUGID]] -->
| <!-- Comments -->
|-
| [[User:jlaska|James Laska]]
| [http://www.smolts.org/show?uuid=pub_606a8b52-d28b-41c7-aee2-f4994df2911e HW]
| style="color:white; background:red;" | Package Install
| https://fedorahosted.org/crash-catcher/ticket/1
| Can't install the packages (bad %requires)
|-
|-
| [[User:koca|Martin Koci]]
| [http://www.smolts.org/show?uuid=pub_b4d40bce-52a4-467e-87bd-ad1094fab20e HW]
| style="color:white; background:red;" | Vim - Deadlock while creating the Lock
| https://fedorahosted.org/crash-catcher/ticket/4
| Can't catch the segmentation fault of the vim
|-
|-
| [[User:koca|Martin Koci]]
| [http://www.smolts.org/show?uuid=pub_b4d40bce-52a4-467e-87bd-ad1094fab20e HW]
| | All
| https://fedorahosted.org/crash-catcher/ticket/10
| SELinux is preventing mailx (sendmail_t) "read" to ./binary_data1 (var_t).
|-
|-
| [[User:rbiba|Radek Biba]]
| [-]
| style="color:white; background:red;" | crash-catcher
| https://fedorahosted.org/crash-catcher/ticket/5
| The temporary file /tmp/CCDB is a security hole
|-
|-
| [[User:rbiba|Radek Biba]]
| [-]
|  | cc-gui
| https://fedorahosted.org/crash-catcher/ticket/17
| The "Cancel" button works as the "Apply" button :)
|-
|-
| [[User:rbiba|Radek Biba]]
| [-]
|  | crash-catcher
| https://fedorahosted.org/crash-catcher/ticket/22
| Inappropriate mime type in reported e-mail
|-
|-
| [[User:rbiba|Radek Biba]]
| [-]
|  | cc-gui
| https://fedorahosted.org/crash-catcher/ticket/23
| [RFE] Display the latest crash in the list by default
|-
|-
| [[User:michich|Michal Schmidt]]
| [-]
| style="color:white; background:red;" | mc
| https://fedorahosted.org/crash-catcher/ticket/6
| "Unable to get report! Debuginfo missing?"
|-
| [[User:psklenar|Petr Sklenar]]
| [http://www.smolts.org/client/show/pub_527e6a5b-d71d-41f7-93b3-6b3e06d66c09 HW]
| style="color:white; background:red;" | all
| https://fedorahosted.org/crash-catcher/ticket/15
| "crash-catcher-5 dead but subsys locked"
|-
| [[User:psklenar|Petr Sklenar]]
| [http://www.smolts.org/client/show/pub_527e6a5b-d71d-41f7-93b3-6b3e06d66c09 HW]
| style="color:white; background:red;" | apps with suid=0
| https://fedorahosted.org/crash-catcher/ticket/25
| "apps run under root is not reported"
|-
| [[User:dkovalsk|David Kovalsky]]
| [http://www.smolts.org/client/show/pub_52b0be34-8d44-4435-98d2-32a1953f6f7e HW]
| style="color:white; background:red;" | Package install
| https://fedorahosted.org/crash-catcher/ticket/20
| cc-applet doesn't start
|-
| [[User:jscotka|Jan Scotka]]
| [-]
| style="color:white; background:red;" | cc-applet, HWproblem?
| https://fedorahosted.org/crash-catcher/ticket/26
| cc-applet doesn't start, and cc waiting for lock
|-
 
|}
 
[[Category:Fedora 11 Test Days]]

Latest revision as of 21:18, 26 June 2015

DATE TIME WHERE
Thu February 26, 2009 From 12:00 to 20:00 UTC (7am -> 3pm ET) #fedora-qa)

What to test?[edit]

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

Who's available[edit]

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

Prerequisite for Test Day[edit]

  • 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
no animals will be hurt during testing

How to test?[edit]

Update your machine to latest Rawhide or F10[edit]

See the instructions on the Rawhide page on the various ways in which you can install or update to Rawhide.

Installation[edit]

  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:
# cat <<EOF>>/etc/yum.repos.d/crash-catcher.repo
[crash-catcher]
name=crash-catcher
baseurl=http://jlaska.fedorapeople.org/repos/crash-catcher/\$releasever/\$basearch/
gpgcheck=0
EOF
  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[edit]

after installation some default settings are stored in /etc/crash-catcher/* configuration is written on single line "key = value {, value}"

  • main config file is /etc/crash-catcher/crash-catcher.conf
  * 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 :-)
  • Plugins conf files are in /etc/crash-catcher/plugins/*
  * description of options is in these files.
  • known working config file /etc/crash-catcher/crash-catcher.conf
   # 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

Known issues[edit]

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[edit]

Available tests include:

Results[edit]

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.

User Smolt Profile Application Tested Bug(s) Comment(s)
James Laska HW Package Install https://fedorahosted.org/crash-catcher/ticket/1 Can't install the packages (bad %requires)
Martin Koci HW Vim - Deadlock while creating the Lock https://fedorahosted.org/crash-catcher/ticket/4 Can't catch the segmentation fault of the vim
Martin Koci HW All https://fedorahosted.org/crash-catcher/ticket/10 SELinux is preventing mailx (sendmail_t) "read" to ./binary_data1 (var_t).
Radek Biba [-] crash-catcher https://fedorahosted.org/crash-catcher/ticket/5 The temporary file /tmp/CCDB is a security hole
Radek Biba [-] cc-gui https://fedorahosted.org/crash-catcher/ticket/17 The "Cancel" button works as the "Apply" button :)
Radek Biba [-] crash-catcher https://fedorahosted.org/crash-catcher/ticket/22 Inappropriate mime type in reported e-mail
Radek Biba [-] cc-gui https://fedorahosted.org/crash-catcher/ticket/23 [RFE] Display the latest crash in the list by default
Michal Schmidt [-] mc https://fedorahosted.org/crash-catcher/ticket/6 "Unable to get report! Debuginfo missing?"
Petr Sklenar HW all https://fedorahosted.org/crash-catcher/ticket/15 "crash-catcher-5 dead but subsys locked"
Petr Sklenar HW apps with suid=0 https://fedorahosted.org/crash-catcher/ticket/25 "apps run under root is not reported"
David Kovalsky HW Package install https://fedorahosted.org/crash-catcher/ticket/20 cc-applet doesn't start
Jan Scotka [-] cc-applet, HWproblem? https://fedorahosted.org/crash-catcher/ticket/26 cc-applet doesn't start, and cc waiting for lock