Skip to content

Flaky test_adapt_quickly #5682

Closed
Closed

Description

@crusaderky

test_adapt_quickly occasionally hangs on Windows, and -to my knowledge- on Windows only.

e.g. https://github.com/dask/distributed/runs/4734418309?check_suite_focus=true

It hangs on pytest_timeout after 300s, which brings down the whole process without any useful stack trace, dump, or log, even if the test uses gen_test to get a much nicer failure after 30s. The only way, to my knowledge, that the gen_test timeout is being ignored is that something is going into an infinite loop without ever returning control to the asyncio event loop.

Activity

  1. added
    flaky test
    on Jan 21, 2022
  2. fjetter commented on Feb 17, 2022

    @fjetter
    Member

    No failures on the test report. Will close this for now

  3. crusaderky commented on Feb 20, 2022

    @crusaderky
    CollaboratorAuthor

    That's because when test_adapt_quickly hangs a junit report is not produced. See #5832

  4. crusaderky commented on Feb 21, 2022

    @crusaderky
    CollaboratorAuthor
  5. self-assigned this
    on Feb 21, 2022
  6. fjetter commented on Feb 24, 2022

    @fjetter
    Member

    FYI I suspect all tests that are using SpecCluster / LocalCluster are actually blocked by a race condition during cluster closing. I've been spending a bit of time today on this but couldn't fix it, yet. See also #4859 (comment)

  7. fjetter commented on Mar 23, 2022

    @fjetter
    Member

    Appears to be resolved

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

Metadata

Metadata

Assignees

Labels

flaky test

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions