From patchwork Thu Jan 10 23:07:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Dachary X-Patchwork-Id: 1962901 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5E27E3FF0F for ; Thu, 10 Jan 2013 23:14:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752431Ab3AJXOt (ORCPT ); Thu, 10 Jan 2013 18:14:49 -0500 Received: from smtp.dmail.dachary.org ([86.65.39.20]:60991 "EHLO smtp.dmail.dachary.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336Ab3AJXOt (ORCPT ); Thu, 10 Jan 2013 18:14:49 -0500 X-Greylist: delayed 416 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Jan 2013 18:14:48 EST Received: by smtp.dmail.dachary.org (Postfix, from userid 65534) id 16E662639A; Fri, 11 Jan 2013 00:07:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on dmail.dachary.vm.gnt X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 Received: from [10.8.2.6] (unknown [10.8.0.22]) by smtp.dmail.dachary.org (Postfix) with ESMTPS id 6379D26397 for ; Fri, 11 Jan 2013 00:07:49 +0100 (CET) Message-ID: <50EF49C4.1020909@dachary.org> Date: Fri, 11 Jan 2013 00:07:48 +0100 From: Loic Dachary Organization: Artisan Logiciel Libre User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.9) Gecko/20121014 Icedove/10.0.9 MIME-Version: 1.0 To: Ceph Development Subject: code coverage and teuthology X-Enigmail-Version: 1.4 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org 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',