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 9895E42F90 for ; Wed, 2 Aug 2023 14:44:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7692C40DDB; Wed, 2 Aug 2023 14:44:22 +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 99EFD4021D for ; Wed, 2 Aug 2023 14:44:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690980261; 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=TZDWC+W01RCHshOzDKZA2ro3mL8cWMwEDq/yEF2AyjMxvi3Jael/v2BsPv1MWV1+VGTPBj X6MBpu/zECH0rOhQwCi7aVB31J6nUBH1PSlQ8W2OaKhLJ7MLBrId0ZLlDsTL8gg6q+F3zn Gc439WdXqNYa+TwT5g7FA3pJyK12A3c= 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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... :-)