From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CF73842F90; Wed, 2 Aug 2023 14:44:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F30A4282D; Wed, 2 Aug 2023 14:44:23 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 948584282D for ; Wed, 2 Aug 2023 14:44:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690980262; 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: in-reply-to:in-reply-to:references:references; bh=TLmfKyY97BHm6/+79S9Rxycx4ZBkTkNOTTPdSpv81Dg=; b=C5tLTtjxz8RkPpaXVsQfMn4txzLJpBhpHp2lGE6mU0eVvP+KNxCTqxrrH9eOIQRhma/pH+ MjKfS3u7zYaZqLh/PQu24GERZ2lPOo4ysE3B1Sucbvcec6jVaj81gG2SeNaTPhsWrw6zu+ A6FD03wCeTSk8+x0pa56UZqspWc1EhI= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-6-W1FEpxxEMVW_Eawr8lFMtw-1; Wed, 02 Aug 2023 08:44:19 -0400 X-MC-Unique: W1FEpxxEMVW_Eawr8lFMtw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3B04F3C11CC1; Wed, 2 Aug 2023 12:44:19 +0000 (UTC) Received: from RHTPC1VM0NT (unknown [10.22.8.217]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E3FD3C57965; Wed, 2 Aug 2023 12:44:18 +0000 (UTC) From: Aaron Conole To: David Marchand Cc: dev@dpdk.org, stephen@networkplumber.org, stable@dpdk.org, Michael Santana Subject: Re: [PATCH] ci: fix race on container image name References: <20230802065404.3807143-1-david.marchand@redhat.com> Date: Wed, 02 Aug 2023 08:44:18 -0400 In-Reply-To: <20230802065404.3807143-1-david.marchand@redhat.com> (David Marchand's message of "Wed, 2 Aug 2023 08:54:04 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org David Marchand writes: > We had a race on the container image name when the prepare job was > running a day before the build job was triggered. > > Example: > - a prepare job generated image name on 2023/08/01: > > 2023-08-01T23:59:32.9711845Z ++ date -u +%Y-%m-%d > 2023-08-01T23:59:32.9713485Z + echo image=image-fedora:37-2023-08-01 > > - a few seconds later, the build jobs later tried to use a different > image name on 2023/08/02: > > 2023-08-02T00:01:29.9103180Z ++ date -u +%Y-%m-%d > 2023-08-02T00:01:29.9113486Z + echo image=image-fedora:37-2023-08-02 > > Fix this by directly reusing the prepare job output. > > Fixes: b35c4b0aa2bc ("ci: add Fedora 35 container in GHA") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- Acked-by: Aaron Conole The dangers of dates... :-)