-
Notifications
You must be signed in to change notification settings - Fork 688
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
risc-v/boot: verbosely log boot errors #429
Conversation
The preprocess test fail because of the |
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.
These look good from my side.
Should not affect the proofs since it's all boot code, but let me start a testboard just to make sure.
@ssrg-bamboo |
1 similar comment
@ssrg-bamboo |
Hello, I'm a bot! I've set up a proof testboard for this PR here, and results should show up as |
I guess the bot didn't receive the first message as a notification. |
Can I merge this now or is there another manual step needed to update the preprocess templates? |
Signed-off-by: Axel Heider <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
A preprocess test failure just compares this pull request with the current head to determine whether this PR potentially impacts the proofs. Once you merge this, it's the new head, so it will be the basis for future preprocess tests. TL;DR: no need to do anything to update the preprocess check. We just need a reasonable level of confidence this won't break the proofs. And I'm reasonably confident of that. Not sure what's going on with the simulation tests, though. I guess most are timeouts? Except maybe clang armv6a, which seems unrelated to this PR. |
Let me re-run the simulations. Only |
To add on to Matt's explanation: it's Ok to merge it, i.e. no other prework or preconditions, but there is an extra step afterwards (which we can do, but you also have sufficient access to run the script if you want -- usually a verification person should be involved in that, but Matt already gave his Ok). Basically, the preprocess-base is the last known-good version that has a proof, and that only bumps automatically to other preprocess-equal versions or if we explicitly tell it to. That latter part is the "preprocess bump" script that people might have mentioned before. It lives in https://github.com/seL4/l4v/tree/master/misc/bump together with a bit more explanation. |
Ok, all simulation runs successful now. It does look like that failure is not that rare and we should do something about it. |
(preprocess bump done as well) |
Log an explicit error message for everything that can fail during boot. This is helpful for debugging, e.g. when porting the kernel to a new platform or changing the system configuration.