Skip to content

Celery export_data tasks do not return when aborted #7505

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

Closed
giancarloromeo opened this issue Apr 10, 2025 · 0 comments · Fixed by #7514
Closed

Celery export_data tasks do not return when aborted #7505

giancarloromeo opened this issue Apr 10, 2025 · 0 comments · Fixed by #7514
Assignees
Labels
bug buggy, it does not work as expected
Milestone

Comments

@giancarloromeo
Copy link
Contributor

giancarloromeo commented Apr 10, 2025

Current Behavior

Celery export_data tasks do not return when aborted.

Expected Behavior

Task should finish instead of running until the end.

Steps To Reproduce

Setup

  • Set WEBSERVER_DEV_FEATURES_ENABLED=1 and then run the stack locally (make up-prod)
  • Click on a Study an go to the Study files...
  • Click on multiselect and select at least 2 files you will see the download window (if you are running your stack in the office you will not be able to download the file, but if you look at the logs of sto-worker-cpu-bound you will see something like master-simcore_sto-worker-cpu-bound.1.dr6tba9imge3@neagu-wkst | [2025-04-10 08:52:57,051: INFO/MainProcess] Task export_data[osparc:1:01889f5b-6bc1-4cf1-91e1-6d4aec89e71e] succeeded in 0.15236935392022133s: 'exports/1/afad1bcb-45ff-49be-8bc7-352e535e98a6.zip')

Error part

  • Create some files files a folder that are at least 1 GB
  • Try to multiselect that folder and download it
  • After a second click cancel in the UI you will notice that it stays there stuck with no further progress
@giancarloromeo giancarloromeo added the bug buggy, it does not work as expected label Apr 10, 2025
@giancarloromeo giancarloromeo added this to the Pauwel Kwak milestone Apr 10, 2025
@giancarloromeo giancarloromeo changed the title Celery workers hang when receiving a task abort request Celery export_data tasks do not return when aborted Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug buggy, it does not work as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants