From nobody Mon Feb 9 17:37:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604868468; cv=none; d=zohomail.com; s=zohoarc; b=B6tKqhTs61rwrkIl//kLf+3UvmMydCbgg4SnBsHC8ifGV/u0Cuxmhhg8Barnet6ARPxv8028kZWNf8zTajtAZCql3MmZJf0ZNB11rF4NYUaWdFg/nxiDecx0tYdsdVIkRpdVd1oeVPp98UfgNGIDyafLALCXqKrP185JjnXfwfw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604868468; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Llw+O6PjDVffHPJXTH+hz+9KQjdl+Bz3DI9UFB5K8Pg=; b=RPOt+m9IrMKUHTtoZQmc4TKp5YWN4lXQB0mj//J3xiHYy3LD4X7tyXilXFSCig/dkLny+Rz8Zd82KcZTrJyR0NC6XDczm6IZcNs/X7KZyE12iLwSBEBxQ4mBsAz1s47vlF0uTdk0Z7UC4hrzzElU16tHmFZzXGMDNXQ0ixPNrMc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 160486846813148.876291351429245; Sun, 8 Nov 2020 12:47:48 -0800 (PST) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-389-cUe6MOMsMj62tx0MX_zHlA-1; Sun, 08 Nov 2020 15:47:44 -0500 Received: by mail-wm1-f70.google.com with SMTP id z62so2791084wmb.1 for ; Sun, 08 Nov 2020 12:47:44 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id h81sm10593305wmf.44.2020.11.08.12.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Nov 2020 12:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604868467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Llw+O6PjDVffHPJXTH+hz+9KQjdl+Bz3DI9UFB5K8Pg=; b=FFhJF3OOkVbYns6t2WA2ACVd1qmbKGhSJ6BuCSiO9JCCbidXkZzlxPSo1+mSMGUk5HJywT K4xvpwpHM7nQDOU2it4APw4UVN32aYEXuBYtYCMB/CvH/yAP0DeZm1ZrHyg7J0XT3hnVbf X0crY5/+iml1kSEHONGJtxgw6fgK8Kw= X-MC-Unique: cUe6MOMsMj62tx0MX_zHlA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Llw+O6PjDVffHPJXTH+hz+9KQjdl+Bz3DI9UFB5K8Pg=; b=LnuamuhBNyYhlPq6h3XzXwUOQQzMfDZS7HINGZr9V8BJfQCrGykV8bHWhlTWfFcezV /muYqiLdy5yC4MHAHGARRwB+wDMvkP5G/CwBVyNo5MojZQz+fmV8E6gSuSgTlq2TjKwy 18l51ABxtM3T3NjmkIEfaskgl5CifujsSd0CA9Qr307rpwV77+SQYBBRqUJ8CoOq3PAr QmLLHRGZ02m8r1CMMxjIuOuOG7V6IzB3Q/uoeZAEMTLFSkf1sV/0eSC6v0GHh7huxmBS e7Nj7+Gz1tTSdb/mqa91oju8x/zSwtf55pFWfG5TvwAX7QaSczb51Zwrzw8IqUdK8Zvw mrZg== X-Gm-Message-State: AOAM533H2plLElLrHe6eVYwYtSh2CYsGyhBwazwvi+H5nNm+cS2AdJaP EbTTguVy+cHENnaQUfsol/5N0FwQ6Bbb3kjWYPBYfKXfwveqEM3gWlY/TGJIxo42Q4z0rlNzBwm MrCzDOo7rx/d0MA== X-Received: by 2002:adf:dc4c:: with SMTP id m12mr14575589wrj.177.1604868463616; Sun, 08 Nov 2020 12:47:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkj28UmF0WqSpVBRRdSdfGeHF3IvrynkcwtYIunXVEaZY+ARIVIS65pjsXOzbmuxsvwsteuw== X-Received: by 2002:adf:dc4c:: with SMTP id m12mr14575568wrj.177.1604868463426; Sun, 08 Nov 2020 12:47:43 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Jiaxun Yang , Igor Mammedov , "Michael S. Tsirkin" , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Wainer dos Santos Moschetta , Aurelien Jarno , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Aleksandar Rikalo , Richard Henderson , Fam Zheng , "Daniel P . Berrange" Subject: [PATCH-for-6.0 v4 09/17] gitlab-ci: Move gprof/gcov test across to gitlab Date: Sun, 8 Nov 2020 21:45:27 +0100 Message-Id: <20201108204535.2319870-10-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201108204535.2319870-1-philmd@redhat.com> References: <20201108204535.2319870-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Similarly to commit 8cdb2cef3f1, move the gprof/gcov test to GitLab. The coverage-summary.sh script is not Travis-CI specific, make it generic. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.yml | 12 ++++++++++++ .travis.yml | 14 -------------- MAINTAINERS | 2 +- scripts/{travis =3D> ci}/coverage-summary.sh | 2 +- 4 files changed, 14 insertions(+), 16 deletions(-) rename scripts/{travis =3D> ci}/coverage-summary.sh (92%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80082a602b8..d1583cee5db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -403,6 +403,18 @@ check-deprecated: MAKE_CHECK_ARGS: check-tcg allow_failure: true =20 +# gprof/gcov are GCC features +build-gprof-gcov: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-gprof --enable-gcov + MAKE_CHECK_ARGS: build-tcg + TARGETS: aarch64-softmmu mips64-softmmu ppc64-softmmu + riscv64-softmmu s390x-softmmu x86_64-softmmu + after_script: + - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh + build-oss-fuzz: <<: *native_build_job_definition variables: diff --git a/.travis.yml b/.travis.yml index bee6197290d..6087e2909cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -210,20 +210,6 @@ jobs: compiler: clang =20 =20 - # gprof/gcov are GCC features - - name: "GCC gprof/gcov" - dist: bionic - addons: - apt: - packages: - - ninja-build - env: - - CONFIG=3D"--enable-gprof --enable-gcov --disable-libssh - --target-list=3D${MAIN_SOFTMMU_TARGETS}" - after_success: - - ${SRC_DIR}/scripts/travis/coverage-summary.sh - - # We don't need to exercise every backend with every front-end - name: "GCC trace log,simple,syslog (user)" env: diff --git a/MAINTAINERS b/MAINTAINERS index 817c7c93f91..3d8c586d444 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3121,7 +3121,7 @@ R: Philippe Mathieu-Daud=C3=A9 S: Maintained F: .github/lockdown.yml F: .travis.yml -F: scripts/travis/ +F: scripts/ci/ F: .shippable.yml F: tests/docker/ F: tests/vm/ diff --git a/scripts/travis/coverage-summary.sh b/scripts/ci/coverage-summa= ry.sh similarity index 92% rename from scripts/travis/coverage-summary.sh rename to scripts/ci/coverage-summary.sh index d7086cf9ca6..8d9fb4de401 100755 --- a/scripts/travis/coverage-summary.sh +++ b/scripts/ci/coverage-summary.sh @@ -3,7 +3,7 @@ # Author: Alex Benn=C3=A9e # # Summerise the state of code coverage with gcovr and tweak the output -# to be more sane on Travis hosts. As we expect to be executed on a +# to be more sane on CI runner. As we expect to be executed on a # throw away CI instance we do spam temp files all over the shop. You # most likely don't want to execute this script but just call gcovr # directly. See also "make coverage-report" --=20 2.26.2