From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 DD5945D8F0 for ; Wed, 5 Mar 2025 00:58:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741136284; cv=none; b=BNIGD5mKZdseyOmqlvs8VqnXy6BDIMFt/svhc0kxYuD4U4GSXsrl2Xb7KCkUnd6GtCHHOGLFDLSHd6Hsd9wbBa2IBhxK9z9Yp7dli6t7RPMBsJWG+JxlCTZYYrDJyoZ+ygGKQ2bRT0MSNi+W4DcaonI+2ic5hrg6TEWneB6eDKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741136284; c=relaxed/simple; bh=Nl77tN+j2QBoIlhuvP6xAzsOixyk7o/q5H5GBPD5j+E=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:content-type; b=UPrfE6p9sP3GnQGBhvp2oFrWVTBdQa8bHSFwNXRGwbwwCRPA1cJDsHU1xIrrLRoZRXMeyAY2m/LtY74oTYhTM8ElWzYsgSHwUPm7G3f0EDEo+i2CIqt8cBeJ6kxv6+wVSjYGv5vyefaO9NZ73XY8lt9JafKqQzLULJMcVsr2ypY= 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=LCjibbNy; arc=none smtp.client-ip=170.10.129.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="LCjibbNy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1741136280; 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: in-reply-to:in-reply-to:references:references; bh=pj9MalmQDBX6vW2xuB8n5xyoB8y1D3b3bEYs4rnGdBo=; b=LCjibbNyPAdkBrHcqW3+I9VQHmj+y3r7lhImTjw9LTmIrBjTNpzTC5pJa2T7rvilaOg4np N/mY+Fcm0ZSIRwKqCeFxJertDq9D5JTJ5tQTSvOrwv0rt4une8rWYesrULD1nbDneuImdq xlbg6LUttd2tqZJHrojFtBR5lYJuvkI= 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-517-qYsHhR1qPoWS_1dvAoRQ6w-1; Tue, 04 Mar 2025 19:57:59 -0500 X-MC-Unique: qYsHhR1qPoWS_1dvAoRQ6w-1 X-Mimecast-MFC-AGG-ID: qYsHhR1qPoWS_1dvAoRQ6w_1741136279 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 001591801A1A for ; Wed, 5 Mar 2025 00:57:59 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.64.10]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CA2FD19560AB for ; Wed, 5 Mar 2025 00:57:58 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id B96BB337292 for ; Tue, 04 Mar 2025 19:57:55 -0500 (EST) From: Scott Mayhew To: kdevops@lists.linux.dev Subject: [PATCH 6/9] pynfs: add makefile target to show test results Date: Tue, 4 Mar 2025 19:57:51 -0500 Message-ID: <20250305005755.697599-8-smayhew@redhat.com> In-Reply-To: <20250305005755.697599-1-smayhew@redhat.com> References: <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.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: HuBmIAzi-sjODSO0JF33WoXc0eRCDxLv5HttOSPbzbI_1741136279 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true Add 'pynfs-show-results' makefile target to show test results. Under the hood, it more or less just does 'find ... | xargs cat'. It shows the json results files for the most recent kernel run. You can show the results for a differnt kernel by overriding the LAST_KERNEL variable, e.g. $ LAST_KERNEL=6.13.4-300.fc41.x86_64 make pynfs-show-results Signed-off-by: Scott Mayhew --- workflows/pynfs/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/workflows/pynfs/Makefile b/workflows/pynfs/Makefile index 75a4b6a..253a222 100644 --- a/workflows/pynfs/Makefile +++ b/workflows/pynfs/Makefile @@ -24,6 +24,10 @@ PYNFS_KERNEL_CI_LOOP := scripts/workflows/pynfs/run_kernel_ci.sh PYNFS_KERNEL_CI_LOOP_KOTD := scripts/workflows/pynfs/run_kernel_ci_kotd.sh endif # CONFIG_KERNEL_CI +ifndef LAST_KERNEL +LAST_KERNEL := $(shell cat workflows/pynfs/results/last-kernel.txt 2>/dev/null) +endif + # Makefile for pynfs targets pynfs: $(Q)ansible-playbook $(ANSIBLE_VERBOSE) -l baseline,dev \ @@ -63,6 +67,14 @@ pynfs-dev-reset: $(Q)ansible-playbook $(ANSIBLE_VERBOSE) \ -f 30 -i hosts -l dev playbooks/pynfs.yml --tags vars,reset --extra-vars=@./extra_vars.yaml +pynfs-show-results: +ifdef LAST_KERNEL + @find workflows/pynfs/results/$(LAST_KERNEL) -type f \ + | xargs -I {} bash -c 'echo "{}:"; cat {}; echo -e "\n";' +else + @echo "No results." +endif + pynfs-help-menu: @echo "pynfs options:" @echo "pynfs - Git clone pynfs, build and install it" -- 2.48.1