From patchwork Wed Mar 5 00:57:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Mayhew X-Patchwork-Id: 14001729 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36EE784D02 for ; Wed, 5 Mar 2025 00:58:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741136286; cv=none; b=Ojw7h9E9/65cyuTiViesobLRSkRCP9Tcwdu6h5VsjKbwzL/4IOVneqxR8bIp34cvfqbahiI9NrLtYuXtuP9zl+TaHK1MoB1nMfcyyRGjKSfmdqiqziI99A2S1lFgZA5ELtjmc5xwjuHb+B6ON/g1a42+hsjVuYmeUS2kFqXOxi4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741136286; c=relaxed/simple; bh=X62McgsCYkAmCH1VfjefOlBzCJUXd6QsAyK+ZSE+pGQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:content-type; b=dvSrZlrNP3MoCfVDBh42iZlH3b/wb2JuSGnssa0oQ2U9F421saSrWanjod0Bj7Juca4CEsXfEUGXf3s1mRiVKXMlnasCl8Z1Lcb4v2gtJWkUHcC59sPNq/Cb577c5HySACSkgpPHk0E1o6MRs9gHDfefljnasF1+g67ZM1/Yhgs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gaKTn+gH; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gaKTn+gH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1741136284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ksdovi5xW9qo8kE/aOIeenAs+6AKxVewvn3bJee7LXY=; b=gaKTn+gHX66vmjhlVAPrSXHPL1dxTobGnAbQyyzZX7+l1+SpIgA4jhzmitoY5SW019bigE 00EaClx3FWoZNPqo37VRF9tY9TtKpl6fnkud3QmPOCVFd4YtGzpTMs0yl1TjNcbcjmoDkv VbPfn5DPanqHrJ2EOelJp6Mu6x4k03w= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-408-1tybonVZNy-uI_TztbluNw-1; Tue, 04 Mar 2025 19:57:58 -0500 X-MC-Unique: 1tybonVZNy-uI_TztbluNw-1 X-Mimecast-MFC-AGG-ID: 1tybonVZNy-uI_TztbluNw_1741136277 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 61BF91801A21 for ; Wed, 5 Mar 2025 00:57:57 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.64.10]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 369B41800361 for ; Wed, 5 Mar 2025 00:57:56 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id 62EC933728B for ; Tue, 04 Mar 2025 19:57:55 -0500 (EST) From: Scott Mayhew To: kdevops@lists.linux.dev Subject: [PATCH 0/9] tweak results organization and reporting Date: Tue, 4 Mar 2025 19:57:44 -0500 Message-ID: <20250305005755.697599-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 9RQGGqTFbOUJC3vkFgiy4gy8RYGkXYmLgBBFaZu9wXY_1741136277 X-Mimecast-Originator: redhat.com content-type: text/plain; charset="US-ASCII"; x-default=true I do most of my kdevops runs under buildbot. Currently I don't have an easy way to view test results in buildbot's web interface. The first four patches implement a "last-run" directory and "last-kernel.txt" file similar to what the fstests workflow already has. This is mainly to facilitate the remaining patches, but I think it will also make it easier for me to feed my test results into other tooling in the future. The remaining patches add a "-show-results" makefile target, which basically print the test results to the standard output. The results for the most recent run are printed by default, but that can be changed by overriding the LAST_KERNEL variable. The results printed varies from workflow to workflow, and can be overidden via the PATTERN variable. Scott Mayhew (9): pynfs: add last-run directory and last-kernel.txt to the results nfstest: add last-run directory and last-kernel.txt to the results gitr: add last-run directory and last-kernel.txt to the results ltp: add last-run directory and last-kernel.txt to the results fstests: add makefile target to show test results pynfs: add makefile target to show test results nfstest: add makefile target to show test results gitr: add makefile target to show test results ltp: add makefile target to show test results playbooks/roles/gitr/tasks/main.yml | 59 +++++++++++++++++++++---- playbooks/roles/ltp/tasks/main.yml | 60 ++++++++++++++++++++++++-- playbooks/roles/nfstest/tasks/main.yml | 60 ++++++++++++++++++++++---- playbooks/roles/pynfs/tasks/main.yml | 38 +++++++++++++++- workflows/fstests/Makefile | 16 +++++++ workflows/gitr/Makefile | 21 +++++++++ workflows/ltp/Makefile | 21 +++++++++ workflows/nfstest/Makefile | 17 ++++++++ workflows/pynfs/Makefile | 12 ++++++ 9 files changed, 282 insertions(+), 22 deletions(-)