Skip to content

CI is flaky after test modernization #747

Closed as not planned
Closed as not planned

Description

@amotl

Problem

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.

Image

References

Activity

  1. changed the title [-]Test flakyness after modernization[/-] [+]CI is flaky after test modernization[/+] on Dec 9, 2025
  2. surister commented on Dec 10, 2025

    @surister
    Contributor

    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.

  3. amotl commented on Dec 10, 2025

    @amotl
    ContributorAuthor

    Yes I agree. I hadn't seen the test_additional_settings fluke yet, but the invalid_host vs. even_more_invalid_host error 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?

  4. amotl commented on Dec 10, 2025

    @amotl
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions