-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync comparisonSignals.txt with MSL d2592ead8b #15
base: v4.1.0
Are you sure you want to change the base?
Conversation
From what I can tell, there are 4 categories of differences:
I think 1 and 2 are unfortunate, and it could be helpful if LTX improved their tooling to not modify the 3 is an effect of the decision to not update references, when variables are removed from the set to be tested, but no new variables are added. I'm not sure if we should do anything for this repository in this case? 4 is just that modelica/ModelicaStandardLibrary#4349 hasn't been finished yet, and introducing the In the end, I begin to question why this repo contains |
Thanks for the thorough wrap-up.
When LTX or myself run the regression tests initially, it created all output files in the same folder where the comparisonSignals.txt are stored. So we copied the entire folder structure and created this repository including the comparisonSignals.txt (which got duplicated). I'd expected the same approach for the subsequent regression test runs (like I setup for modelica/ModelicaStandardLibrary#4359 (comment)), hence I wonder why the comparisonSignals.txt ever can get out-of-sync. |
@MatthiasBSchaefer @casella I've also added you as reviewer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I completely agree with @maltelenz. If the SSoT of comparison signals is in the MSL, we should just remove these file, rather than wasting time to keep them in synch.
@MatthiasBSchaefer when you run your scripts on the LTX server, you are taking the comparisonSignals.txt files from the MSL, not from this repo, right?
As also noted in #17, once you have the CSV file, the information about what the reference signals are is in the first line of the CSV file, so that's one more reason to avoid keeping comparisonSignals.txt in this repo and wasting time with their maintenance. |
@casella the nightly runs on our server are using the "correct" signalComparison.txt from https://github.com/modelica/ModelicaStandardLibrary |
Other than trust to a closed-source regression-test-pipeline, it helps to have some more (machine-readable) reporting/checking which signals are actually taken in consideration. In modelica-tools/msl-release@c454482 I have just introduced a result_passed.log logfile containing the considered variables. In case of failure the logfile result_failed.log is generated with an error message. In that sense we can get rid of the comparisonSignals.txt files in this repo, provided we commit the result_passed.log or result_failed.log files per regression result.
If you mean comparisonSignals.txt, this makes me even more puzzled why these files could ever get out of sync. |
All information needed are in the set of files { comparisonSignals.txt , ModelName.csv, creation.txt, simulate_passed.log, translate_passed.log and check_passed.log}. Btw: The additional file "compare_passed.log" is - in my opinion - misplaced in this repo, especially since it is not clear what is compared there. |
Sync the comparisonSignals.txt with modelica/ModelicaStandardLibrary@d2592ea.
Note that MSL is seen as SSoT. I wonder why they differ at all.