-
Notifications
You must be signed in to change notification settings - Fork 6
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
Parallel Ribasim core tests fail non-deterministically on MacOS #825
Comments
Perhaps it is unrelated to parallel after all, since there are also random failures now that we switched to sequential. Or perhaps both issues occur. Seen locally (now updated to 4.0, see #827):
But after changing this, on CI we get the opposite https://github.com/Deltares/Ribasim/actions/runs/6982110719/job/19000606007?pr=827#step:9:444
A different issue, on main CI, also non-deterministic: https://github.com/Deltares/Ribasim/actions/runs/6981404082/job/18998462984?pr=823#step:9:540
|
In 8ef0361 I temporarily workaround / disable these two tests, and re-enable parallel tests, to get CI functional. Proper fixes in #828 (comment) |
Here is one non-deterministic issue that still happens sometimes, that is related to the switch to ReTestItems: https://github.com/Deltares/Ribasim/actions/runs/6983243135/job/19004024801#step:9:443
This looks like it could be a ReTestItems issue, if it does parallel mkdir and the folder name is "/var/folders/3s", that looks like a recipe for race conditions. |
Until we have time to look into #825, I feel like it is better to just disable MacOS for core CI. With Linux and Windows we still have decent OS coverage.
As discussed with @visr we keep it open for now, I will put it back into "To do" |
Can not fix because we couldn't find a solution |
Only this failure remains: #825 (comment)
Specifically@testitem "Allocation solve"
and@testitem "Expand logic_mapping"
. They pass when running the tests sequentially (runtests(Ribasim)
inruntests.jl
) but sometimes fail when running the tests in parallel(
runtests(Ribasim; nworkers = min(4, Sys.CPU_THREADS ÷ 2), nworker_threads = 2)
inruntests.jl
).https://docs.juliahub.com/General/ReTestItems/stable/autodocs/#ReTestItems.runtests
The text was updated successfully, but these errors were encountered: