-
Notifications
You must be signed in to change notification settings - Fork 274
Re-enable users of {expr,nondet}_initializer to do their own error reporting #3057
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
Conversation
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.
This PR failed Diffblue compatibility checks (cbmc commit: eaf1402).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/86285654
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
Creating a bump for this now. |
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.
Reviewed java_bytecode changes but I don't really have much visibility of what this change is about - only looking at it since it failed the bump
I have a working TG bump 👍 |
eaf1402
to
ac26fe2
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.
This PR failed Diffblue compatibility checks (cbmc commit: ac26fe2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87126628
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
ac26fe2
to
b2db7ea
Compare
94f0ce1
to
b2db7ea
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.
This PR failed Diffblue compatibility checks (cbmc commit: b2db7ea).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/88747686
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
…porting With d5535a9 {expr,nondet}_initializer would fail an invariant when an expression of the chosen type could not be generated. As user input code can reasonably trigger this case (see included regression test), the caller should be able to do error handling as appropriate in a given context.
b2db7ea
to
c2dbb57
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.
This PR failed Diffblue compatibility checks (cbmc commit: c2dbb57).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/88785946
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
@peterschrammel @thk123 @allredj Could you please let me know whether the TG failure is a genuine one? There was a past bump (see above), but that's 25 days ago... |
The bump did require code changes so I'm not surprised Joel-bot is unhappy - I see Peter has just rebased it but I suppose once that passes this will be good to go |
@thk123 @peterschrammel thanks a lot for the immediate support! |
Unfortunately, it's not passing. |
Please let me know if there is anything I can do to help! |
This PR is fine. It's due to an earlier merge causing the failure. All subsequent PRs based on cbmc/develop:HEAD are then reported as conflicting. |
I guess I should still wait before merging this PR to avoid even more chaos on the TG side? |
With d5535a9 {expr,nondet}_initializer would
fail an invariant when an expression of the chosen type could not be generated.
As user input code can reasonably trigger this case (see included regression
test), the caller should be able to do error handling as appropriate in a given
context.