* teuthology and code coverage revisited
@ 2013-03-04 23:40 Loic Dachary
2013-03-05 17:30 ` Josh Durgin
0 siblings, 1 reply; 3+ messages in thread
From: Loic Dachary @ 2013-03-04 23:40 UTC (permalink / raw)
To: Ceph Development
[-- Attachment #1: Type: text/plain, Size: 1524 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: teuthology and code coverage revisited
2013-03-04 23:40 teuthology and code coverage revisited Loic Dachary
@ 2013-03-05 17:30 ` Josh Durgin
2013-03-05 23:05 ` Loic Dachary
0 siblings, 1 reply; 3+ messages in thread
From: Josh Durgin @ 2013-03-05 17:30 UTC (permalink / raw)
To: Loic Dachary; +Cc: Ceph Development
On 03/04/2013 03:40 PM, Loic Dachary wrote:
> 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:
There's only one gitbuilder that is configured --enable-coverage, and
that one is for precise, hence the error fetching a gcov package for
quantal. You can see them all at: http://ceph.com/gitbuilder.cgi
Josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: teuthology and code coverage revisited
2013-03-05 17:30 ` Josh Durgin
@ 2013-03-05 23:05 ` Loic Dachary
0 siblings, 0 replies; 3+ messages in thread
From: Loic Dachary @ 2013-03-05 23:05 UTC (permalink / raw)
To: Josh Durgin; +Cc: Ceph Development
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
On 03/05/2013 06:30 PM, Josh Durgin wrote:
> On 03/04/2013 03:40 PM, Loic Dachary wrote:
>> 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:
>
> There's only one gitbuilder that is configured --enable-coverage, and
> that one is for precise, hence the error fetching a gcov package for
> quantal. You can see them all at: http://ceph.com/gitbuilder.cgi
Hi Josh,
Thanks for clarifying this. I'll re-build the targets with precise.
Cheers
>
> Josh
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-05 23:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 23:40 teuthology and code coverage revisited Loic Dachary
2013-03-05 17:30 ` Josh Durgin
2013-03-05 23:05 ` Loic Dachary
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.