-
Notifications
You must be signed in to change notification settings - Fork 59
Fix DaskWorker and add GitHub Actions workflow for Dask tests #686
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
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #686 +/- ##
==========================================
- Coverage 82.88% 82.79% -0.10%
==========================================
Files 22 22
Lines 4845 4848 +3
Branches 1391 0 -1391
==========================================
- Hits 4016 4014 -2
- Misses 825 834 +9
+ Partials 4 0 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
YAML gotcha 3.10 -> 3.1, versions should be quoted.
for more information, see https://pre-commit.ci
- Add concurrency group - Add permissions - Bump actions/setup-python to v4 - Add OS (Ubuntu and macOS) to test matrix - Streamline job steps for testing
@adi611 @djarecka Interesting, It looks like testing fails on macOS regardless of the Python version. The tests succeed on Linux for Python 3.9, 3.10 and 3.11, though there are intermittent failures due to some tests running forever without triggering a timeout. This is quite concerning I think, as we probably don't want Pydra jobs to run indefinitely for unknown reasons. |
This test is very long to process. |
After more than an hour:
|
Should I add a commit updating GA workflow file to run the tests as two different jobs - one for |
On
On
Also for |
A first remark, the logs contain a lot of Which might indicate that we are not cleaning Dask resources properly during the tests. |
I was also wondering, have we got a test workflow not too trivial for Dask parallelization which we could exercise outside of |
More clues that there is probably something going on with Dask resources:
|
I re-run the tests for Python 3.10 on ubuntu-latest` and it failed this time, sadly. |
@adi611 - so is it exactly the same version that was running fine when each test file was running separately? In my case it doesn't change anything... I've tried to debug today on my osx but hasn't got too far yet..:( |
It is confusing to debug, since even for the same environment the results are inconsistent. |
…files (and perhaps some others)
I tried it on my local machine as well as on colab and no test fails! Thank you for the help! |
properly closing the dask Client
ok, great! I will merge this now. I think it runs much faster now and we can run more tests with the dask plugin, but we can do it in a separate pull request. |
Types of changes
Summary
Fixes the
DaskWorker
and add a GitHub Actions workflow file calledtestdask.yml
for Dask tests.Checklist