-
Notifications
You must be signed in to change notification settings - Fork 45
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
Update cvc5 to 1.0.8 #332
Update cvc5 to 1.0.8 #332
Conversation
Hi @CyanoKobalamyne , Thanks for doing this, it looks great! Also, in case this indeed solves #328 , can you mention this in the PR description? This way the issue will be closed automatically. |
b49c9b3
to
d29b26e
Compare
I think I fixed that particular error, but now there seem to be other ones that I don't quite understand. Why do the jobs get canceled? Is there some sort of timeout or memory limit? |
Weird - I don't know why they are getting cancelled. Something in the configuration? |
Ah, it looks like, by default, if one job fails, all others get cancelled: https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#handling-failures |
Right, but once you push a fix to your branch, all jobs should restart
running.
…On Friday, October 6, 2023, Áron Ricardo Perez-Lopez < ***@***.***> wrote:
Ah, it looks like, by default, if one job fails, all others get cancelled:
https://docs.github.com/en/actions/using-jobs/using-a-
matrix-for-your-jobs#handling-failures
—
Reply to this email directly, view it on GitHub
<#332 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAKGRB3QBXYCCSUOF4M3ELX554UBAVCNFSM6AAAAAA5TLF6U2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHE2DCMBWHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
585ed0d
to
8fe0d4a
Compare
864a81a
to
2038490
Compare
Weird, the one failing test, |
Do you have the same configuration as the test?
https://github.com/stanford-centaur/smt-switch/actions/runs/6437096065/job/17481656787?pr=332#step:9:1
Also -- I see that it fails on ubuntu (and then the macOS one does not run
as a consequence).
If the configuration is the same and you still can't reproduce, perhaps you
can try running it on ubuntu?
And specifically regarding the printing solver test:
it relies on the location of the cvc5 binary:
https://github.com/stanford-centaur/smt-switch/blob/f2d7d3d6dfccc0b4d6b604563acd34629bac884d/tests/cvc5/cvc5-printing.cpp#L68
Maybe this has changed in this PR?
…On Sat, Oct 7, 2023 at 2:11 AM Áron Ricardo Perez-Lopez < ***@***.***> wrote:
Weird, the one failing test, cvc5-printing_test passes locally on my
machine.
—
Reply to this email directly, view it on GitHub
<#332 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAKGRDDHUPACJBH7EMPOTDX6CF2VAVCNFSM6AAAAAA5TLF6U2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGQ4DSNJZGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Another possibly useful pointer: These are scripts that are used in CI. |
I reran all the steps of the CI script in an Ubuntu 22.04 container, and they all passed... I'll try to rerun the checks here, to see if this was some sort of transient issue. |
5e08c3d
to
2958f3d
Compare
Sorry, it turns out that I was using the wrong commit. I have successfully reproduced the issue on Ubuntu 22.04. |
The mystery about the error not appearing on my machine is solved: I was compiling smt-switch with assertions disabled. The failure in the test is an assertion on the expected output (called from smt-switch/tests/cvc5/cvc5-printing.cpp Line 78 in f2d7d3d
The string given here as the expected output is in fact not the output from cvc5 1.0.8 for the same input. The second line, which is the output for |
Do you mean with
I think it is perfectly reasonable that one version of cvc5 gives one unsat core while another gives another unsat core, since unsat cores are not unique. So I think a good solution would be just to fix the test to expect |
It seems that the change causing the different output was introduced in cvc5/cvc5@7b8fb6675. After that commit, the arithmetic static learner gets disabled when unsat cores are enabled, and unsat cores are implicitly enabled by the The end result is technically correct, because the list of assumptions is not required to be minimal by the SMT-LIB standard, but since Is this something we would file a bug against (As an aside, I think that the way this test is currently written is brittle, and doesn't really just test our code, but is sensitive to changes in cvc5 too. Although it did enable us to discover this regression.) |
Sorry, I only saw your reply after I had already written mine, but this is essentially what I was trying to say in the last paragraph.
Okay, so does this mean that we shouldn't bother the cvc5 folks with asking them to "fix" this? |
Thanks for the fix! I see the regressions now pass and I'll review it. |
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.
Looks great, and thanks a lot for doing this.
BTW, just wondering: Why did the include
paths changed from api/cpp/...
to cvc5/...
?
I forgot the reason but we had a discussion with Aina and Mathias and decided this was a better organization of the header files. |
Fixes #328.