Meego Wiki
Views

Quality/QA-tools/Corelysis

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Corelysis)
(Corelysis)
Line 14: Line 14:
[[File:backend.png|600px|thumb|center|Corelysis work flow]]
[[File:backend.png|600px|thumb|center|Corelysis work flow]]
 +
 +
== What it provides? ==
 +
 +
==  Installation ==
 +
 +
=== Prepare ===
 +
 +
 +
=== From MeeGo package repositories ===
 +
 +
TODO
 +
 +
=== From sources ===
 +
 +
* Get sources
 +
git clone git://gitorious.org/meego-quality-assurance/corelysis.git
 +
 +
* Install dependencies ('''Ubuntu''')
 +
 +
sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc
 +
 +
* Install dependencies ('''Fedora''')
 +
 +
sudo yum install python-setuptools python-inotify sp-rich-core-postproc
 +
 +
* Install everything
 +
 +
cd corelysis
 +
sudo python setup.py install
   
   
 +
=== Executing Corelysis ===
 +
 +
sudo /usr/bin/corelysis
 +
== Contact ==
== Contact ==

Revision as of 10:36, 3 June 2011

Contents

Corelysis

Introduction

Corelysis is a daemon service written in Python, which extracts, processes rich core dumps from saved from MeeGo devices and finally publishes crash data in Crash Reports. Corelysis runs on back-end server and works closely with OTS service.

Corelysis has originated from Nokia, where it has been utilized for Maemo related QA work. Later on Corelysis has been developed for MeeGo N900 DeveloperEdition to report process crashes occured in automated test execution runs.

Automated testing and crash reporting

How does it work?

The idea of Corelysis is quite simple. It takes a rich core dump as an input extracts the data from it and runs it through a set of "tasks", which each manipulate the data in different way. Maybe the most relevant task is the one which generates the backtrace from plain core dump. To be able to do this, Corelysis needs a fs-type meego image with corresponding debuginfo-packages installed. To generate the backtrace, a cross-compiled GDB is executed in chrooted target.

Corelysis work flow

What it provides?

Installation

Prepare

From MeeGo package repositories

TODO

From sources

  • Get sources
git clone git://gitorious.org/meego-quality-assurance/corelysis.git
  • Install dependencies (Ubuntu)
sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc
  • Install dependencies (Fedora)
sudo yum install python-setuptools python-inotify sp-rich-core-postproc
  • Install everything
cd corelysis
sudo python setup.py install

Executing Corelysis

sudo /usr/bin/corelysis

Contact

In Corelysis related issues/ questions contact us in the following channels:

Personal tools