Skip to content

distributed/tests/test_scheduler.py::test_memory failing on main #5045

Closed

Description

@jacobtomlinson

I've noticed in many PRs and also on main that distributed/tests/test_scheduler.py::test_memory seems to be failing a lot.

It seems to mostly happen on Windows (all Pythons) and Ubuntu (Python 3.9).

https://github.com/dask/distributed/runs/3019390989
https://github.com/dask/distributed/pull/5036/checks?check_run_id=3014353435

Activity

  1. jrbourbeau commented on Jul 9, 2021

    @jrbourbeau
    Member

    Thanks for flagging this @jacobtomlinson -- I noticed this started happening a lot over the last couple of days. cc @crusaderky for visibility

  2. crusaderky commented on Jul 9, 2021

    @crusaderky
    Collaborator

    Indeed something changed in the workers on Windows.
    What the test used to observe before, and still does on Linux and MacOS, is that

    1. immediately after gen_cluster starts a test, there has been exactly 1 heartbeat for each worker (which conveys a reading of the process memory)
    2. the unmanaged memory of the worker doesn't significantly rise afterwards unless you do something to justify it, e.g. submit a large task.

    What I'm observing now, on Windows exclusively, is instead that

    1. most times (but not always), there have already been at least 2 heartbeats from each worker by the time the test decorated by gen_cluster starts running
    2. the unmanaged memory on the Nannies keeps rising on its own, by the tune of 100+ MiB, over the next few seconds

    It seems to mostly happen on Windows (all Pythons) and Ubuntu (Python 3.9).

    I never observed this on Ubuntu. Do you have a link?

  3. jacobtomlinson commented on Jul 9, 2021

    @jacobtomlinson
    MemberAuthor

    @crusaderky I was thinking of this suite which actually seems to be a different test. I must've misrememebred.

    https://github.com/dask/distributed/pull/5040/checks?check_run_id=3029452299

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

    flaky testIntermittent failures on CI.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions