CDash icon indicating copy to clipboard operation
CDash copied to clipboard

Visualization of Test Results

Open foxtrott opened this issue 6 years ago • 7 comments

Hi all,

I'm wondering whether it is feasible to improve the viewTest.php file in favour of a more modern representation rather than a potentially very very long simple table. I was thinking about something like a calendar view [1] which allows grouping individual tests according to labels, projects or others. In case of many thousand tests, this could be pretty useful.

Kind regards, Florian

[1] https://beta.observablehq.com/@mbostock/d3-calendar-view

foxtrott avatar Nov 30 '18 12:11 foxtrott

As it currently exists, viewTest.php allows you to filter its results by label, test name, and more. The Summary and History columns on this table also give an indication of how each test is performing outside of this one particular run.

If there's another visualization that we can add to this page to make it more useful, then I'm totally for it. I'm not sure that a calendar heatmap is the right choice though, because there isn't necessarily one build per day. Maybe a line chart with three series (pass, fail, notrun) or a stacked area chart instead?

I'm also a little concerned that the database queries to retrieve all this data might be slow, but we can deal with that problem if/when it arises.

zackgalbreath avatar Nov 30 '18 18:11 zackgalbreath

I should also point out that testOverview.php has a timeline view showing how the number of passing, failing, and not run tests changed over time. From the "Dashboard" drop-down menu click on "Tests" to take a look.

zackgalbreath avatar Nov 30 '18 18:11 zackgalbreath

I think CDASH needs a better way to view historical data for the following

  1. Historical Data by buildname
  2. Historical Data by test

We need a way to navigate test via calendar form where we can put Start and End date to filter test, i want to know when a particular test has failed so we can diagnose errors.

Currently we have a timeline graph but this doesn't make any sense after trying to click on the graph it doesn't show what test is causing the error and no way to move the date range. Screen Shot 2022-06-22 at 1 11 14 PM

I found a filter that shows build history by particular buildname i think this feature is useful we may need to make this more apparent it was hidden under menu Show Build History for this page https://my.cdash.org/build/2172836

Screen Shot 2022-06-22 at 1 15 59 PM

This image below is the build history filter i think the text field needs to be fixed for instance the date field needs to be calendar picker instead of manually writing the date which can pose issues.

Screen Shot 2022-06-22 at 1 14 30 PM

shahzebsiddiqui avatar Jun 22 '22 17:06 shahzebsiddiqui

We need a way to navigate test via calendar form where we can put Start and End date to filter test

The Begin and End fields on index.php pop up a calendar widget to make it easier to select a range of dates.

begin_end_datepicker

Let us know if this wasn't what you were looking for.

zackgalbreath avatar Jun 23 '22 14:06 zackgalbreath

I was able to use this filter as you suggested it worked i guess it works on buildname but not per test name. Is it possible to make this more clear this filter field is hidden two navigations from the main dashboard. Can't we set this filter field on main dashboard considering you change the text field.

Screen Shot 2022-06-24 at 9 52 21 AM

shahzebsiddiqui avatar Jun 24 '22 13:06 shahzebsiddiqui

I am able to see history by buildname how do i see history by test since that is ultimately what we want to see. This feature is still nice Screen Shot 2022-06-24 at 9 54 20 AM

shahzebsiddiqui avatar Jun 24 '22 13:06 shahzebsiddiqui

how do i see history by test

I think the "Tests Query" page is what you're looking for.

Screen Shot 2022-06-24 at 3 19 29 PM

Here's an example of using filters on this page to see the history of a specific test:

https://my.cdash.org/queryTests.php?project=buildtest-nersc&begin=2022-04-30&end=2022-06-24&filtercount=1&showfilters=1&field1=testname&compare1=61&value1=cuda_example_nvcc

zackgalbreath avatar Jun 24 '22 19:06 zackgalbreath