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 75A7C43412; Thu, 30 Nov 2023 17:04:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5546D42E8B; Thu, 30 Nov 2023 17:04:23 +0100 (CET) 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 386F9402F0 for ; Thu, 30 Nov 2023 17:04:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701360261; 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=hMHWMGsrp0Jgu8mFA9G1MxLeeqyqt+65qfGt21xzU5A=; b=Yd772mu83+2eqdhkRKogIMA5z8MicMWQemUrsVqJdwGJORrS1D0AkESX/ENNvPgFN9ftAS ga0dZb1N42w1DepX0KSWx8Oa6NMB5vwEwBefz6aLk8Vz30dHYIentUo9vnEh2hblELy2g8 Dk5aUPahDW0iBO7KdD+dy7hW06fQ6pM= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-57-ElSc6ZQmOIOn7Hch1GCRRQ-1; Thu, 30 Nov 2023 11:04:16 -0500 X-MC-Unique: ElSc6ZQmOIOn7Hch1GCRRQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D1CDB3C14766; Thu, 30 Nov 2023 16:04:15 +0000 (UTC) Received: from RHTPC1VM0NT (unknown [10.22.32.221]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7497B2026D4C; Thu, 30 Nov 2023 16:04:15 +0000 (UTC) From: Aaron Conole To: ci@dpdk.org Cc: Michael Santana , David Marchand , Thomas Monjalon , Patrick Robb , Dumitru Ceara Subject: Re: [PATCH v3 0/3] Add a recheck framework to pw-ci References: <20231128210155.1388785-1-aconole@redhat.com> Date: Thu, 30 Nov 2023 11:04:15 -0500 In-Reply-To: <20231128210155.1388785-1-aconole@redhat.com> (Aaron Conole's message of "Tue, 28 Nov 2023 16:01:51 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Aaron Conole writes: > This allows users to send repsonse emails to patches and force > rebuilds of the workflow in github actions. > > This has been tested with the following: > > for recheck in $(./recheck_tool --pw-project=dpdk \ > --pw-instance=patches.dpdk.org \ > --filter=github-robot --state=1 | \ > jq -rc '.rechecks[]'); do > ./github_restart --pw-project=dpdk --pw-instance=patches.dpdk.org \ > --series-id=$(echo "$recheck" | \ > jq -rc '.series_id') \ > --repository=ovsrobot/dpdk \ > --sha=$(echo "$recheck" | jq -rc '.sha') \ > --github-token=XXXXXXXX > done > > And succesffully rebuilt 6457922075 from series 29774 which does have > a recheck-request (we used the iol-unit-amd64-testing filter to do > the test). > > To be added is a way to filter on specific workflows so we don't > restart all workflows associated with the run for those projects which > have more than one workflow. > > This can be combined with a second call of the recheck tool to advance > the state. When the series id is provided, the tool will update the > gap_sync column for the specific row and future calls to > github_monitor script will then scan the new run. > > RFCv2 -> v3: > > - Added RECHECK.rst to cover the basic worfklow. Project specific details > are expected to be posted to the individual projects documentation. > > - Moved a function for series-db-lib.sh from 3/3 to 2/3, since it was needed > for the recheck_tool > > - Moved some help text from 1/3 to 2/3 > > Aaron Conole (3): > pw_mon: improve command line options > recheck: Add a recheck parser for patchwork comments > github: add a tool for restarting checks > > RECHECK.rst | 81 ++++++++++++++++++++++++++ > github_restart | 145 +++++++++++++++++++++++++++++++++++++++++++++++ > pw_mon | 123 +++++++++++++++++++++++++++++++++++----- > recheck_tool | 100 ++++++++++++++++++++++++++++++++ > series_db_lib.sh | 80 +++++++++++++++++++++++++- > 5 files changed, 513 insertions(+), 16 deletions(-) > create mode 100644 RECHECK.rst > create mode 100755 github_restart > create mode 100755 recheck_tool I applied this series. Thanks all!