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 AF633440AD; Fri, 24 May 2024 00:00:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9619140279; Fri, 24 May 2024 00:00:28 +0200 (CEST) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) by mails.dpdk.org (Postfix) with ESMTP id 1116440271 for ; Fri, 24 May 2024 00:00:27 +0200 (CEST) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-43e0a5e3c08so16712571cf.3 for ; Thu, 23 May 2024 15:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1716501626; x=1717106426; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3MIBjLqE43rHRRJESSXVf6edpfVi/mssNuCJTeNUow0=; b=Y+OiJTHalFq2IJ279hzusDmYbVZrlPxhudzmjvjHp3cRhBztWe/c8WOLBBwqHFlugP COuMOQcc3nqh/+JX1Bpz2Apmz4jPW3/tI2LIOs3z2DSrbxVmxZ9sVqUT2FJH3Txroagm a5ZQzpX1O79UX6CPrCC7a/IOh7PCPVQ2SqnTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716501626; x=1717106426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3MIBjLqE43rHRRJESSXVf6edpfVi/mssNuCJTeNUow0=; b=j/H+CbiKRp88frhtGJsVkUXhdSfyyeACde4RoV9w2cHfy7tibbE5ZgctWKIznpadYw naFR3Oq2Xm59qmTjemWFtnBILW77/NPS1Fg1IrXxYTKPoQzBYA4hPgK+w3vpTePNdRcN f0N0Qn6aGPjZY3PlmQWRudNHMfAjHLdfTm/EuXI/M7bnMs9/EvHSQdjLzKGZ3QOd1HBO X8cCxluBys8qnoS6cV0abuxEE4890m4Elk7xNupauI90JO/dZOPwOstK12xJITamCYZl Tm7e2Q4NG8jXEuK8Z+Wa2LQqyarn4lXLAk/wbOAosjHi9FyryoojlYxezaPV56+FBKx8 H8xw== X-Gm-Message-State: AOJu0Yzz+q8wBGT1GjsCxs8acLDo7Zs4R7xGARbZMWveWmfOrlOJAKzf M0l1Cdoa4ViseP/xyBvig0XjadK28q7iQCYcmnsHqE/FP0YgUhs8Y++Po/4R0dyAPdWg6ZdTTH3 bwjBYjOSq3uuYF6HYNI36AuidX8+wPkdyQs0QNI0zUdd/Aicl/gxuDOexwAN5FIUAhJxGkT/qRt RbWPXZbf/BCLUxTcWb/Aq3jA== X-Google-Smtp-Source: AGHT+IF1lRx7YuLb+pEqP1hNQZwPB+r1b+0yiRVA3kVIW0LGw99+4Lo2B3J/MT0bMt5tXPnYSzEVqQ== X-Received: by 2002:ac8:580e:0:b0:437:bec6:7354 with SMTP id d75a77b69052e-43fb0e6d5c7mr4290261cf.28.1716501625848; Thu, 23 May 2024 15:00:25 -0700 (PDT) Received: from localhost.unh.edu ([2606:4100:3880:1271:7cf:ede5:53c9:3711]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43fb18bf4e5sm794501cf.81.2024.05.23.15.00.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 15:00:25 -0700 (PDT) From: Patrick Robb To: ci@dpdk.org Cc: aconole@redhat.com, ahassick@iol.unh.edu, thomas@monjalon.net, alialnu@nvidia.com, Patrick Robb Subject: [PATCH v2] tools: check for pending test status when parsing emails Date: Thu, 23 May 2024 17:59:45 -0400 Message-Id: <20240523215945.16468-1-probb@iol.unh.edu> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20240517192222.20555-2-probb@iol.unh.edu> References: <20240517192222.20555-2-probb@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Today, the community CI infrastructure only uses post-result reporting, such as "SUCCESS", "FAILED", and "WARNING". These results get reported only after a test finishes. This creates some confusion about whether a test might have been started for the series in question. It isn't easy to tell at-a-glance which tests are currently running for a given patch or series. This patch aims to introduce support for a "PENDING" state in the CI infrastructure. This allows labs to indicate which tests have started and are awaiting results. That means test writers should now send a "PENDING" status for tests as they start, and then update with a post-test result after. With this change, understanding which tests ran at-a-glance is something we can achieve. This change should have no affect on the actual tests being run. Signed-off-by: Patrick Robb --- tools/update-pw.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/update-pw.sh b/tools/update-pw.sh index 07067dd..b0f0baa 100755 --- a/tools/update-pw.sh +++ b/tools/update-pw.sh @@ -49,6 +49,7 @@ case $status in 'SUCCESS') pwstatus='success' ;; 'WARNING') pwstatus='warning' ;; 'FAILURE') pwstatus='fail' ;; + 'PENDING') pwstatus='pending' ;; esac printf 'id = %s\nlabel = %s\nstatus = %s/%s %s\nurl = %s\n' \ "$pwid" "$label" "$status" "$pwstatus" "$desc" "$url" -- 2.40.0