Skip to content

Commit f03c74b

Browse files
committed
nfstest: add results visualization support
Add make nfstests-results-visualize target to generate HTML visualization of NFS test results. This processes test logs from workflows/nfstest/results/last-run and creates a self-contained HTML report with charts and statistics. The visualization includes: - Overall test summary with pass/fail statistics - Interactive pie charts for test results - Detailed results grouped by NFS protocol version - Collapsible sections for easy navigation - Test configuration details Usage: make nfstests-results-visualize Output: workflows/nfstest/results/html/ This makes it easy to analyze test results and share them by simply copying the html directory via scp. Generated-by: Claude AI Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 1db46a4 commit f03c74b

File tree

5 files changed

+1126
-0
lines changed

5 files changed

+1126
-0
lines changed

workflows/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ ifeq (y,$(CONFIG_KDEVOPS_WORKFLOW_ENABLE_NFSTEST))
5050
include workflows/nfstest/Makefile
5151
endif # CONFIG_KDEVOPS_WORKFLOW_ENABLE_NFSTEST == y
5252

53+
# Always available nfstest visualization target
54+
nfstests-results-visualize:
55+
$(Q)bash $(shell pwd)/workflows/nfstest/scripts/visualize_nfstest_results.sh
56+
5357
ifeq (y,$(CONFIG_KDEVOPS_WORKFLOW_ENABLE_SYSBENCH))
5458
include workflows/sysbench/Makefile
5559
endif # CONFIG_KDEVOPS_WORKFLOW_ENABLE_SYSBENCH == y

workflows/nfstest/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ nfstest-help-menu:
9999
@echo "nfstest options:"
100100
@echo "nfstest - Git clone nfstest and install it"
101101
@echo "nfstest-{baseline,dev} - Run selected nfstests on baseline or dev hosts and collect results"
102+
@echo "nfstests-results-visualize - Generate HTML visualization of test results"
102103
@echo ""
103104

104105
HELP_TARGETS += nfstest-help-menu

0 commit comments

Comments
 (0)