-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Error when frameworks installation script fails #685
Conversation
ec36c66
to
bdff473
Compare
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.
It seems it would be easier to detect this at the level of the subprocess call, rather than injecting a -e
, this in effect offloads to the responsibility to the creator of the script to exit with the correct status code.
This would require a template that includes and documents a -e
call in there, so people are aware of it if not super familiar with writing bash scripts. People writing a script for Windows, of which I imagine there are not too many, would have to do so in the way expected of a .bat
file or whatever it is.
Thanks for your thoughts!
Sorry, I am not 100% sure I understand. Are you suggesting that the scripts themselves invoke Windows isn't officially supported, doesn't work with any current setup scripts, and we currently have no plan to support it (outside of docker mode), so I would prefer to find the best solution for unix-based machines. |
It's not too much of an issue in the end, just need to ensure that using I'm usually for offloading these issues to the user, namely just because it's hidden behaviour and might end up with their own manual running being different than what the benchmark does. For example, the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #685 +/- ##
==========================================
+ Coverage 68.15% 68.90% +0.74%
==========================================
Files 54 55 +1
Lines 6730 6757 +27
==========================================
+ Hits 4587 4656 +69
+ Misses 2143 2101 -42 ☔ View full report in Codecov by Sentry. |
Related to #681 |
If we detect an error during setup, we want to stop the benchmark process immediately, instead of continuing.
Currently, the failed process goes unnoticed and often results in unexpected errors like missing dependencies during the execution of the
exec.py
script.