From patchwork Fri Nov 11 14:55:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 623737 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp827449pvb; Fri, 11 Nov 2022 06:57:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf5SJHW/naeLY40DneMNFAsCKkZJc+nZAElnqTbBR4cjRP3FljuhGapgkt++T+OPjLXrI9cp X-Received: by 2002:a05:620a:e1b:b0:6ec:c52d:65d4 with SMTP id y27-20020a05620a0e1b00b006ecc52d65d4mr1296351qkm.714.1668178634517; Fri, 11 Nov 2022 06:57:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668178634; cv=none; d=google.com; s=arc-20160816; b=lFCPMi+pHRsR+bphYvwz/mPuij4s1TvWwoQ+l615DIkNZKAmdw3eJNwemEDMJd/8sw Ia+ZBK7oT2d9wb3JEVncC9oZjaIpVFlUsvRMbFMUkY/Rqn0yTEkksdWzqHdFbwzrgTde /ifsd690ZIXhFHEPyhaHVjc6pFMfyzETlI4kPovHrqxqxDX5h9BDL59Z+xUq7S0h/ZQE R1jC5FX+lphEdehEQfwSx6abMIulttk1RvaDIGTrbWTmrnsP+qCrvA6iwbgq5cqpyFSh TRM2S1BkBRQhJFEa0ivHecVqcL2m8CI4UpfwS1Iyv24BDhiNOZzfanr8QA9RERZgTowy kn0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GVzdQxsHhnuYq5mRH3xtvS6YyI7O0gS+e+/HR5H+7a8=; b=K6yDAhmOk6WnCuPq2ESX7FK+omHhC2ajbdJUbZ9QJT+bEMOxOj1cT0cdjiAHPDKpb4 1v6i1XNKo4s9PStpMC6y432h4ru7BXzlXLWmoY8UejScL4QvUQCHErd4U4Y8Lm8ASsY7 E0uKjAng+NFmDrVwFUcm3QqkWXmLRkVYyNOE2D1dSq7MhtiQIchqH8NI6ARXYDQK0EpU 89jRS0Gqsv9NhykmknU5JIHqkKVd0TH5T7OPGbHyeePqumgQTehPMTjoRVQu19EWGW+P djLK15BL075yrjivx3qNY5woiXi6Nt7SZvZE3poEFC5bbqMATOGNXhA9Zd1t+asmWmKz HiIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mBcf2Kfb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d18-20020a05620a137200b006f765f6aa33si1062649qkl.52.2022.11.11.06.57.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Nov 2022 06:57:14 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mBcf2Kfb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otVRb-00075A-KP; Fri, 11 Nov 2022 09:55:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otVRY-00073W-8N for qemu-devel@nongnu.org; Fri, 11 Nov 2022 09:55:45 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otVRV-0007xo-UU for qemu-devel@nongnu.org; Fri, 11 Nov 2022 09:55:43 -0500 Received: by mail-wm1-x333.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso3300483wmo.1 for ; Fri, 11 Nov 2022 06:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GVzdQxsHhnuYq5mRH3xtvS6YyI7O0gS+e+/HR5H+7a8=; b=mBcf2KfbKpC5B1l0tpd425lKEVZ7Is3T0ONaIHhl7IzOlxnLCV1nodqvvfc21fvIy2 1IaajB3RE3Yt7gUhpTNJMiJ9BnosOe7hpXeYupli2zenk7lVo2rvD56Ao60HPfifp67m wVQ/ppmXYR/KeD6+6itBrs4a84g5AS3eRz/kpbhbq5AbfHJPKKnU55Qoc5/DgDr4I6Qj NpNoYoz8GcjFoWqtS8ssfPf5FdzADkaCzwwWF+c+r5JEJh5eNk9uoPD1cJOSALT+3Ugu Xjry66L9KJF6toLpbeYRhkPeZaht992LRt0k34H3k/8BHmZwuj9rSCAdf/i6MAgxgVIp 4qRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GVzdQxsHhnuYq5mRH3xtvS6YyI7O0gS+e+/HR5H+7a8=; b=vIRmsg5JNNfBiImoEwPKAVN3zloP9b8GGdpGS8qY8hKxh14RqmtZMXjKgYnscwK/Pp 8R+nE8q2HuOb7ANBlqJ9b8E1s2xiZKhWGm8nbg8080qDjN5MihHjgh2zKqizUKLcf4EL mLtgim56yeNSx98g0akdtvSTiMqng1akzpksUzll298qqVfa2KfjhYr8C6xhV818jhny N8SkP3DnTwkDAbm+ve5oXinPTDUi4aSoDcUD/A8sye/nCw3YRjp6OcXiliHQ1R7P2u2s J543fKFuwsN24roiNLB/N78knogxkwwZB7f3QCxCPg/V0Ic1RUzQengI2ZvBIxbLz7y+ hCMg== X-Gm-Message-State: ANoB5pnAZGYArqZh2sdR5Iq/3aHNyIaZxoEbBpM2mqbz0tfoa81chAGW 7nRM0ICF18qL8H2zEM9GwPhDeg== X-Received: by 2002:a05:600c:43d6:b0:3cf:a18d:39b1 with SMTP id f22-20020a05600c43d600b003cfa18d39b1mr1447850wmn.149.1668178539906; Fri, 11 Nov 2022 06:55:39 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id t67-20020a1c4646000000b003cfa622a18asm8890923wma.3.2022.11.11.06.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 06:55:38 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 109141FFC3; Fri, 11 Nov 2022 14:55:31 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v2 11/12] gitlab: integrate coverage report Date: Fri, 11 Nov 2022 14:55:28 +0000 Message-Id: <20221111145529.4020801-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111145529.4020801-1-alex.bennee@linaro.org> References: <20221111145529.4020801-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This should hopefully give is nice coverage information about what our tests (or at least the subset we are running) have hit. Ideally we would want a way to trigger coverage on tests likely to be affected by the current commit. Signed-off-by: Alex Bennée Acked-by: Stefan Hajnoczi --- .gitlab-ci.d/buildtest.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 7173749c52..d21b4a1fd4 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -494,7 +494,17 @@ check-gprof-gcov: IMAGE: ubuntu2004 MAKE_CHECK_ARGS: check after_script: - - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh + - cd build + - gcovr --xml-pretty --exclude-unreachable-branches --print-summary + -o coverage.xml --root ${CI_PROJECT_DIR} . *.p + coverage: /^\s*lines:\s*\d+.\d+\%/ + artifacts: + name: ${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA} + expire_in: 2 days + reports: + coverage_report: + coverage_format: cobertura + path: build/coverage.xml build-oss-fuzz: extends: .native_build_job_template