You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After modernizing the test suite, we are seeing some flukes. That's normal. It will probably need a few adjustment cycles or other proceedings to get it stable again.
I don't think it's related, I have seen in the past these flaky errors where the test layer errors because the array result might have a different order.
See flaky errors before test modernization in nightly - main:
Additionally, the test_layer is was not modified in the PR, the only difference is that tests are now being run with pytest instead of zope test runner, my hypothesis is that either:
The tests are not correctly written to take into account the driver's multi-threading behavior.
There is a subtle bug in the multi-threading part of the code.
Having the right result but different order in multi-threading python code is common imo.
In this case, the test case modernizations made the error more apparent, probably by introducing different timings. Do you see a chance to fix it positively?
Activity
[-]Test flakyness after modernization[/-][+]CI is flaky after test modernization[/+]surister commentedon Dec 10, 2025
I don't think it's related, I have seen in the past these flaky errors where the test layer errors because the array result might have a different order.
See flaky errors before test modernization in nightly - main:
Additionally, the test_layer is was not modified in the PR, the only difference is that tests are now being run with pytest instead of zope test runner, my hypothesis is that either:
Having the right result but different order in multi-threading python code is common imo.
amotl commentedon Dec 10, 2025
Yes I agree. I hadn't seen the
test_additional_settingsfluke yet, but theinvalid_hostvs.even_more_invalid_hosterror is a known fluke:In this case, the test case modernizations made the error more apparent, probably by introducing different timings. Do you see a chance to fix it positively?
amotl commentedon Dec 10, 2025
I've re-opened GH-404, and transferred the gist of your evaluation, thanks! In this spirit, I think it's fine to close this issue again.