Skip to content

Poorly managed shutdown of distributed and/or sqlite #12312

@crusaderky

Description

@crusaderky

The test suite issues a bunch of PytestUnraisableExceptionWarning on the tests that operate with the distributed scheduler and/or with sqlite3, mentioning an improperly shut down service.

Unsure if this is just a test-specific issue or if it highlights a genuine race condition in the shutdown sequence of dask.distributed.
Either way, they should be looked into and cleaned up.

The warnings are currently suppressed by

dask/pyproject.toml

Lines 176 to 178 in e0529bb

# FIXME spurious shutdown of distributed workers and/or sqlite3
"module:Exception ignored:pytest.PytestUnraisableExceptionWarning::",
"module:unclosed database in <sqlite3.Connection:ResourceWarning::",

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds a response from a contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions