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 252A442FD3 for ; Fri, 4 Aug 2023 15:03:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D1AB4325A; Fri, 4 Aug 2023 15:03:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 1717043256 for ; Fri, 4 Aug 2023 15:03:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691154186; 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: in-reply-to:in-reply-to:references:references; bh=yR4GN9uIlEXuZSkCCS30IimiQcKKZ7g4i6rEOxN7tY0=; b=QP/BjpxGObFVIJAfLy+ixpwV4rJNpV0nRZwqa+4SaNOOC2vcbudPCaYcqFNJKn/PUTY5jD oc74OozHZMH8wbC2fCjLfAMdfLx3iFHosm4Y7CNng9iTMEHjyea8/NIf71nRbs6HPDLXBF IOBfWaz4U3lgDpuRILbZvq0WJlYZJd4= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-153-pSNI8aPEMmy5juvtqhXMNg-1; Fri, 04 Aug 2023 09:03:03 -0400 X-MC-Unique: pSNI8aPEMmy5juvtqhXMNg-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-4fe3fb358easo2232825e87.2 for ; Fri, 04 Aug 2023 06:03:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691154182; x=1691758982; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yR4GN9uIlEXuZSkCCS30IimiQcKKZ7g4i6rEOxN7tY0=; b=XxNNvJ6GA/AnSBxSlDqxxhW/ToorK0qpIDte5vmMssCRlNvIPg6k3EfT45MJWhJWXN zy8dAW8te4HshlooyT+7eJp8nCj3o3uELH6aCQO6GlAaUpaIBhsI+Ocxl7M+9hdENe0b p3rW4uRJleqiyEUiI1HoKjqWmWT05RNXVeoF9TRMn2r8R+Nzz1OgcPrpSm24ybW5DXmc wVU5J4AQtF3/MvUK7zGPKto68TuAlGmzxxQJUbxxZ3JpycjRO0iUrm+oCybf4GiChDSO 4kzl30V/BIzKAeeEPjsvX11mymaN5h+uwaXtulhBRCPakMKVVLsv6DjYUIQeZog3r44/ /2Xw== X-Gm-Message-State: AOJu0YypcyJoEoULv+Hqd3PXBIaLpOk7o8evLbdXaXHg/IJlB3tEvNUe xyLEdl3GDJhXmBPan1qnf0O0kYeUIKj9phpQiK7eCBR/b7TRBpnYv8cWXYvhW08vUGe5SJQNtZC Y6Mn3yUPlcQcXB+5jnaZfIvs= X-Received: by 2002:a05:6512:310c:b0:4fb:2c1e:4e03 with SMTP id n12-20020a056512310c00b004fb2c1e4e03mr1125833lfb.32.1691154182035; Fri, 04 Aug 2023 06:03:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQyAvk1FG2OtsTEC5XNgXIPeca2G9G27nP211emNweIBgNVZdvZVDtsQfzSHCkwa4lW9vZMgCySe+s6fJK7wo= X-Received: by 2002:a05:6512:310c:b0:4fb:2c1e:4e03 with SMTP id n12-20020a056512310c00b004fb2c1e4e03mr1125826lfb.32.1691154181754; Fri, 04 Aug 2023 06:03:01 -0700 (PDT) MIME-Version: 1.0 References: <20230802065404.3807143-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Fri, 4 Aug 2023 15:02:49 +0200 Message-ID: Subject: Re: [PATCH] ci: fix race on container image name To: David Marchand Cc: dev@dpdk.org, stephen@networkplumber.org, stable@dpdk.org, Aaron Conole , Michael Santana X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, Aug 2, 2023 at 2:44=E2=80=AFPM Aaron Conole wr= ote: > 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=3Dimage-fedora:37-2023-08-0= 1 > > > > - a few seconds later, the build jobs 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=3Dimage-fedora:37-2023-08-0= 2 > > > > 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 Applied, thanks. --=20 David Marchand