NREL / OpenStudio-measure-tester-gem

Other
3 stars 0 forks source link

Sometimes data doesn't make it to Dashboard #69

Open DavidGoldwasser opened 9 months ago

DavidGoldwasser commented 9 months ago

I had been seeing this only on Windows, but today I saw it on Mac. Not critical issue but I wanted to document it.

Dashboard normally looks like this Screen Shot 2023-11-16 at 11 58 15 AM

But today when I ran model articulation is looks like this (which has been my Windows experience recently). Both of these screenshots are of same M1 Mac installer. Screen Shot 2023-11-16 at 11 58 26 AM

My work around for this to see what tests failed and the log to specific lines in code is to go to the dashboard in test at the top of the repo instead of lib/measures/test_output that the other dashboard is at. I just have to scroll down and look more carefully. Screen Shot 2023-11-16 at 11 58 33 AM

Here is end of console log. Not sure if RuboCop warnings for the mea


Could not find measure to parse for extracting class name in Rubocop. PWD: /Users/dgoldwas/Documents/github/nrel/openstudio-model-articulation-gem/lib/measures/radiant_slab_with_doas/tests/output/test_multi_zone_office_3C_ceiling filename: lib/measures/AssignSpacesToStories/measure.rb
Total files: 102
Total issues: 2065 (16 info, 1906 warnings, 143 errors)
Open ./test_results/dashboard/index.html to view measure testing dashboard.
(base) dgoldwas:0:nrel$```

Any changes here can wait or OpenStudio 3.8., but just wanted to document it.
DavidGoldwasser commented 9 months ago

Here is end of console when the data did make it to dashboard. It has the same Rubocop line. (I forgot to copy the Rubocop lines but they were there) Oddly there is a NoMethodError at the end when the dashboard data is populated, in place of the path the the dashboard. I don't think that is always the case, but I can keep an eye out of there is a pattern.


Total files: 322
Total issues: 4609 (26 info, 3178 warnings, 1405 errors)
NoMethodError: undefined method `>' for nil:NilClass
(base) dgoldwas:0:nrel$```
DavidGoldwasser commented 9 months ago

This happens to me on mac as well if I first clean off all the prior test results. Not sure why behavior on Linux CI is different.