-
Notifications
You must be signed in to change notification settings - Fork 10
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
Report SMT solver timeout in CLI output #21
Comments
Next step: determine LoE to close this issue |
I examined this issue some, and I think the main difficulty here is that, firstly the haskell and booster backends handle logging differently, and neither in a way conducive to what we want to do here. The former allows you to requests certain types of log entries at a very granular level, but just dumps all logs into a file, and I don't think just examining this file, e.g. searching for certain strings after failure, is a very robust way to go about it. The booster backend has a verbosity option that can write the relevant types of log messages, but only to It might be worth considering creating an issue to see if we can get both backends to give us an actual RPC response that we can interpret in this case rather than just crashing. While trying to reproduce the solver timeout crash that occurs during proof execution, I noticed it's not straightforward to do because just passing in a very short timeout gives this error:
which I assume means that Z3 is being called to validate the definitions even before any symbolic execution job is requested. This causes the server to crash even before we manage to read which connection the process opened (in |
Related pyk PR: runtimeverification/pyk#744 |
Related issue: #396 |
I've opened an issue for the backend (see #3747), until it's been figured out we may issue timeout errors for all the |
Related: #396
At the moment, Kontrol doesn't report if an SMT solver timeout has occured—to identify that the solver has timed out, one needs to look at the backend's bug report. We should add the corresponding message to the output, perhaps with a suggestion to increase the
--smt-timeout
value.As discussed with the backend team last week, an
smt solver error
during the execution can be safely interpreted as a timeout. We shouldpyk
, handle ansmt solver error
(with error code 5) separately and add the term causing the error to output (that was done previously in Make KCFGExplore aware of aborting requests due to unknwon predicates pyk#744)kontrol
, add a corresponding error message suggesting increased timeout via--smt-timeout N
The text was updated successfully, but these errors were encountered: