Message ID | 20240523215945.16468-1-probb@iol.unh.edu (mailing list archive) |
---|---|
State | New |
Headers |
Return-Path: <ci-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <ci@dpdk.org>; Fri, 24 May 2024 00:00:27 +0200 (CEST) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-43e0a5e3c08so16712571cf.3 for <ci@dpdk.org>; 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 <probb@iol.unh.edu> To: ci@dpdk.org Cc: aconole@redhat.com, ahassick@iol.unh.edu, thomas@monjalon.net, alialnu@nvidia.com, Patrick Robb <probb@iol.unh.edu> 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 <ci.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/ci>, <mailto:ci-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/ci/> List-Post: <mailto:ci@dpdk.org> List-Help: <mailto:ci-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/ci>, <mailto:ci-request@dpdk.org?subject=subscribe> Errors-To: ci-bounces@dpdk.org |
Series |
[v2] tools: check for pending test status when parsing emails
|
|
Commit Message
Patrick Robb
May 23, 2024, 9:59 p.m. UTC
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 <probb@iol.unh.edu>
---
tools/update-pw.sh | 1 +
1 file changed, 1 insertion(+)
Comments
> -----Original Message----- > From: Patrick Robb <probb@iol.unh.edu> > Sent: Friday, May 24, 2024 1:00 AM > To: ci@dpdk.org > Cc: aconole@redhat.com; ahassick@iol.unh.edu; NBU-Contact-Thomas > Monjalon (EXTERNAL) <thomas@monjalon.net>; Ali Alnubani > <alialnu@nvidia.com>; Patrick Robb <probb@iol.unh.edu> > Subject: [PATCH v2] tools: check for pending test status when parsing emails > > 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 <probb@iol.unh.edu> > --- Acked-by: Ali Alnubani <alialnu@nvidia.com> Thanks, Ali
Patrick Robb <probb@iol.unh.edu> writes: > 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 <probb@iol.unh.edu> > --- Thanks Patrick and Ali - applied.
Thanks Aaron for merging and Ali for updating on the PW side. UNH is going to start reporting with the PENDING status today for just the ABI patchwork context. If all looks good, we will enable for the entire set of contexts we are responsible for tomorrow.
Ali, I've been monitoring Patchwork today after rolling out the feature on just the ABI context, and I've noticed that checks with "pending" status do not appear in the table or in the Patchwork API. I only see the check appear in the table/API once the final "success" check is sent. Here's a thread that I've been tracking for example: http://inbox.dpdk.org/test-report/667c6064.050a0220.f0848.4472SMTPIN_ADDED_MISSING@mx.google.com/T/#u It looks to me that the "Test-Status" tag is set correctly. Is it possible there are errors when adding the checks on the Patchwork end? Thanks, Adam On Tue, Jun 25, 2024 at 3:34 PM Patrick Robb <probb@iol.unh.edu> wrote: > > Thanks Aaron for merging and Ali for updating on the PW side. > > UNH is going to start reporting with the PENDING status today for just > the ABI patchwork context. If all looks good, we will enable for the > entire set of contexts we are responsible for tomorrow.
> -----Original Message----- > From: Adam Hassick <ahassick@iol.unh.edu> > Sent: Wednesday, June 26, 2024 10:32 PM > To: Patrick Robb <probb@iol.unh.edu> > Cc: Aaron Conole <aconole@redhat.com>; ci@dpdk.org; NBU-Contact-Thomas > Monjalon (EXTERNAL) <thomas@monjalon.net>; Ali Alnubani > <alialnu@nvidia.com> > Subject: Re: [PATCH v2] tools: check for pending test status when parsing emails > > Ali, > > I've been monitoring Patchwork today after rolling out the feature on > just the ABI context, and I've noticed that checks with "pending" > status do not appear in the table or in the Patchwork API. I only see > the check appear in the table/API once the final "success" check is > sent. > > Here's a thread that I've been tracking for example: > http://inbox.dpdk.org/test- > report/667c6064.050a0220.f0848.4472SMTPIN_ADDED_MISSING@mx.google.c > om/T/#u > It looks to me that the "Test-Status" tag is set correctly. > > Is it possible there are errors when adding the checks on the Patchwork end? > Hi Adam, I just realized that I pulled the new change in the wrong path. Can you please try now? Thanks, Ali
https://patchwork.dpdk.org/project/dpdk/patch/20240627075755.66386-1-sthotton@marvell.com/ Thanks Ali. I see pending for this patch for ABI testing. We will look in a couple of hours and it should by then have updated to pass/fail. Assuming that we don't notice any weird behavior, we will merge our PR tomorrow morning for the remaining PW contexts we report (currently we still only have ABI pending enabled). One thing we didn't think about when we set this up was the "S/W/F" counter that can be seen from https://patchwork.dpdk.org/project/dpdk/list/. That does not include pending. I guess that will be something to discuss at our next CI meeting! Thanks. On Thu, Jun 27, 2024 at 12:48 PM Ali Alnubani <alialnu@nvidia.com> wrote: > > > -----Original Message----- > > From: Adam Hassick <ahassick@iol.unh.edu> > > Sent: Wednesday, June 26, 2024 10:32 PM > > To: Patrick Robb <probb@iol.unh.edu> > > Cc: Aaron Conole <aconole@redhat.com>; ci@dpdk.org; NBU-Contact-Thomas > > Monjalon (EXTERNAL) <thomas@monjalon.net>; Ali Alnubani > > <alialnu@nvidia.com> > > Subject: Re: [PATCH v2] tools: check for pending test status when parsing emails > > > > Ali, > > > > I've been monitoring Patchwork today after rolling out the feature on > > just the ABI context, and I've noticed that checks with "pending" > > status do not appear in the table or in the Patchwork API. I only see > > the check appear in the table/API once the final "success" check is > > sent. > > > > Here's a thread that I've been tracking for example: > > http://inbox.dpdk.org/test- > > report/667c6064.050a0220.f0848.4472SMTPIN_ADDED_MISSING@mx.google.c > > om/T/#u > > It looks to me that the "Test-Status" tag is set correctly. > > > > Is it possible there are errors when adding the checks on the Patchwork end? > > > > Hi Adam, > > I just realized that I pulled the new change in the wrong path. Can you please try now? > > Thanks, > Ali
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"