]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/restart: Add test to check backtrace
authorSam Lang <sam.lang@inktank.com>
Thu, 21 Feb 2013 13:39:12 +0000 (07:39 -0600)
committerSam Lang <sam.lang@inktank.com>
Sat, 16 Mar 2013 16:45:36 +0000 (11:45 -0500)
commit2678db532a3c68ce636323a2afa11d74b2903f32
treed62edbfeff2c60a96953397996cf8644dce83c7b
parent85057e962b264980786cc8186697f107e013058b
qa/workunits/restart:  Add test to check backtrace

This script uses the python bindings to libcephfs and rados
to create files and check the correctness of the backtrace
written to the 'parent' xattr on the first object (if its
a file) or inode (if its a dir).  The script includes test cases
that kill the mds at specific kill points and restart it through
teuthology using the teuthology restart task.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
qa/workunits/restart/test-backtraces.py [new file with mode: 0755]