Add UCX-Py testing - #7412
Conversation
|
@petro-rudenko could you help me validate I'm not missing anything? |
|
Can one of the admins verify this patch? |
|
Thanks for doing this ! |
| - stage: ucx-py | ||
| dependsOn: [Static_check] | ||
| jobs: | ||
| - template: ucx-py/ucx-py-test.yml |
There was a problem hiding this comment.
we should use "python" naming in the context of UCX python bindings (not "ucx-py")
it would be consistent with "java" and "go"
There was a problem hiding this comment.
But java bindings are named jucx: https://github.com/openucx/ucx/tree/master/buildlib/jucx . I can rename that if you prefer, it's just that ucx-py is the package name we use currently.
There was a problem hiding this comment.
I prefer to use this opportunity to rename it to "python", as it becomes part of UCX, also to avoid confusion with the already existing ucx-py project. Re java - moving forward may we will rename it as well, but will be good to start with consistent naming for all bindings.
There was a problem hiding this comment.
Ok, for now I renamed the directory/files to python in 41155ea, but the package will continue to be named ucx-py, we will need to discuss how to better address renaming the package.
There was a problem hiding this comment.
let's also rename lines 180, 183, 188 and other places from "ucx-py" to python , and just keep the package name "ucx-py"
| source buildlib/az-helpers.sh | ||
| az_init_modules | ||
| try_load_cuda_env | ||
| set -eE |
There was a problem hiding this comment.
I don't know, we can try, but this was copied from jucx that does it in that order:
ucx/buildlib/jucx/jucx-test.yml
Lines 45 to 57 in e0bb58f
| source buildlib/az-helpers.sh | ||
| az_init_modules | ||
| try_load_cuda_env | ||
| set -eE |
yosefe
left a comment
There was a problem hiding this comment.
overall LGTM, besides
- pipeline does not really run - need to check why
- "ucx-py" -> "python" in several places
- "set -xeE" once in several places
|
What should be the module names for commits here, AZP or something else? |
|
4833cd8 to
b2e708d
Compare
|
Hmm, I'm not sure why codestyle commit title is still failing, is it because of the merge commit? Do I need to get rid of it as well? |
4f1dec9 to
d324b84
Compare
It's probably because of missing semicolon in 76e6b75 |
|
BTW, better squash all those to single commit now (since needed to force push anyway in order to fix commit titles) |
27f8b33 to
cfa3e50
Compare
cfa3e50 to
cc62bb9
Compare
|
There we go, nothing that half an hour fighting git rebase won't do... |
|
The Python test seems to point out to be failing because it's missing |
Do we have an example of how to do that somewhere? I thought https://github.com/openucx/ucx/pull/7412/files#diff-a467360eb428ca6bcb03d8b3b0f3f0d7f10aa1a9a1c11f23d55bffdb9a5be05fR187 should be doing that, no? |
Or perhaps I have to do it in the job yaml file too, as in Line 41 in 0d1e317 |
Yes |
|
It seems now we're running into different errors, seemingly it can't reach the docker image server: Perhaps some network instability? |
@avildema WDYT? |
No , It's error in pipeline, Need to set correct tag for docker |
| image: rdmz-harbor.rdmz.labs.mlnx/ucx/fedora34:2 | ||
| options: -v /hpc/local:/hpc/local -v /auto/sw_tools:/auto/sw_tools | ||
| - container: conda | ||
| image: rdmz-harbor.rdmz.labs.mlnx/ucx/conda |
There was a problem hiding this comment.
please set correct tag for docker
There was a problem hiding this comment.
What's the correct tag here? I don't set it anywhere and believe this is done when building the Docker container, I don't know where that's handled but it doesn't seem to be from the UCX code repo.
There was a problem hiding this comment.
you should build and push docker to hardor , when you push docker you set tag for your image
There was a problem hiding this comment.
I don't think I have access to that network. Could someone from your team please do it?
There was a problem hiding this comment.
@avildema can you pls assist with pushing the docker image to harbor?
There was a problem hiding this comment.
Actually, it seems that network is indeed reachable from part of the network I'm connected to. I don't have access to the machine nevertheless, so if you prefer we can sync on how I can get access to it so I can build the image.
| - template: python/python-test.yml | ||
| parameters: | ||
| name: new | ||
| demands: ucx_new -equals yes |
There was a problem hiding this comment.
make sure that docker installed for new host
There was a problem hiding this comment.
I also don't know who should handle this.
| demands: ucx_new -equals yes | ||
| container: conda | ||
| - template: python/python-test.yml | ||
| parameters: | ||
| name: gpu | ||
| demands: ucx_gpu -equals yes | ||
| container: conda |
There was a problem hiding this comment.
@pentschev for this PR, please run only with this:
demands: ucx_docker -equals yes
otherwise, you would either run on a machine that does not run a docker daemon (ucx_new) or on a machine that already runs ucx bare-metal (ucx_gpu). Currently , until we fix the issue, running a docker test on the same machine as the bare metal test will cause some bare metal tests to fail because of using the temporary docker bridge interface.
There was a problem hiding this comment.
I'll update it. Does ucx_docker have GPU(s)?
There was a problem hiding this comment.
unfortunately no, but should still be able to run ucx-py right?
let's add gpu dimension in next or after fixing the above issue
There was a problem hiding this comment.
Barely, I think, I don't recall us every running on non-GPU machines.. Our main focus is indeed GPUs, so for a first pass it's ok, but we really need GPU support for any reasonable UCX-Py coverage.
|
@pentschev FYI now that we merged #7212, we are running CI GPU tests in docker containers; and issue #7412 (comment) is fixed by #7873 |
|
Thanks @yosefe for the ping. I'll be out next week but will follow-up here on the week after. |
|
Hi @pentschev - we're cleaning up the UCX PR backlog and plan to close this PR in 7 days. Please let us know if you'd like to keep it open. |

What
Add recipe to run UCX-Py tests.
Why ?
We intend to completely upstream UCX-Py to the mainline UCX repository over the next few months. By beginning to test it here, we can ensure a smooth transition.