-
Notifications
You must be signed in to change notification settings - Fork 105
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
Kani not propagating goto-cc error code. #1563
Comments
@adpaco-aws This issue has the risk of making stats over-optimistic wrt to milestone "Code generation succeeds on at least 80% of top 100 crates" Until it is fixed, have the script look at the STDOUT/ERR. Exit code cannot be trusted. |
Thanks @YoshikiTakashima , I wasn't aware of this issue but that explains why stats are not affected in #1585. Are you looking into this or should I take it? |
@adpaco-aws I am not looking into it right now. All of my time is taken up with #1312 and #1587 |
I haven't been able to reproduce this issue in my environment (Kani commit 42bfc94, Ubuntu 20.04). Running the same command on the same commit you posted gets me the following error:
In addition, I examined the stdout & stderr of the top100 crates experiment and couldn't find any error related to |
@adpaco-aws I've confirmed that kani's issues WRT prost is fixed. Let us replicate a different way, we will force it to fail using a fake
Change to
Replicated using:
|
|
Right, Closing this because issues with |
I tried this code: https://github.com/tokio-rs/prost.git
(commit 25d50ad325682cbc090fdc82686a03e52d4d4277)
using the following command line invocation:
with Kani version: 0.8 commit 90330b2
I expected to see this happen: If gotocc failed, then Kani should give nonzero error code
Instead, this happened: Message shows goto-cc failure, but kani-driver
is giving exit code 0.
This goes against UNIX standards, and will provide negative
experiences for customers who are using Kani via a script.
Suggested method of correction: propagate goto-cc's exit code as
cargo-kani's exit code when it is nonzero.
The text was updated successfully, but these errors were encountered: