From nobody Mon Feb 9 19:05:10 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=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=1613144470; cv=none; d=zohomail.com; s=zohoarc; b=e4NqI9I//+fyjtGArOnYDXYUp5Doi5FzMzIF/bUoshd+Zixxt6jp+i1cxtlfAdnrdOip3o0lprMBN20/um5CdAoiFr/kkKvvy+Mc/ETNiYJkb23FNTLt+YuuxKvSr8APuWQniR0ksYlrhOuf5KmWcnzi0He86RAxnqV6ebbrrEI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613144470; 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=9MV6IV5uY2CDviYLJT8pUC03ZrbyDZU9xnVR0pv6gf8=; b=kd2X2quG5hTfaaO/Hb0Oy+v/1Y7MyDsfeNuSQ+sokwmRSgK6UJgyszcxAA96BT1tOQ097kU6tOtU4YTM/s0iD0qGOH77hfhy1yEF+FPEA4xGiI1BjIwTo+IjiAKdUPn6ijuUE3MpFvDVCXkV/5ZM/qZbsXpkypDFG9jzMqnu4eI= 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 1613144470280668.4904469393974; Fri, 12 Feb 2021 07:41:10 -0800 (PST) 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-379-spewvG9uP7663gXrdD03og-1; Fri, 12 Feb 2021 10:41:06 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 44AAD6D4EC; Fri, 12 Feb 2021 15:40:59 +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 20DB910016FD; Fri, 12 Feb 2021 15:40:59 +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 DD00457DFE; Fri, 12 Feb 2021 15:40:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 11CFen7Y027568 for ; Fri, 12 Feb 2021 10:40:49 -0500 Received: by smtp.corp.redhat.com (Postfix) id 5F9955D6BA; Fri, 12 Feb 2021 15:40:49 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.119]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7E05E5D6AB for ; Fri, 12 Feb 2021 15:40:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613144469; 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=9MV6IV5uY2CDviYLJT8pUC03ZrbyDZU9xnVR0pv6gf8=; b=LpumFIPyzwZiW4qIXsfawmsFGTdjw9uF1n3P0MjxIxRepDRyS20UQJyHQWXVtBFAVScGSp tFFcMWEe6h/A6D+RpO+EmCy/vJaEeiioGSpWExpvswD5Vh/gL0LYZ92aRNKGVbX2os2/5o ReuNLMLns5b7m1rEbvDqSM3/HCZ1BFs= X-MC-Unique: spewvG9uP7663gXrdD03og-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH v2 2/3] ci: Add temporary workaround for Fedora Rawhide Date: Fri, 12 Feb 2021 16:40:37 +0100 Message-Id: <20210212154038.117744-3-abologna@redhat.com> In-Reply-To: <20210212154038.117744-1-abologna@redhat.com> References: <20210212154038.117744-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.84 on 10.5.11.22 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" The .repo files for Fedora Rawhide are already pointing to the Fedora 35 key, but all RPMs are still signed with the Fedora 34 key, resulting in GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-35-x86_64 (0x9867C5= 8F) is already installed The GPG keys listed for the "Fedora - Rawhide - Developmental packages fo= r the next Fedora release" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.. Fail= ing package is: nosync-1.1-10.fc34.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-3= 5-x86_64 The downloaded packages were saved in cache until the next successful tra= nsaction. You can remove cached packages by executing 'dnf clean packages'. Error: GPG check FAILED Temporarily tweak the .repo files so that the Fedora 34 key is used for validation. We should be able to revert this in a few days. Signed-off-by: Andrea Bolognani --- Test pipeline showing that, if this commit is reverted, building the Fedora Rawhide container images still fails even though we're updating fedora-gpg-keys first: https://gitlab.com/abologna/libvirt/-/pipelines/255494585 ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile | 3 ++- ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile | 3 ++- ci/containers/ci-fedora-rawhide.Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile b/ci/= containers/ci-fedora-rawhide-cross-mingw32.Dockerfile index c718778acb..fd03378bdf 100644 --- a/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile +++ b/ci/containers/ci-fedora-rawhide-cross-mingw32.Dockerfile @@ -5,7 +5,8 @@ # https://gitlab.com/libvirt/libvirt-ci/-/commit/891c7d56be1d0eb5adaf78fce= d7d1d882d6f0b6a FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ +RUN sed -Ei 's|^gpgkey=3D.*$|gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-= fedora-34-x86_64|g' /etc/yum.repos.d/*.repo && \ + dnf update -y --nogpgcheck fedora-gpg-keys && \ dnf install -y nosync && \ echo -e '#!/bin/sh\n\ if test -d /usr/lib64\n\ diff --git a/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile b/ci/= containers/ci-fedora-rawhide-cross-mingw64.Dockerfile index 6058d0c0b2..8a66d5e375 100644 --- a/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile +++ b/ci/containers/ci-fedora-rawhide-cross-mingw64.Dockerfile @@ -5,7 +5,8 @@ # https://gitlab.com/libvirt/libvirt-ci/-/commit/891c7d56be1d0eb5adaf78fce= d7d1d882d6f0b6a FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ +RUN sed -Ei 's|^gpgkey=3D.*$|gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-= fedora-34-x86_64|g' /etc/yum.repos.d/*.repo && \ + dnf update -y --nogpgcheck fedora-gpg-keys && \ dnf install -y nosync && \ echo -e '#!/bin/sh\n\ if test -d /usr/lib64\n\ diff --git a/ci/containers/ci-fedora-rawhide.Dockerfile b/ci/containers/ci-= fedora-rawhide.Dockerfile index 027e8a7c41..fa6a824242 100644 --- a/ci/containers/ci-fedora-rawhide.Dockerfile +++ b/ci/containers/ci-fedora-rawhide.Dockerfile @@ -5,7 +5,8 @@ # https://gitlab.com/libvirt/libvirt-ci/-/commit/891c7d56be1d0eb5adaf78fce= d7d1d882d6f0b6a FROM registry.fedoraproject.org/fedora:rawhide =20 -RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ +RUN sed -Ei 's|^gpgkey=3D.*$|gpgkey=3Dfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-= fedora-34-x86_64|g' /etc/yum.repos.d/*.repo && \ + dnf update -y --nogpgcheck fedora-gpg-keys && \ dnf install -y nosync && \ echo -e '#!/bin/sh\n\ if test -d /usr/lib64\n\ --=20 2.26.2