Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concurrent.futures._base.CancelledError #12972

Open
AleksandrLiadov opened this issue Feb 10, 2023 · 2 comments
Open

concurrent.futures._base.CancelledError #12972

AleksandrLiadov opened this issue Feb 10, 2023 · 2 comments

Comments

@AleksandrLiadov
Copy link

Hello,

When I try to run more than 20 flows (main flow has SequentialTaskRunner and subflow has DaskTaskRunner), I have this error:

concurrent.futures._base.CancelledError

Crash detected! Execution was interrupted by an unexpected exception: concurrent.futures._base.CancelledError: db2025eaentity_cluster-9-3788828d1ea4420095c2b1a477570787-1
Crash details:
Traceback (most recent call last):
  File "/opt/pysetup/.venv/lib/python3.8/site-packages/prefect_dask/task_runners.py", line 269, in wait
    return await future.result(timeout=timeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
    return fut.result()
  File "/opt/pysetup/.venv/lib/python3.8/site-packages/distributed/client.py", line 295, in _result
    raise exception
concurrent.futures._base.CancelledError: db2025eaentity_cluster-9-3788828d1ea4420095c2b1a477570787-1

Also it bugs UI, flow is in Completed State, but tasks are crashed.

Screenshot 2023-02-10 at 15 02 57

@zanieb
Copy link
Contributor

zanieb commented Mar 26, 2023

Hi @AleksandrLiadov please provide a minimal reproducible example so we can recreate this and investigate the cause.

@AleksandrLiadov
Copy link
Author

Hi @madkinsz . For now, I cannot provide a minimal reproducible example.
However this error is almost always mixed with one from this issue: #12977
So I hope, once you could resolve it, maybe this one'll disappear also.

@desertaxle desertaxle transferred this issue from PrefectHQ/prefect-dask Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants