Skip to contentSkip to conversation

How to collect coverage with teuthology ?

DISCUSSION Loic Dachary 2 participants 2 messages Aug 14, 2013

lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Loic Dachary

Hi,

Although

http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-deb-precise-amd64-gcov/log.cgi?log=26707923b23cb55583a7d6b46ef6deb9591fd165

claims to build packages with coverage ( -gcov in the name ), I can't figure out where it is nor how it is supposed to be used.

That gitbuilder runs the gcov build script in autobuild-ceph.git to build the package.

To use it, you do coverage: true somewhere in the job yaml (i forget exactly), teuthology will pull the packages from that gitbuilder instead of the regular one, and... I don't know the rest actually; Josh knows more. We haven't done this in a while :(, but need to start doing it again. One of the main annoyances is that in order for gcov to write out its info the process needs to shutdown cleanly, so there are a few changes in how teuthology invokes the daemons.

sage

Quoted 8 lines

A hint would be much appreciated :-)

Signature · 2 lines
Lo?c Dachary, Artisan Logiciel Libre
All that is necessary for the triumph of evil is that good people do nothing.