Enhanced Reports#85
Conversation
- Each run now creates a subdirectory under the report directory named YYYY-MM-DD-HH-SS (e.g. reports/2026-05-02-18-46), keeping the HTML report and debug log for each run isolated. - Suppress RequestsDependencyWarning emitted by the requests library on import, which was cluttering the tool's console output. Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
- Create YYYY-MM-DD-HH-SS subfolder under report dir on each run so each execution's HTML report, Excel file, and debug log are isolated - Suppress RequestsDependencyWarning from requests on startup - Rewrite HTML report with responsive enterprise layout: sticky header, info cards, colour-coded summary counters, collapsible sections and test rows, pill badges, Expand/Collapse All buttons, scroll-to-top - Add Excel (.xlsx) report alongside HTML: Summary sheet with metadata and colour-coded counters (grid lines hidden), Results sheet with frozen header and per-result colour coding (grid lines hidden) - Replace single-line console summary with colour-coded ASCII table - Add blank lines between console output entries for readability - Add openpyxl to requirements.txt Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
| import colorama | ||
| import logging | ||
| import warnings | ||
| warnings.filterwarnings("ignore", category=Warning, module="requests") |
There was a problem hiding this comment.
What's the purpose of this? We haven't needed to suppress warnings from requests in other projects.
| no_test_end, | ||
| ) | ||
|
|
||
| col_w = 14 |
There was a problem hiding this comment.
Noting for myself: If we go with this change, we should apply the same output to other tools. Will see if others like the output change.
- Two-column layout: sticky sidebar + scrollable test content - Enterprise-style white sidebar with key-value info rows - 2×2 stat grid and animated stacked pass-rate progress bar - Inline result chips per test; aggregate badges per section - Color-coded left border on test blocks by worst result status - Add per-test inline summary chips (✓ N Pass / ✗ N Fail / ...) - Add aggregate count badges to each section header - Add 4px status-coded left border per test block (fail/warn/pass) - Add animated pass-rate progress bar in sidebar (0→actual% on load) - Move system info and results summary into a sticky 240px sidebar - Dedicate main content area exclusively to test sections - Style sidebar with enterprise white theme and accent headings - Add 2×2 solid-color stat blocks for pass/warn/fail/skip counts Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
sivaprabug@ubuntu:upstream_to_dmtf/Redfish-Use-Case-Checkers$ rf_use_case_checkers -r https://10.0.99.46 -u root -p 0penBmc
Redfish Use Case Checkers, Version 2.0.8
Performing Account Management use cases...
-- Running the User Count test...
-- Running the Add User test...
-- Running the Enable User test...
-- Running the Disable Password Change Required test...
-- Running the Credential Check test...
-- Running the Change Role test...
-- Running the Delete User test...
Performing Power Control use cases...
-- Running the System Count test...
-- Running the Reset Type test...
-- Running the Reset Operation test...
Performing Boot Override use cases...
-- Running the System Count test...
-- Running the Boot Override Check test...
-- Running the Continuous Boot Override test...
-- Running the One-Time Boot Override test...
-- Running the One-Time Boot Override Check test...
-- Running the Disable Boot Override test...
Performing Manager Ethernet Interfaces use cases...
-- Running the Ethernet Interface Count test...
-- Running the VLAN Check test...
-- Running the Addresses Check test...
Performing Query Parameters use cases...
-- Running the Filter Query test...
-- Running the Select Query test...
-- Running the Expand Query test...
-- Running the Only Query test...
+--------------+--------------+--------------+--------------+
| PASS | WARN | FAIL | NOT TESTED |
+--------------+--------------+--------------+--------------+
| 141 | 1 | 10 | 21 |
+--------------+--------------+--------------+--------------+
HTML Report: reports/2026-05-17-17-41/RedfishUseCaseCheckersReport_05_17_2026_175141.html
Excel Report: reports/2026-05-17-17-41/RedfishUseCaseCheckersReport_05_17_2026_175141.xlsx
Debug Log: reports/2026-05-17-17-41/RedfishUseCaseCheckersDebug_05_17_2026_175141.logHere is the markdown summary ready for a PR description or CHANGELOG entry: HTML Report Enhancements1. Two-Column Layout (Sidebar + Main Content)The report now uses a sticky sidebar + scrollable main content layout instead of a single-column page.
2. Enterprise-Style SidebarThe sidebar is styled for professional/enterprise reports:
3. Animated Pass-Rate Progress BarA new Pass Rate section appears at the bottom of the sidebar:
4. Section-Level Aggregate Count BadgesEach collapsible section header now shows pill-shaped count badges on the right side, giving an at-a-glance summary without expanding: Badges are rendered as semi-transparent overlays on the dark section header. 5. Inline Result Summary Chips per TestEach test row now shows up to 4 compact pill chips (one per status type) directly in the heading row — visible without expanding: Previously, users had to expand every test to see its results. Now the pass/fail distribution is immediately visible at a glance. 6. Status-Coded Left Border per Test BlockEach test block receives a 4 px colored left border based on its worst result:
This lets users scan a long section and spot failing tests instantly without reading badges. RedfishUseCaseCheckersDebug_05_17_2026_175141.log RedfishUseCaseCheckersReport_05_17_2026_175141.html RedfishUseCaseCheckersReport_05_17_2026_175141.xlsx HTML report :
|
|
Guys if you have time kindly review this: |
|
@sivaprabug would it be possible to start from the same template that's used by the Redfish Service Validator? There are slight discrepancies between the two in terms of coloring and fonts. |
Sure i will verify and update |





Create timestamped run folders and suppress warnings
Reports :
YYYY-MM-DD-HH-SS) under the configured report directoryRequestsDependencyWarningfrom therequestslibrary is suppressed at startup.xlsx) report generated alongside the HTML report:openpyxladded torequirements.txtHTML Report: RedfishUseCaseCheckersReport_05_02_2026_210203.html
Excel Report: RedfishUseCaseCheckersReport_05_02_2026_210203.xlsx
Debug Log: RedfishUseCaseCheckersDebug_05_02_2026_210203.log
Screenshots:
Spread Sheet :
Summary :
Results :
HTML Report :
Expanded Report:
Collapsed Report :
CC: @jautor @tomasg2012 @billdodd @mraineri