-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[tests][dask] Use workers hostname in tests (fixes #4594) #4595
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent, thanks for the explanation and quick fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks a lot for the prompt fix!
Closing-reopening because simple rerun doesn't help with QEMU timeout error. |
One more time. |
After multiple close-and-reopens with the QEMU builds still timing out, I think we need to merge #4600 before this one. |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Fixes #4594.
Since the dask tests run on a
LocalCluster
we used127.0.0.1
as the host for the workers, however something seems to have changed and on my machine (ubuntu) now the scheduler gets127.0.0.1
and the workers get192.168.100.4
and in the QEMU build they're getting172.17.0.2
. This PR extracts the hostname from the worker addresses to run the tests that require using the workers' addresses.