(→Installation) |
(→Installation) |
||
| Line 19: | Line 19: | ||
== Installation == | == Installation == | ||
| - | === | + | === Preparation - Adding MeeGo Tools:Testing repository === |
| + | '''Ubuntu''' | ||
| + | |||
| + | * Depending on your distribution, add either of the below lines to /etc/apt/sources.list. | ||
| + | |||
| + | deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.04/ / | ||
| + | |||
| + | deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.10/ / | ||
| + | |||
| + | * Add the repository keys | ||
| + | |||
| + | gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A | ||
| + | gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add - | ||
| + | |||
| + | * Update the package list | ||
| + | |||
| + | sudo apt-get update | ||
| + | |||
| + | '''Fedora''' | ||
| + | |||
| + | * Add the repository | ||
| + | |||
| + | cd /etc/yum.repos.d/ | ||
| + | sudo wget http://download.meego.com/live/Tools:/Testing/Fedora13/Tools:Testing.repo | ||
| + | |||
| + | * Add the repository keys | ||
| + | |||
| + | gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A | ||
| + | gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add - | ||
=== Install from MeeGo package repositories === | === Install from MeeGo package repositories === | ||
| Line 31: | Line 59: | ||
git clone git://gitorious.org/meego-quality-assurance/corelysis.git | git clone git://gitorious.org/meego-quality-assurance/corelysis.git | ||
| - | * Install dependencies | + | * Install dependencies |
| + | |||
| + | '''Ubuntu''' | ||
sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc | sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc | ||
| - | + | '''Fedora''' | |
sudo yum install python-setuptools python-inotify sp-rich-core-postproc | sudo yum install python-setuptools python-inotify sp-rich-core-postproc | ||
Contents |
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.
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.
Ubuntu
deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.04/ /
deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.10/ /
gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
sudo apt-get update
Fedora
cd /etc/yum.repos.d/ sudo wget http://download.meego.com/live/Tools:/Testing/Fedora13/Tools:Testing.repo
gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
TODO
git clone git://gitorious.org/meego-quality-assurance/corelysis.git
Ubuntu
sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc
Fedora
sudo yum install python-setuptools python-inotify sp-rich-core-postproc
cd corelysis sudo python setup.py install
sudo /usr/bin/corelysis
In Corelysis related issues/ questions contact us in the following channels: