From patchwork Tue Sep 5 22:13:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 113 Return-Path: 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 91EEE42503; Wed, 6 Sep 2023 00:23:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79C174027C; Wed, 6 Sep 2023 00:23:44 +0200 (CEST) Received: from mail-io1-f100.google.com (mail-io1-f100.google.com [209.85.166.100]) by mails.dpdk.org (Postfix) with ESMTP id D308E4013F for ; Wed, 6 Sep 2023 00:23:42 +0200 (CEST) Received: by mail-io1-f100.google.com with SMTP id ca18e2360f4ac-77acb04309dso119768939f.2 for ; Tue, 05 Sep 2023 15:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1693952622; x=1694557422; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LCzxGX/3sI63WWOpKH3Seb+seL2d3dbiWJNwWmFtl2Q=; b=RmqfYnPjSsjF7+MdmSso/Sf2Pu0DQBLjRR8EEcVTvV/ledbqUzQdOa58YbCrkAob+j ea3f/JXpIVqbexWut2cUMJRNH+3pck4PhQFba6uFxu1xahcTauquaktlIZ2Y2WZzyVaD oi+h9lV0z2oSb6ony8gVwz9x9wUsYUEyLtzC0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693952622; x=1694557422; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LCzxGX/3sI63WWOpKH3Seb+seL2d3dbiWJNwWmFtl2Q=; b=WtmNnxEyoHGCNLO2LlHoVjo6VPKUIQXTc+vGFjJTKo9nAj0DJFkyG571j569dIktVU RWQPcEKjnymsGZC69R3WeJdAImWFsqbo7pydGak7UBOwDD7qDm4QNrZ7My59QO7xPsVQ qaGTnK14lPMSCHdmSOyX8m79cdGUoIdRAr6aauS6swno39fpz/SBRVE8HMd21uDE8gnb YiOVtnIVxIE5Yfjhdw+83kCD8fFRdWpYCzXj31n6rUHgwUSaTy9ihnLQ4QyOnF3JdECj rqX1fIApATSmwV6lxy9oyefS3v9EGQiW8Vm2mnJX1T99/xDWz/cLLk2UIFGdnwrIYSNA N+Dg== X-Gm-Message-State: AOJu0YxYbzxUBH3ZmWQ9Y8GvnkpfIHbbxZvqGmpCD+HlLNujEYfCmuMR RnutGiDKv64uqo3mv6fV+yfgt1fpdEOZh68BKb6F9xX49SrLnyDCWBTxUyiL0gYpoOnOYQmDUxi ++492SgUtur1MDOSPZ3DlPNCX0qrt0LttoGnt9mP1ESitLz0tOu/E+r85Ml8y458IyV2PB0RFUb bcqbmbJKh7d5fcKrlmuFUr X-Google-Smtp-Source: AGHT+IF73KehbVZKjJ9xtggFMSC6eP7lmuiMRMP/7k7Fr87u1dS/qIKhfdof6vM0D5ezZwV2gAcyOtE+LzxM X-Received: by 2002:a6b:7218:0:b0:77e:3598:e511 with SMTP id n24-20020a6b7218000000b0077e3598e511mr16915494ioc.2.1693952622032; Tue, 05 Sep 2023 15:23:42 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id gn8-20020a0566382c0800b004305b245912sm491607jab.17.2023.09.05.15.23.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2023 15:23:42 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f]) by postal.iol.unh.edu (Postfix) with ESMTP id 809BE6052471; Tue, 5 Sep 2023 18:23:41 -0400 (EDT) From: jspewock@iol.unh.edu To: ci@dpdk.org Cc: aconole@redhat.com, alialnu@nvidia.com, probb@iol.unh.edu, Jeremy Spewock Subject: [PATCH 0/1] tools: Add script for getting rerun requests Date: Tue, 5 Sep 2023 18:13:01 -0400 Message-ID: <20230905222317.25821-2-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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 From: Jeremy Spewock As the community suggested, there should be a way for users to retest any contexts on a given patch without needing to contact a maintainer or resubmitting the patch. The UNH-IOL Community lab has implmented a way to do this using the get_reruns.py script. This script is a generic way for anyone to provide a list of contexts to filter by and a timestamp of the time they want to consider comments since to get a automation-friendly JSON file that contains all contexts to be rerun grouped by the patch series ID that they should be run on. The output JSON file also includes a timestamp of the most recent comment that was considered so that you don't process the same data repeatedly. The idea behind upstreaming this script is so that other labs can have one common generic script to get the rerun information and then process that data internally as they see fit. Jeremy Spewock (1): tools: add get_reruns script tools/get_reruns.py | 219 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100755 tools/get_reruns.py