-
Notifications
You must be signed in to change notification settings - Fork 159
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
BUG: Use of constant in tests/slate/test_hdg_poisson.py::test_hdg_convergence
causes errors
#3802
Comments
Can you share the current "fix" for this so it's clear where I need to look? |
This line firedrake/tests/slate/test_hdg_poisson.py Line 53 in 6cc4ff8
wants to be a function in Real, I suspect. My guess would be |
The fix was in this commit: 911b0ad |
I think it's very likely to be an issue with out-of-sync ranks. We also do some renumbering tricks in PyOP2 so the problem isn't necessarily from UFL. I will investigate. |
Fixed in #3808. We were hardcoding constant names in SLATE (which I wrote some time ago). |
Describe the bug
There is something strange happening in the
tests/slate/test_hdg_poisson.py::test_hdg_convergence
test if run in parallel, but not in the "default pytest order". This is seen in the test suite cleanup PR #3385 when usingpytest-split
:https://github.com/firedrakeproject/firedrake/actions/runs/11355091421/job/31583739399?pr=3385
This error goes away if a function in the real space is used
Steps to Reproduce
Steps to reproduce the behavior:
This is quite difficult you have to run
With
???
replaced with 1 to 4 and one of the runs should fail. Reproducing the error locally has proven tricky though.Expected behavior
This test should pass with a
Constant
it seems something in some part of the test suite is throwing off the numbering 😕Error message
https://github.com/firedrakeproject/firedrake/actions/runs/11355091421/job/31583739399?pr=3385
Environment:
Additional Info
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: