QA:Testcase Retrace Server GUI

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|description=This test case tests [[Features/RetraceServer|Retrace Server]]'s integration into [[Features/ABRT|ABRT]] GUI.
 
|description=This test case tests [[Features/RetraceServer|Retrace Server]]'s integration into [[Features/ABRT|ABRT]] GUI.
 
|setup=
 
|setup=
 +
# Install retrace client - su -c 'yum install abrt-retrace-client'
 
# Make sure you have ABRT crashes caught by CCpp (crashes in C and C++ applications) that need retrace (i.e. you haven't already retrieved the necessary debuginfo packages and generated the full backtrace) available. If you do not have any, run a C or C++ application and crash it using {{command|kill -SIGSEGV (pid)}} or {{command|pkill -SIGSEGV (processname)}}
 
# Make sure you have ABRT crashes caught by CCpp (crashes in C and C++ applications) that need retrace (i.e. you haven't already retrieved the necessary debuginfo packages and generated the full backtrace) available. If you do not have any, run a C or C++ application and crash it using {{command|kill -SIGSEGV (pid)}} or {{command|pkill -SIGSEGV (processname)}}
# You need to use the {{command|retrace02.fedoraproject.org}} server to retrace F16 crashes. You can set the Retrace Server address via ABRT's "Event Configuration".
 
# Because of certificate hostname mismatch ({{command|retrace02.fedoraproject.org}} != {{command|retrace.fedoraproject.org}}) you need to disable the certificate check. Go to Edit->Preferences->Retrace Server and write '''insecure''' to insecure option entry.
 
- or add {{command|--insecure}} option to {{command|abrt-retrace-client}} line in {{command|/etc/libreport/events.d/ccpp_retrace_event.conf}} so the line looks like {{command|abrt-retrace-client batch --dir "$DUMP_DIR" --status-delay 10 --insecure &&}}. Keep in mind this disables '''all''' certificate errors handling, thus it is not a good idea to use coredumps that may contain sensitive data.
 
 
|actions=
 
|actions=
 
# Run {{command|abrt-gui}} and select a binary crash
 
# Run {{command|abrt-gui}} and select a binary crash

Revision as of 16:03, 25 April 2012

Contents

Description

This test case tests Retrace Server's integration into ABRT GUI.

Setup

  1. Install retrace client - su -c 'yum install abrt-retrace-client'
  2. Make sure you have ABRT crashes caught by CCpp (crashes in C and C++ applications) that need retrace (i.e. you haven't already retrieved the necessary debuginfo packages and generated the full backtrace) available. If you do not have any, run a C or C++ application and crash it using kill -SIGSEGV (pid) or pkill -SIGSEGV (processname)

How to test

  1. Run abrt-gui and select a binary crash
  2. On Analyze step select Retrace Server. If GUI shows reporting selector instead of analyze selector (this happens if you already have the backtrace), select any reporter and click "Regenerate backtrace" button in the next window. This will bring you to analyzer selector
  3. Wait until the job is finished
  4. Continue with reporting
  5. Not all distributions are supported. For example, trying to retrace Fedora 13 crash will result into an error.
  6. If reporting is unsuccessful, please include the reporting log in your abrt bug report. Reporting log can be cut and pasted from GUI report window, or retrieved from event_log file in problem data directory (e.g. /var/spool/abrt/ccpp-2011-03-04-15:46:26-22496/event_log)

Expected Results

  1. The backtrace should be generated and it should good quality (all relevant symbols should be present - except for __kernel_vsyscall)