From nobody Sat Feb 7 13:41:33 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1643652120; cv=none; d=zohomail.com; s=zohoarc; b=jZbEQ7buQXv83sULTRvhiAGBitEc17jBpNd8m7EcwOeX/FnrxCiaefX1rVJnOG1VHJCOV/uSUQAynfvdrG7jZxYJ0vsjxEwcP5nRyD97r+a+tqUgpdZoxmA5xNLlphQ23nqaabTufCglscmi364dajlJVC8zVzWqSsaiQV/kf8E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643652120; h=Content-Type:Content-Transfer-Encoding:Cc: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=nbhptupTV1pdI6zdKZlbKd2SkwkDfEMxg/ahFLog8+s=; b=hi9+vFhOdnCfzM+AHK/biTPkXNhxiAtEpWF0N6c9SPk0fy+94TIWm1zrjdytJp9J561So86NVwAoPk5O1g7tgcaXFiP8RhXzvqKVQnafFKVabv2hGeEhu/p/zz+buBPPwPYC7oRaQDZJuCDGlUW7c4PsrvpJpGdx8EGyXg1O+40= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1643652120784224.31016359328578; Mon, 31 Jan 2022 10:02:00 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-527-ISh1Y-mrN_C-G6_s5-QciQ-1; Mon, 31 Jan 2022 13:01:57 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3A28E107B286; Mon, 31 Jan 2022 18:01:22 +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 144A085884; Mon, 31 Jan 2022 18:01:22 +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 D82F24CA9B; Mon, 31 Jan 2022 18:01:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20VI13Cp019215 for ; Mon, 31 Jan 2022 13:01:03 -0500 Received: by smtp.corp.redhat.com (Postfix) id C146083796; Mon, 31 Jan 2022 18:01:03 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 19C8382766; Mon, 31 Jan 2022 18:01:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643652120; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=nbhptupTV1pdI6zdKZlbKd2SkwkDfEMxg/ahFLog8+s=; b=FmybDAAkuC2NdU87ATMg/4sTe3Jv6q2RsiUfDH7rQoCfi4h66Z9XYsHLgUHH6iNIQQ42NL v9nSmsycaws+PVVwOVKUhNSi/M2Qbp7M7/q15MSUPHoJICXjUm3y1KXJjKWuzGJvPAUBuQ qSfJJzvLemw3hX0RENHG5f8b007e7Xs= X-MC-Unique: ISh1Y-mrN_C-G6_s5-QciQ-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 1/4] ci: manifest: Allow RPM builds on CentOS Stream 8 Date: Mon, 31 Jan 2022 19:00:58 +0100 Message-Id: <99a533539c2ef8e25af8f9ed2cae2762894acffb.1643651902.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: bleal@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.13 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) X-ZM-MESSAGEID: 1643652122266100001 Content-Type: text/plain; charset="utf-8" The meson version provided by the package managing system satisfies our minimum requirement. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- ci/gitlab.yml | 1 - ci/manifest.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/ci/gitlab.yml b/ci/gitlab.yml index 120ece8fb7..8e27bca812 100644 --- a/ci/gitlab.yml +++ b/ci/gitlab.yml @@ -400,7 +400,6 @@ x86_64-centos-stream-8: allow_failure: false variables: NAME: centos-stream-8 - RPM: skip =20 =20 x86_64-debian-10: diff --git a/ci/manifest.yml b/ci/manifest.yml index 2b64effef8..cb7c5c4035 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -21,8 +21,6 @@ targets: centos-stream-8: jobs: - arch: x86_64 - variables: - RPM: skip =20 debian-10: jobs: --=20 2.34.1 From nobody Sat Feb 7 13:41:33 2026 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=1643652112; cv=none; d=zohomail.com; s=zohoarc; b=HprAboVq/JY9PCetyDbHqv+Qqd+g/gc5flAbiPdK/km6DIgm3QqIk1Soj6kfa+HheOAK/ZBKRLrsDrPi/2iQaCmELM3YOenb90wi7kMr7azHG13ZENQKwByMeUaOapcYep8gMuTvhmYJ0uY5b8DZqoh6MxKmk/JwG4LhIjNVf1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643652112; h=Content-Type:Content-Transfer-Encoding:Cc: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=ESK40k7IpgT/TC1EFyBr1IB4ovm64BftN6kuoRe8kaE=; b=I0nozAa80vceqtRnuQRCLcJGYzSF64hHkzQT01x17hynTJrV4+QNEPgfwmMq4QM0l2F5dapFhRfMFrZHA2Olj5rC4TfueG0dCghpKgcGlK/C82E/+OeHT28CUn1ErpHVaw/zqkQylTQ+Fvvr1eaU+jxpeOtHZh41/1SgH+NeCI4= 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) 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 1643652112315433.3771688305544; Mon, 31 Jan 2022 10:01:52 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-504-zKLPkoGrMxy_oXtqUmri8Q-1; Mon, 31 Jan 2022 13:01:47 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 05F6A814703; Mon, 31 Jan 2022 18:01:25 +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 C1DF287944; Mon, 31 Jan 2022 18:01: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 7DF454A7C8; Mon, 31 Jan 2022 18:01:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20VI14ej019223 for ; Mon, 31 Jan 2022 13:01:04 -0500 Received: by smtp.corp.redhat.com (Postfix) id C5AFC838CF; Mon, 31 Jan 2022 18:01:04 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1E6F282766; Mon, 31 Jan 2022 18:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643652111; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ESK40k7IpgT/TC1EFyBr1IB4ovm64BftN6kuoRe8kaE=; b=Q4EdU1b1FPL+l2LhNEyViO9Cb9UWI756ZNcrLCvp+G95d8f+3wji/H5bmp6TBEksqlPtDS fzdpXFfPaiJr5JLNkQI4DlfyIciDIWYOlEdnoekPsad4F+FZSp0VFqgQseEx60lsENbl8h Hnh8ef/ZG2jWpKB2Z1uq/ROa63Xtkv0= X-MC-Unique: zKLPkoGrMxy_oXtqUmri8Q-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 2/4] ci: containers: Add CentOS Stream 9 target Date: Mon, 31 Jan 2022 19:00:59 +0100 Message-Id: <1cf201ffb350aabf54a2eb2d0ddab3be66a57425.1643651902.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: bleal@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.13 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) X-ZM-MESSAGEID: 1643652115355100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- ci/containers/centos-stream-9.Dockerfile | 87 ++++++++++++++++++++++++ ci/gitlab.yml | 14 ++++ ci/manifest.yml | 3 + 3 files changed, 104 insertions(+) create mode 100644 ci/containers/centos-stream-9.Dockerfile diff --git a/ci/containers/centos-stream-9.Dockerfile b/ci/containers/cento= s-stream-9.Dockerfile new file mode 100644 index 0000000000..4e2e10b078 --- /dev/null +++ b/ci/containers/centos-stream-9.Dockerfile @@ -0,0 +1,87 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool manifest ci/manifest.yml +# +# https://gitlab.com/libvirt/libvirt-ci + +FROM quay.io/centos/centos:stream9 + +RUN dnf update -y && \ + dnf install 'dnf-command(config-manager)' -y && \ + dnf config-manager --set-enabled -y crb && \ + dnf install -y \ + audit-libs-devel \ + augeas \ + bash-completion \ + ca-certificates \ + clang \ + cpp \ + cyrus-sasl-devel \ + device-mapper-devel \ + diffutils \ + dnsmasq \ + dwarves \ + ebtables \ + firewalld-filesystem \ + fuse-devel \ + gcc \ + gettext \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + gnutls-devel \ + grep \ + iproute \ + iproute-tc \ + iptables \ + iscsi-initiator-utils \ + kmod \ + libacl-devel \ + libattr-devel \ + libblkid-devel \ + libcap-ng-devel \ + libcurl-devel \ + libnl3-devel \ + libpcap-devel \ + libpciaccess-devel \ + librbd-devel \ + libselinux-devel \ + libssh-devel \ + libtirpc-devel \ + libwsman-devel \ + libxml2 \ + libxml2-devel \ + libxslt \ + lvm2 \ + make \ + meson \ + nfs-utils \ + ninja-build \ + numactl-devel \ + numad \ + parted-devel \ + perl-base \ + pkgconfig \ + polkit \ + python3 \ + python3-docutils \ + qemu-img \ + readline-devel \ + rpcgen \ + rpm-build \ + sanlock-devel \ + scrub \ + sed \ + systemd-devel \ + systemtap-sdt-devel \ + wireshark-devel \ + yajl-devel && \ + dnf autoremove -y && \ + dnf clean all -y && \ + rpm -qa | sort > /packages.txt + +ENV LANG "en_US.UTF-8" +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" diff --git a/ci/gitlab.yml b/ci/gitlab.yml index 8e27bca812..03dee70480 100644 --- a/ci/gitlab.yml +++ b/ci/gitlab.yml @@ -94,6 +94,13 @@ x86_64-centos-stream-8-container: NAME: centos-stream-8 =20 =20 +x86_64-centos-stream-9-container: + extends: .container_job + allow_failure: false + variables: + NAME: centos-stream-9 + + x86_64-debian-10-container: extends: .container_job allow_failure: false @@ -401,6 +408,13 @@ x86_64-centos-stream-8: variables: NAME: centos-stream-8 =20 +x86_64-centos-stream-9: + extends: .native_build_job + needs: + - x86_64-centos-stream-9-container + allow_failure: false + variables: + NAME: centos-stream-9 =20 x86_64-debian-10: extends: .native_build_job diff --git a/ci/manifest.yml b/ci/manifest.yml index cb7c5c4035..1cc589955c 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -22,6 +22,9 @@ targets: jobs: - arch: x86_64 =20 + centos-stream-9: + jobs: + - arch: x86_64 debian-10: jobs: - arch: x86_64 --=20 2.34.1 From nobody Sat Feb 7 13:41:33 2026 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=1643652102; cv=none; d=zohomail.com; s=zohoarc; b=grTrwFvFvmLUrE8uBlWvUZmow7vT1pXbSfd+ApxT1GAlbzXwBmEoZBP/q9slvQC3wgJeJqNZ36PHSWX0E0byj7oHcQUPy3zbM5+qfCBqDmOqCuURMIZ0gmrrL5BZWFjDWVhQhJBNp9TqoOi3T1aTwmklc/hjNEPnPBt7pPv4y20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643652102; h=Content-Type:Content-Transfer-Encoding:Cc: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=Ms+qCpcUADav6LvcAeEqDVXAs+ITmzXrRYVTfGD7DNg=; b=Rxj+N96v+GmT8Usttb92lGDLYP3DL5EDejhf1Q7ORd1zXlLyOGwf7rktjm9t9i4gzMRKofRAyiVtnoWfVHUGsjw/CLtvkYgJCMupajkIyvQvchZ/jwT6xTM+SaQypCJhTxWPMyjf2Vhgx7yym9cTlh90CsVl2y1s7EAQ9RU0ijw= 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) 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 1643652102379351.7056459531934; Mon, 31 Jan 2022 10:01:42 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-10-xPRtXqH7NjeOd0FPGTE_Dg-1; Mon, 31 Jan 2022 13:01:39 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BD41251084; Mon, 31 Jan 2022 18:01:09 +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 A316477450; Mon, 31 Jan 2022 18:01:08 +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 182414BB7C; Mon, 31 Jan 2022 18:01:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20VI15XX019230 for ; Mon, 31 Jan 2022 13:01:05 -0500 Received: by smtp.corp.redhat.com (Postfix) id CB50F838D5; Mon, 31 Jan 2022 18:01:05 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2366D83796; Mon, 31 Jan 2022 18:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643652101; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ms+qCpcUADav6LvcAeEqDVXAs+ITmzXrRYVTfGD7DNg=; b=NMnbGonIzYcco1PbnY7Iq9kZDnHxEa9VdGUbn0+ZLOPhWAgdLUp1K49wLaCucaIWq/3sdu lDgfQfdeLSYDRyiwK0L+E2fP3tXxjCPIu07DbnIHc8dYLZeo7q/8qQjpzewR0MjcaV8s5K YS5P91vUoDlN3nZA3AdwIDPNRIZys6o= X-MC-Unique: xPRtXqH7NjeOd0FPGTE_Dg-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 3/4] ci: manifest: Publish RPMs as artifacts on CentOS Stream and Fedoras Date: Mon, 31 Jan 2022 19:01:00 +0100 Message-Id: <90a43ab116c9a76e18190dc702d0e25c8991061d.1643651902.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: bleal@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.15 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) X-ZM-MESSAGEID: 1643652105076100001 Content-Type: text/plain; charset="utf-8" We're already building libvirt in the containers already, if we publish the build in form of, say, RPMs, later stages of the pipeline can consume the RPMs instead of re-building libvirt from scratch. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 3 ++- ci/gitlab.yml | 18 ++++++++++++++++++ ci/manifest.yml | 21 ++++++++++++++++++++- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ba11a0431..4bcaf22ce2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,8 @@ include: '/ci/gitlab.yml' - meson dist -C build --no-tests - if test -x /usr/bin/rpmbuild && test "$RPM" !=3D "skip"; then - rpmbuild --nodeps -ta build/meson-dist/libvirt-*.tar.xz; + rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild" -ta bui= ld/meson-dist/libvirt-*.tar.xz; + mv rpmbuild/RPMS/x86_64 libvirt-rpms ; else meson compile -C build; meson test -C build --no-suite syntax-check --print-errorlogs; diff --git a/ci/gitlab.yml b/ci/gitlab.yml index 03dee70480..3fbe4b3f8c 100644 --- a/ci/gitlab.yml +++ b/ci/gitlab.yml @@ -407,6 +407,11 @@ x86_64-centos-stream-8: allow_failure: false variables: NAME: centos-stream-8 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + =20 x86_64-centos-stream-9: extends: .native_build_job @@ -415,6 +420,11 @@ x86_64-centos-stream-9: allow_failure: false variables: NAME: centos-stream-9 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + =20 x86_64-debian-10: extends: .native_build_job @@ -459,6 +469,10 @@ x86_64-fedora-34: allow_failure: false variables: NAME: fedora-34 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-fedora-35: @@ -468,6 +482,10 @@ x86_64-fedora-35: allow_failure: false variables: NAME: fedora-35 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 =20 x86_64-fedora-rawhide: diff --git a/ci/manifest.yml b/ci/manifest.yml index 1cc589955c..2aba242948 100644 --- a/ci/manifest.yml +++ b/ci/manifest.yml @@ -21,10 +21,19 @@ targets: centos-stream-8: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 centos-stream-9: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms + debian-10: jobs: - arch: x86_64 @@ -126,11 +135,21 @@ targets: - arch: s390x allow-failure: true =20 - fedora-34: x86_64 + fedora-34: + jobs: + - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 fedora-35: jobs: - arch: x86_64 + artifacts: + expire_in: 1 day + paths: + - libvirt-rpms =20 - arch: mingw32 allow-failure: true --=20 2.34.1 From nobody Sat Feb 7 13:41:33 2026 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=1643652124; cv=none; d=zohomail.com; s=zohoarc; b=KqBXDwy7pWNyCSzZNCqg82BJVvqTPhBBudvGZJcNzLzX7mWGDDpst4Ur+8vYt2HQqNn4gPz2o7OeNH+FHMAry4A7/ToIZa0RZJJkRskjdAM/ooCQGU7EMsGAD/PtoeK+o4pNqrqAfWJASGsd5zHLbI9u3nTWydZMxnMdiBgC6Hk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643652124; h=Content-Type:Content-Transfer-Encoding:Cc: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=fKmLeHXpVmfwwFtvbWae93d9+wE4fLOuJgTAB8AB7F4=; b=nfcywU0/8ro0hFexngIKIwbSBuNSeheyAUzvLsoFJsU5D+hXpAyfOGJ3zZvW4OZiZZzSY2Hu8uKgwzVRpgR7JUlZuf3Yt1HNzmBw9LG5DZHyuD6RQExVcNsfWOMEL076Jl6zh5sgGji/3GZEd2I9SxKK2i9L3RpBkTohAnxX0n0= 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) 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 1643652124042161.84384406379172; Mon, 31 Jan 2022 10:02:04 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-90-aqe-74UWPkirrOyMeK_aTA-1; Mon, 31 Jan 2022 13:01:55 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 16F3C100B79A; Mon, 31 Jan 2022 18:01:29 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E65C9838DE; Mon, 31 Jan 2022 18:01:27 +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 B49061809CBA; Mon, 31 Jan 2022 18:01:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20VI16wN019239 for ; Mon, 31 Jan 2022 13:01:06 -0500 Received: by smtp.corp.redhat.com (Postfix) id CFD2482766; Mon, 31 Jan 2022 18:01:06 +0000 (UTC) Received: from nautilus.redhat.com (unknown [10.40.193.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2894D83796; Mon, 31 Jan 2022 18:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643652123; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fKmLeHXpVmfwwFtvbWae93d9+wE4fLOuJgTAB8AB7F4=; b=H/0uUANqo09z+ckJ/IYHfb5PpnpvE8sGZZyOiLerbey833LWZ0yFntB0NY8KbKbHO9Lnxa fI7PJNgoV+MCkQ9FBm6Kb5oWv0gZku7yrGGHXivAAnZPaD5GukakP0v2lceIbK4xqIqAuU P9+lOApJLIzZbOn3Ao9qczqykfKmXnE= X-MC-Unique: aqe-74UWPkirrOyMeK_aTA-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 4/4] gitlab-ci: Introduce a new test 'integration' pipeline stage Date: Mon, 31 Jan 2022 19:01:01 +0100 Message-Id: <2b6740df60016def3ca0ebf25cab1f50ff80ab02.1643651902.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: bleal@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.16 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) X-ZM-MESSAGEID: 1643652125582100001 Content-Type: text/plain; charset="utf-8" Create an integration child pipeline in this stage which will trigger a multi-project CI build of Perl bindings which are required by the TCK test suite. In general, this stage will install all the necessary build artifacts and configure logging on the worker node prior to executing the actual test suite. In case of a failure, libvirt and Avocado logs are saved and published as artifacts. Signed-off-by: Erik Skultety --- .gitlab-ci-integration.yml | 116 +++++++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 14 +++++ 2 files changed, 130 insertions(+) create mode 100644 .gitlab-ci-integration.yml diff --git a/.gitlab-ci-integration.yml b/.gitlab-ci-integration.yml new file mode 100644 index 0000000000..cabefc5166 --- /dev/null +++ b/.gitlab-ci-integration.yml @@ -0,0 +1,116 @@ +stages: + - bindings + - integration + +.tests: + stage: integration + before_script: + - mkdir "$SCRATCH_DIR" + - sudo dnf install -y libvirt-rpms/* libvirt-perl-rpms/* + - sudo pip3 install --prefix=3D/usr avocado-framework + - source /etc/os-release # in order to query the vendor-provided vari= ables + - if test "$ID" =3D=3D "centos" && test "$VERSION_ID" -lt 9 || + test "$ID" =3D=3D "fedora" && test "$VERSION_ID" -lt 35; + then + DAEMONS=3D"libvirtd virtlogd virtlockd"; + else + DAEMONS=3D"virtproxyd virtqemud virtinterfaced virtsecretd virtsto= raged virtnwfilterd virtnodedevd virtlogd virtlockd"; + fi + - for daemon in $DAEMONS; + do + sudo sed -Ei "s/^(#)?(log_outputs=3D).*/\2'1:file:\/var\/log\/libv= irt\/${daemon}.log'/" /etc/libvirt/${daemon}.conf; + sudo sed -Ei "s/^(#)?(log_filters=3D).*/\2'4:*object* 4:*json* 4:*= event* 4:*rpc* 4:daemon.remote 4:util.threadjob 4:*access* 1:*'/" /etc/libv= irt/${daemon}.conf; + sudo systemctl --quiet stop ${daemon}.service; + sudo systemctl restart ${daemon}.socket; + done + - sudo virsh net-start default &>/dev/null || true; + + script: + - mkdir logs + - cd "$SCRATCH_DIR" + - git clone --depth 1 https://gitlab.com/libvirt/libvirt-tck.git + - cd libvirt-tck + - sudo avocado --config avocado.config run --job-results-dir "$SCRATCH= _DIR"/avocado + after_script: + - if test -e "$SCRATCH_DIR"/avocado; + then + sudo mv "$SCRATCH_DIR"/avocado/latest/test-results logs/avocado; + fi + - sudo mv /var/log/libvirt logs/libvirt + - sudo chown -R $(whoami):$(whoami) logs + variables: + SCRATCH_DIR: "/tmp/scratch" + artifacts: + name: logs + paths: + - logs + when: on_failure + + +libvirt-perl-bindings: + stage: bindings + trigger: + project: eskultety/libvirt-perl + branch: multi-project-ci + strategy: depend + + +centos-stream-8-tests: + extends: .tests + needs: + - libvirt-perl-bindings + - pipeline: $PARENT_PIPELINE_ID + job: x86_64-centos-stream-8 + - project: eskultety/libvirt-perl + job: x86_64-centos-stream-8 + ref: multi-project-ci + artifacts: true + variables: + DISTRO: centos-stream-8 + tags: + - centos-stream-vm + +centos-stream-9-tests: + extends: .tests + needs: + - libvirt-perl-bindings + - pipeline: $PARENT_PIPELINE_ID + job: x86_64-centos-stream-9 + - project: eskultety/libvirt-perl + job: x86_64-centos-stream-9 + ref: multi-project-ci + artifacts: true + variables: + DISTRO: centos-stream-9 + tags: + - centos-stream-vm + +fedora-34-tests: + extends: .tests + needs: + - libvirt-perl-bindings + - pipeline: $PARENT_PIPELINE_ID + job: x86_64-fedora-34 + - project: eskultety/libvirt-perl + job: x86_64-fedora-34 + ref: multi-project-ci + artifacts: true + variables: + DISTRO: fedora-34 + tags: + - fedora-vm + +fedora-35-tests: + extends: .tests + needs: + - libvirt-perl-bindings + - pipeline: $PARENT_PIPELINE_ID + job: x86_64-fedora-35 + - project: eskultety/libvirt-perl + job: x86_64-fedora-35 + ref: multi-project-ci + artifacts: true + variables: + DISTRO: fedora-35 + tags: + - fedora-vm diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4bcaf22ce2..453472c8be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ variables: stages: - containers - builds + - test - sanity_checks =20 .script_variables: &script_variables | @@ -128,3 +129,16 @@ coverity: - 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" rules: - if: "$CI_PIPELINE_SOURCE =3D=3D 'schedule' && $COVERITY_SCAN_PROJECT= _NAME && $COVERITY_SCAN_TOKEN" + +integration: + stage: test + needs: + - x86_64-centos-stream-8 + - x86_64-centos-stream-9 + - x86_64-fedora-34 + - x86_64-fedora-35 + trigger: + include: .gitlab-ci-integration.yml + strategy: depend + variables: + PARENT_PIPELINE_ID: $CI_PIPELINE_ID --=20 2.34.1