All of lore.kernel.org
 help / color / mirror / Atom feed
* code coverage and teuthology
@ 2013-01-10 23:07 Loic Dachary
  2013-01-14 17:26 ` Josh Durgin
  0 siblings, 1 reply; 6+ messages in thread
From: Loic Dachary @ 2013-01-10 23:07 UTC (permalink / raw)
  To: Ceph Development


[-- Attachment #1.1: Type: text/plain, Size: 1968 bytes --]

Hi,

I successfully run teuthology with the proposed 3node_rgw.yaml [1] and changing the flavor from basic to gcov [2]. I hoped to use cov-init.sh ( https://github.com/ceph/teuthology/blob/master/coverage/cov-init.sh ) and then coverage.sh but I can't figure out how to make it work.

Hints would be most appreciated ;-)

[1] 3node_rgw.yaml

check-locks: false
interactive-on-error: true
overrides:
  ceph:
    branch: master
    fs: xfs
roles:
- - mon.a
  - mon.c
  - osd.0
- - mon.b
  - mds.a
  - osd.1
- - client.0
tasks:
- ceph: null
- rgw:
  - client.0
- interactive:

targets:
(snip)

[2] http://gitbuilder.ceph.com/ceph-tarball-precise-x86_64-gcov/

diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py
index b62bc1d..99d4f18 100644
--- a/teuthology/task/ceph.py
+++ b/teuthology/task/ceph.py
@@ -1027,7 +1027,7 @@ def task(ctx, config):
     dist = 'precise'
     format = 'tarball'
     arch = 'x86_64'
-    flavor = 'basic'
+    flavor = 'gcov'

     # First element: controlled by user (or not there, by default):
     # used to choose the right distribution, e.g. "oneiric".
diff --git a/teuthology/task/kernel.py b/teuthology/task/kernel.py
index 5c34433..54eaebb 100644
--- a/teuthology/task/kernel.py
+++ b/teuthology/task/kernel.py
@@ -183,7 +183,7 @@ def download_deb(ctx, config):
                 package='kernel',
                 sha1=src,
                 format='deb',
-                flavor='basic',
+                flavor='gcov',
                 arch='x86_64',
                 dist='precise',
                 )
@@ -408,7 +408,7 @@ def task(ctx, config):
                 branch=role_config.get('branch'),
                 tag=role_config.get('tag'),
                 sha1=role_config.get('sha1'),
-                flavor='basic',
+                flavor='gcov',
                 format='deb',
                 dist='precise',
                 arch='x86_64',


[-- Attachment #1.2: loic.vcf --]
[-- Type: text/x-vcard, Size: 342 bytes --]

begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:Artisan Logiciel Libre
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:loic@dachary.org
title:Senior Developer
tel;work:+33 4 84 25 08 05
tel;home:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
note:Born 131414404 before EPOCH.
url:http://dachary.org/
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-16 12:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 23:07 code coverage and teuthology Loic Dachary
2013-01-14 17:26 ` Josh Durgin
2013-01-15 10:10   ` Loic Dachary
2013-01-15 17:21     ` Josh Durgin
2013-01-15 20:23       ` Dan Mick
2013-01-16 12:52       ` 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.