Skip to content
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

OSCAR regression in homological-algebra_test.jl #627

Closed
fingolfin opened this issue Mar 20, 2023 · 6 comments
Closed

OSCAR regression in homological-algebra_test.jl #627

fingolfin opened this issue Mar 20, 2023 · 6 comments
Assignees
Labels

Comments

@fingolfin
Copy link
Member

Since the update for Singular_jll and libsingular_julia_jll updates from PR #625, the OscarCI tests reported a failure. Earlier today I couldn't reproduce this locally, but now I realized that this was because I'd run the wrong test.

So here is how to reproduce it in a Julia env where I dev'ed both Oscar and Singular:

julia> using Oscar
[...]

julia> pkgversion(Oscar.Singular.Singular_jll)
v"403.201.0+0"

julia> R, (x, y, z) = polynomial_ring(QQ, ["x", "y", "z"]);

julia> F = free_module(R, 1);

julia> I = ideal(R, [x*z-z, x*y-y, x])
ideal(x*z - z, x*y - y, x)

julia> depth(I, F)
-1

The Oscar.jl test suite expects that last command to return 3 instead (specifically, the test in test/Modules/homological-algebra_test.jl, line 67ff).

Note that depth(I,F) ultimately calls Singular.LibHomolog.depth. I noticed that homolog.lib was last changed this February, and in general a bunch of changes were applied to depth since the last time we update Singular_jll.

@thofma
Copy link
Collaborator

thofma commented Mar 21, 2023

Great, so it was not me.

@thofma
Copy link
Collaborator

thofma commented Mar 21, 2023

Would also be great to hear from @hannes14 which test showed green indicating that this would not break Oscar before merging. Then we can fix it and make sure that it does not happen again.

@fingolfin
Copy link
Member Author

fingolfin commented Mar 21, 2023

The OscarCI tests for "matching" showed red. But we could not reproduce it locally, so we decided to move forward as we did not make a release yet. If we can't resolve it today, we'll revert master

@fingolfin
Copy link
Member Author

(I take full responsibility)

@fingolfin
Copy link
Member Author

I've reverted the changes on master for now, to unbreak OscarCI tests elsewhere, and will re-submit the changes in it in a fresh PR.

@thofma
Copy link
Collaborator

thofma commented Mar 21, 2023

Thanks for the explanation. I think reverting is the right thing to do for now. It was blocking also all downstream tests in AbstractAlgebra, Nemo, Hecke etc. This is how I noticed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants