From nobody Mon Apr 29 19:12:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@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 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1616754929; cv=none; d=zohomail.com; s=zohoarc; b=TDMxGK44/EB/4gvBIjqruSmL8xWcz15uxwKdolYFJUezmWhHQUH7SSxQEA/g9mw+19nZCl7487sGhKyA5VVjUudyTPHFBdxbWM2U1y3sGOmjUxwiM3M7RSfRpNrmuv1MpZdsE8Psg2da/jSyLdUERmAoYr2RRSA9CIMAFCokI7g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616754929; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=j7T3AN8n3+GkNPvSgo7kxfaJEAM7HkIy7Fk/W6m7IiI=; b=I/vY3m+jUtVTa0ETEv+4tw3YOXqi/2qGHKAm/gOHZ+q6aRwHYXutgpg3kgEf+zNd5pGDn/0x22ZJPEP5wOPo2F4FmaUWizyLQa5g15jS0SmFW2JACcZfPPUGXTn8AaaX5qW/+cnu+R9RejzrqOifl1ZbrujUcqH9r+N5xbV07B4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1616754929471649.4652202867982; Fri, 26 Mar 2021 03:35:29 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-180-8GPIaBUPOIud-QwfV05M-g-1; Fri, 26 Mar 2021 06:35:26 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 722B81922961; Fri, 26 Mar 2021 10:35:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 216F3369A; Fri, 26 Mar 2021 10:35:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id CD9C54A7CA; Fri, 26 Mar 2021 10:35:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12QAZA3q023430 for ; Fri, 26 Mar 2021 06:35:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id A9EF95D9F2; Fri, 26 Mar 2021 10:35:10 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D2E0C5D9DE for ; Fri, 26 Mar 2021 10:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616754928; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=j7T3AN8n3+GkNPvSgo7kxfaJEAM7HkIy7Fk/W6m7IiI=; b=cq+3kPESrN5fQCar9zt4M9GJ3FehqscUGPZKjLCYc4hEo+lQ+H2ffO72piy51TUZ0IHGr+ QDDmfGQdEou8ro4Fc2QuWzMMv9Gvsaw1bH+EILyAKIitBNmB26hkctn33gI2BLohJLeIdi dBkdbPGn6fzXxVoGU1HxIIvkiceIgTg= X-MC-Unique: 8GPIaBUPOIud-QwfV05M-g-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] ci: Don't use --prefix with meson for Cirrus CI builds Date: Fri, 26 Mar 2021 11:35:01 +0100 Message-Id: <20210326103502.58670-2-abologna@redhat.com> In-Reply-To: <20210326103502.58670-1-abologna@redhat.com> References: <20210326103502.58670-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" It's no longer used. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- ci/cirrus/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml index a6b13b947c..2d3c46a77c 100644 --- a/ci/cirrus/build.yml +++ b/ci/cirrus/build.yml @@ -20,5 +20,5 @@ build_task: - git fetch origin "$CI_COMMIT_REF_NAME" - git reset --hard "$CI_COMMIT_SHA" build_script: - - meson build --prefix=3D$(pwd)/install-root + - meson build - ninja -C build dist --=20 2.26.3 From nobody Mon Apr 29 19:12:22 2024 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=libvir-list-bounces@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=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1616754934; cv=none; d=zohomail.com; s=zohoarc; b=ZMSSKnyJO/fGUBJ7TpFRQbTapkNqPwXyCZPMIqsG8mTQ5SiwtlKeUn3ljQ0I9JMjA3nfnP2+CAtmIm1LPPYiXmHDSe+WbizPETAiTF9x+2tITz0DikAqsdh8+tR3Kab8ECNTGRCH9kNVkR26jppWjk9LtRqMbO7q8AFWwITmOO0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616754934; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9JfDjgf48RTKACL0CZbJXLxSuji5iUe7UAyHSpdgA2k=; b=YqzjzkLorJaGvKNgIA7sth9WNqgVeeSNXxeYet5jlZRcveH4boYBjEdonInuSubIq/Np8zpaBwBiM9alTQqjHPOAwpjayQDiqfnTJ2aaUuo069Y5bA4/L/zoozctymmihIfU4cfpydD9Jq35OfKhdcaNKuV+34sg1XQzPYbbQcA= 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=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: 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 161675493485271.32912497528412; Fri, 26 Mar 2021 03:35:34 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-585-muTErDYuMdCs4J_novirHg-1; Fri, 26 Mar 2021 06:35:31 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EC8B91005D57; Fri, 26 Mar 2021 10:35:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C3158891D7; Fri, 26 Mar 2021 10:35:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7D7014A7CD; Fri, 26 Mar 2021 10:35:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12QAZCoM023455 for ; Fri, 26 Mar 2021 06:35:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2159F5D9F2; Fri, 26 Mar 2021 10:35:12 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4824D5D9DE for ; Fri, 26 Mar 2021 10:35:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616754933; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9JfDjgf48RTKACL0CZbJXLxSuji5iUe7UAyHSpdgA2k=; b=JC03Dbyf0SWMFwPLyIjz1p/5OEOoU+lkvcTyTyaZSaDC17ET4TbJ2pNzVdWC23Z6nDB+ab Weh8u9D/w6Su9alr9vcDwweO9fka3dxAwZ4xRxO3TWzfZElvjgAhikRuGN8k3nP1hRTjuN VCkLdzhJVuNjuAaThsKStaVge9OA00w= X-MC-Unique: muTErDYuMdCs4J_novirHg-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] ci: Call meson consistently Date: Fri, 26 Mar 2021 11:35:02 +0100 Message-Id: <20210326103502.58670-3-abologna@redhat.com> In-Reply-To: <20210326103502.58670-1-abologna@redhat.com> References: <20210326103502.58670-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" We should always pass --werror and display the contents of the log file in case of failure. Signed-off-by: Andrea Bolognani --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbc1292839..8b7df68f47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -529,7 +529,7 @@ website: before_script: - *script_variables script: - - meson build --prefix=3D$(pwd)/vroot || (cat build/meson-logs/meson-l= og.txt && exit 1) + - meson build --werror --prefix=3D$(pwd)/vroot || (cat build/meson-log= s/meson-log.txt && exit 1) - ninja -C build install-web - mv vroot/share/doc/libvirt/html/ website artifacts: @@ -549,7 +549,7 @@ codestyle: before_script: - *script_variables script: - - meson build || (cat build/meson-logs/meson-log.txt && exit 1) + - meson build --werror || (cat build/meson-logs/meson-log.txt && exit = 1) - ninja -C build libvirt-pot-dep - meson test -C build --suite syntax-check --no-rebuild || (cat build/= meson-logs/testlog.txt && exit 1) =20 @@ -567,7 +567,7 @@ potfile: before_script: - *script_variables script: - - meson build || (cat build/meson-logs/meson-log.txt && exit 1) + - meson build --werror || (cat build/meson-logs/meson-log.txt && exit = 1) - ninja -C build libvirt-pot-dep - ninja -C build libvirt-pot - cp po/libvirt.pot libvirt.pot @@ -605,7 +605,7 @@ coverity: script: - curl https://scan.coverity.com/download/linux64 --form project=3D$CO= VERITY_SCAN_PROJECT_NAME --form token=3D$COVERITY_SCAN_TOKEN -o /tmp/cov-an= alysis-linux64.tgz - tar xfz /tmp/cov-analysis-linux64.tgz - - meson build + - meson build --werror || (cat build/meson-logs/meson-log.txt && exit = 1) - cov-analysis-linux64-*/bin/cov-build --dir cov-int ninja -C build - tar cfz cov-int.tar.gz cov-int - curl https://scan.coverity.com/builds?project=3D$COVERITY_SCAN_PROJE= CT_NAME --form token=3D$COVERITY_SCAN_TOKEN --form email=3D$GITLAB_USER_EMA= IL --form file=3D@cov-int.tar.gz --form version=3D"$(git describe --tags)" = --form description=3D"$(git describe --tags) / $CI_COMMIT_TITLE / $CI_COMMI= T_REF_NAME:$CI_PIPELINE_ID" --=20 2.26.3