Hi, The "ceph code coverage" ( http://dachary.org/?p=1788 ) guide to collecting code coverage using teuthology was updated to take into account the fact that teuthology now uses packages ( the install: task ). But it is still incomplete because I'm not sure how to collect the coverage data. For test purposes I used the simplest yaml file: check-locks: false roles: - - mon.a - mon.c - osd.0 - - mon.b - osd.1 tasks: - install: - ceph: branch: master coverage: true flavor: gcov fs: xfs and it completes successfully. The method I learnt to collect code coverage back in january relied on a ceph-sha1 file being created in the --archive but it's no longer there. Reading https://github.com/ceph/teuthology/commit/2653b5a07b880c202800c939efcd1ccaaf254841#L0R72 prompted me to try to add coverage: true : check-locks: false roles: - - mon.a - mon.c - osd.0 - - mon.b - osd.1 tasks: - install: coverage: true - ceph: branch: master coverage: true flavor: gcov fs: xfs but it fails with CommandFailedError: Command failed on 10.20.0.7 with status 1: 'rmdir -- /tmp/cephtest/ubuntu@teuthology-2013-03-04_21-03-19' DEBUG:teuthology.run_tasks:Exception was not quenched, exiting: Exception: failed to fetch package version from http://gitbuilder.ceph.com/ceph-deb-quantal-x86_64-gcov/ref/master/version INFO:teuthology.run:Summary data: I would very much appreciate a hint. Cheers -- Loïc Dachary, Artisan Logiciel Libre
Attachment:
signature.asc
Description: OpenPGP digital signature