From nobody Tue Nov 26 11:41:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1707839407; cv=none; d=zohomail.com; s=zohoarc; b=JT5IWJtkvkl+c2aFyE7hiUaGEhyE/EowV2FzgeIId6w99NU0HWrmqPrH8PU4WIl9lFP3a3C4mvXO1+Ez/IaJjsjU3E+StM5u8SbWfUbGKLG5UfOhRGSiPZNUyj9FqUtvLjU5Zbi7oUwJ5Le5e8iaVu/gzAC/F7WkckOihIXE40U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707839407; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=oNEznVhh47Z5bGoBC049BDTFU2QASJ+BUlFQbFSkzXg=; b=SAT7ZCh51C3zFKtkkI+QvXoUoulz4ZH+zoWGtwzzyHWCYZs3Fy8jlyF9ScKYkNudF0pmXYk9XSvAu+35jTOWwBljTPswleGPPwjPfIuHkiexTBr7BfQ+CSzrgCb4QUPwmZr7ZrgXHYnEUsLmfOBfQOt9qjifSdZz+0dqxRDyu2Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1707839407020903.2178423821609; Tue, 13 Feb 2024 07:50:07 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZv23-0001GR-0m; Tue, 13 Feb 2024 10:49:15 -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 1rZv21-0001G8-SQ for qemu-devel@nongnu.org; Tue, 13 Feb 2024 10:49:13 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZv1z-00051o-P3 for qemu-devel@nongnu.org; Tue, 13 Feb 2024 10:49:13 -0500 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-_0Dg3MsUMfavqvzL1nZfYg-1; Tue, 13 Feb 2024 10:49:08 -0500 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5597da35ebbso3226675a12.2 for ; Tue, 13 Feb 2024 07:49:08 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.gmail.com with ESMTPSA id q26-20020a056402041a00b00562149c7bf4sm103379edv.48.2024.02.13.07.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707839349; 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; bh=oNEznVhh47Z5bGoBC049BDTFU2QASJ+BUlFQbFSkzXg=; b=ahY7/QEibAEgb9AkM1g9zcnnsEa5tuPlqFrtvpZwtQ26Ihz8oGwkl5i7kKzKfjGW93IW3N 6CU1KfetIs8OOBa7wIeMdjzrFH3ah7xI7ha7e/D8T+8M0HLe6jGT6f87KNJfcen8/U9pWN +5O5+u7cQzAyKpoo9HxcYCzW7b9mt2k= X-MC-Unique: _0Dg3MsUMfavqvzL1nZfYg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707839345; x=1708444145; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oNEznVhh47Z5bGoBC049BDTFU2QASJ+BUlFQbFSkzXg=; b=RsGjaKYJJvX+2VFQTkTsaYazSiytrIz1ejml8r8t20KfsKxdA0v/+q9PHnocPqK8wk ybN+GRiE8Ql8Qe0KvzQQonxpbi6AdcPseAWxVX6v74NakEudGS9wkUneECYTfGgxiqiF jU+HP2QQ03APhUhYB+wrANWeDftrsIejrP9nwCCAu+8bb7NW6F+NExunJ4yyC3acvMp5 SY5aGj7VOQwqhftZ+gciFnwxi1RxVMHoBzrvw5HNknCE/OXSSeUrmN8TG7HXEJ93nAk9 gM8C1DsCIoFT6cdI4GsfQWXASvXKf2ebld1ut9Hs2W7nBigftCaADNYV/jBmtEPGqLqn ZlCA== X-Gm-Message-State: AOJu0YzVEdN1NDp16zvbxk9e/7CKFZ28GWJL8G5E+M/q1Xc0DnjmZVJV 2zHaNT4XhVr7QXIaruGA7hJ6SI5MfvDeXGMIEz2gqvex6gUXsXxw8fk8mUnC5u4zHeA1qGsgfB1 Dij5DiXNxFncu685iecCqqGf9PGu4l5uDy+kT5HXgWpGcycokujfsUX+SUSssSorDeRwPCtmzZ2 DqktF4vb/v/PJmTek7UysfCdgS3zr8SNISaDq9 X-Received: by 2002:aa7:c1d2:0:b0:562:80:fe95 with SMTP id d18-20020aa7c1d2000000b005620080fe95mr21764edp.39.1707839344985; Tue, 13 Feb 2024 07:49:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEgG6nywG3dR61v5MJJkHLC9XwbTbk6DpHvIRWmtWhWlgE3awkdMQhGkFJZjwzYYmSzaQ5PA== X-Received: by 2002:aa7:c1d2:0:b0:562:80:fe95 with SMTP id d18-20020aa7c1d2000000b005620080fe95mr21753edp.39.1707839344577; Tue, 13 Feb 2024 07:49:04 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXvTJkeelnKYcWeJSzUc2BiN+CXr93/KrNdh5Zkl4yvixnMry/ueeWeaMmZDf5F/7z0XiBBTcBcFj+9IEVl8K/FKaZmynkInKGgeP8hX0+RbLxHGmI= From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: peterx@redhat.com, farosas@suse.de, berrange@redhat.com Subject: [PATCH] ci: Fix again build-previous-qemu Date: Tue, 13 Feb 2024 16:49:01 +0100 Message-ID: <20240213154901.109780-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.504, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1707839408663100003 Content-Type: text/plain; charset="utf-8" The build-previous-qemu job is now trying to fetch from the upstream repository, but the tag is only fetched into FETCH_HEAD: $ git remote add upstream https://gitlab.com/qemu-project/qemu 00:00 $ git fetch upstream $QEMU_PREV_VERSION 00:02 warning: redirecting to https://gitlab.com/qemu-project/qemu.git/ From https://gitlab.com/qemu-project/qemu * tag v8.2.0 -> FETCH_HEAD $ git checkout $QEMU_PREV_VERSION 00:02 error: pathspec v8.2.0 did not match any file(s) known to git Fix by fetching the tag into the checkout itself. Signed-off-by: Paolo Bonzini Reviewed-by: Fabiano Rosas --- .gitlab-ci.d/buildtest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 3aead277246..901265af95d 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -190,7 +190,7 @@ build-previous-qemu: before_script: - export QEMU_PREV_VERSION=3D"$(sed 's/\([0-9.]*\)\.[0-9]*/v\1.0/' VER= SION)" - git remote add upstream https://gitlab.com/qemu-project/qemu - - git fetch upstream $QEMU_PREV_VERSION + - git fetch upstream refs/tags/$QEMU_PREV_VERSION:refs/tags/$QEMU_PREV= _VERSION - git checkout $QEMU_PREV_VERSION after_script: - mv build build-previous --=20 2.43.0