TriBITSPub / TriBITS

TriBITS: Tribal Build, Integrate, and Test System,
http://tribits.org
Other
36 stars 46 forks source link

EPIC: cdash_analyze_and_report.py: Many possible improvements #578

Open bartlettroscoe opened 1 year ago

bartlettroscoe commented 1 year ago

This EPIC is a long list of possible improvements that I had when activity developing the tool cdash_analyze_and_report.py for an internal project.

These needs to be broken out into individual Issues/Stories before they actually get worked.

Things to implement before we call this (an unofficial) version 1.0:

At this point, the summary email will be able to detect and report failures of all kinds and we will be able to see new failures as they occur and every test with a listed issue tracker will be accounted for and listed in the email in some way. From this point on, we will add new types of checks and other features as we have time in order to make our job of staying on top of these builds and tests easier.

Nice things to add:

Attaching files to the emails:

Adding more color to tables:

Misc stuff that may not be needed or all that useful:

skyreflectedinmirrors commented 1 year ago

I am interested in summary statistics, e.g., # of passing tests, # of failed / missing tests, and a % pass rate, broken down over time.

Specifically, my use-case tracks tickets on a number of internal, and customer-facing JIRA instances, and I would like to (at a glance) be able to share build quality information with folks that I strongly suspect will never actually click through to the dashboard. Ideally, I'd like to have both the information for the current build, and some sort of time-average (or plot, but I noted you said "standard Python 3.x" in #577 @bartlettroscoe, which probably precludes matplotlib) of the build quality results over say, the last 30 days. Some far future goal would be JIRA integration (assuming such a thing can be done programmatically using minimal dependencies) to automatically pull in ticket status / priorities / etc., but I imagine I'd be the only user there for awhile.

In addition, I also have tests in our test-suite broken down via subproject / ctest-label into things like "runtime" / "compiler" / "hip_and_omp_interop", etc., which form natural groupings for us internally to see how various components we ship are doing. I would also probably want to add a similar type of reporting as described for the JIRA instances above (build quality, time history).

Update: See new issue for this:

bartlettroscoe commented 1 year ago

@arghdos, would you consider opening a new issue for the discussion above? I fear it will get lost in such a large epic issue.

skyreflectedinmirrors commented 1 year ago

Will do