From patchwork Thu Nov 17 17:25:30 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: 625494 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1006759pvb; Thu, 17 Nov 2022 09:28:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Ei3PuMm/xLh+UM8eG8eYg3IEEnaAgdq19+Zwn9l+5vXyuZ4FO1o7hXYazVdecJqsqDuN5 X-Received: by 2002:a05:622a:1c16:b0:3a5:3084:9271 with SMTP id bq22-20020a05622a1c1600b003a530849271mr3096592qtb.366.1668706082529; Thu, 17 Nov 2022 09:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668706082; cv=none; d=google.com; s=arc-20160816; b=xzREI299ylM8mTRja+7QIF8coWG2S+JM/MNFnqa7WGEa43eE58mPc3mqR6VhO6se1F uFS3Jekm0vmH2JsBgSx9zruxKAgziQlfkJq9nfr3wwWtVsKU3wB2mTNpgQxvT8HcSaOI DIAh4wpHlaaPCzFCMNQVvzEx59DoyrBkmsNYkedIMGZQRJIHNKmvQudzP5bnGLVO0rpp AjLjVTMgyGE8Hbqrwpf7CuynTBU0n5F1nXet9ITqkEm3i6guDBFiqj0VTn7s9fLD8xB5 gsgnVhD0gWJo8ibTKjeqHqolnE+PieXrqQErMn0fctGxs1ZKwYug4tmdevONY72jz8Nx 0XEQ== 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=KsoXyv/ps+YbWahAkHox+gO9CbRysA54OuU4lgnIP2M=; b=FhuM+VSye94Gvsba5akrUGQzP0I+0Flw2sXGmPzFoJY4hGFwRrJO0BqUxBTb9Gju+a BqRh3wbeLUu3LbmZpeHGuri9XKb7Ph7VWaTOQ9xs4VeAC7MVwBxpOzWXa7exyNow1Hlo takzp2sc73T04rQkIXK+NrmatCeKIwnsowae+EiuW2DHEoAdKLyWQvNybGg2KBfX8oXw loaghcgTyCWHInneo4Orgp+C9iT0YNXbiqY5IsJy/JcNg50h5YhrJGG4dlzv7qVmqcZp tLFc6lDRYzXWK0revsR2jEHbEnpt/9pvQmi4GkaA56UpFwkPCRhjO8Scb9348BsggdFX EXaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LrNMXYZh; 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 jm11-20020ad45ecb000000b004ad040f974asi773130qvb.67.2022.11.17.09.28.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Nov 2022 09:28:02 -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=LrNMXYZh; 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 1ovieI-0006SL-CT; Thu, 17 Nov 2022 12:26:02 -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 1ovie8-0006NT-I2 for qemu-devel@nongnu.org; Thu, 17 Nov 2022 12:25:56 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovie2-0006FL-A8 for qemu-devel@nongnu.org; Thu, 17 Nov 2022 12:25:52 -0500 Received: by mail-wm1-x334.google.com with SMTP id m7-20020a05600c090700b003cf8a105d9eso2246001wmp.5 for ; Thu, 17 Nov 2022 09:25:42 -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=KsoXyv/ps+YbWahAkHox+gO9CbRysA54OuU4lgnIP2M=; b=LrNMXYZh4HdY6xoENMuEilMMzR92JAiCLd4VXmwV8jKL9uxrm/+867pSNs1Tp2+cZa GEaglqS6AYsmmhVpS+rjlqsX3u0F+RefnXFfpGF8Df738R34fsR9rdFcNnrSRQvCLA9U OX2hgL6zPvrPNyYmPjhIszHS2IKm9bGQTaVCwPAkcHu0vR222tAWNuyj2ut500U3ONhf 6pbQOFk7XjyXo4v9EVMitxFUX04e2lshbJrnT8ltl0yCJCgaxYwJPKaTEmQCzh/9Dgfk DT/c5KPiiMXJtnSK3WV0Cbk2zh8ttRHPG04pC043i9NAJcJ4bv9N8Ta8CA0IY661kKHQ JPFw== 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=KsoXyv/ps+YbWahAkHox+gO9CbRysA54OuU4lgnIP2M=; b=nAiGfCpnDKbYMKRDLmqTHrJcDEtHsChxJWl+8FjaUVfwq6ZUhNB7ImdQ3SN9G3kn4o v0hQ8OYBeh+CYdT4bDwIYDZgG5PsvG8T8O9phECY3Z2qv+uioEMTE6+NWwIxPlHHrPVX QL3sjMkKWy50foqwxkY7zN549EJBDUaFWysuTTT73ZCdcz6vFaONbtdXXBsQBXfCni1I OCiydi+LfjB6sKyQuEd0Fat+q3E8Pl/RdskPjvZFtvk7IhN5sEGZsWb98bIqUCfBObzs 6doDrsQ3+oXfJ4CoUILhddc1X50YDnTrfp0Wfx2DbC4aRE+sO91XiEufuixskf5emlhf SeWA== X-Gm-Message-State: ANoB5plJ9ocaNRVYzxn9FezMpsaKR2vaUF4eqfOfvuofUaIq0xXUnQ1m tKbcRe0vb3Lm102e9BW+PYDe9w== X-Received: by 2002:a05:600c:4891:b0:3cf:d367:2765 with SMTP id j17-20020a05600c489100b003cfd3672765mr6071371wmp.12.1668705941418; Thu, 17 Nov 2022 09:25:41 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id q125-20020a1c4383000000b003c6cd82596esm6259337wma.43.2022.11.17.09.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 09:25:38 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E43C41FFBA; Thu, 17 Nov 2022 17:25:33 +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 v3 11/13] gitlab: integrate coverage report Date: Thu, 17 Nov 2022 17:25:30 +0000 Message-Id: <20221117172532.538149-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221117172532.538149-1-alex.bennee@linaro.org> References: <20221117172532.538149-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.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, T_SPF_TEMPERROR=0.01 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 Message-Id: <20221111145529.4020801-12-alex.bennee@linaro.org> --- .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