Repository navigation
CI: Run the new and GPU jobs on new-01 only (test, do not merge) - #12194
Alexey-Rivkin wants to merge 2 commits into
Conversation
|
🤖 Starting review — findings will be posted here when done. |
| parameters: | ||
| name: gpu | ||
| demands: ucx_gpu -equals yes | ||
| demands: ucx_new01_test -equals yes |
There was a problem hiding this comment.
this lane runs centos7_cuda11 with --gpus all --device=/dev/gdrdrv, and the same applies to the other gpu lanes (384, 423, 455, 512, 541) — does the ucx_new01_test agent have a GPU? otherwise the gpu demand is lost and these jobs fail on check_gpu/docker device setup.
| parameters: | ||
| name: new | ||
| demands: ucx_new -equals yes | ||
| demands: ucx_new01_test -equals yes |
There was a problem hiding this comment.
after this change gpu and new demand the same capability, so each gpu/new pair (wire-compat, tests, namespace, go, asan) runs on the same host and no longer covers two different setups — is that intended?
| parameters: | ||
| name: gpu | ||
| demands: ucx_gpu -equals yes | ||
| demands: ucx_new01_test -equals yes |
There was a problem hiding this comment.
load_cuda_env() in buildlib/az-helpers.sh only fails on CUDA load error when the ucx_gpu capability is set; if this job lands on a host without it, missing CUDA becomes a warning and the gpu lane passes without CUDA coverage.
| parameters: | ||
| name: gpu | ||
| demands: ucx_gpu -equals yes | ||
| demands: ucx_new01_test -equals yes |
There was a problem hiding this comment.
minor: the jucx gpu job (line 438) still uses ucx_gpu and cuda/cuda_compatible.yml still uses ucx_gpu_test — pls say if leaving them out is deliberate.
|
is this a temporary pin to validate the new01 agent? if yes, pls mark the PR as DNM — merged as is, the whole PR pipeline (wire-compat, tests, EFA, namespace, go, asan, cuda) depends on a single agent label, so every PR stalls or fails when that one host is busy or offline. Validation gap: no CI evidence in the diff that the new label actually resolves to an agent with GPU + IB; per |
new-01 now has a GPU and is meant to serve both the ucx_new and the ucx_gpu jobs. Its agents carry a separate ucx_new01_test label, so this branch routes every ucx_new, ucx_gpu and ucx_gpu_test job of master to that one host to see how the combined load and the host-level CUDA detection affect the results. Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
try_load_cuda_env decides from the host state: any job on a host with the NVIDIA driver, nvidia_peermem and a GPU builds and tests with CUDA. A host that serves both CPU and GPU jobs therefore turns every CPU job into a duplicate GPU run - longer, and competing for the same GPU - while the GPU jobs still run separately. GPU jobs now set UCX_CI_GPU_JOB=yes (template name gpu / gpu_namespace, the same signal check_gpu uses), and on Azure try_load_cuda_env loads CUDA only for them. load_cuda_env fails a GPU job that cannot load CUDA instead of keying on the host's ucx_gpu label. Jenkins runs are not affected. Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
0dd9758 to
4ee1c3d
Compare
|
🤖 Starting review — findings will be posted here when done. |
| displayName: JUCX Test ${{ parameters.arch }} | ||
| ${{ if eq(parameters.name, 'gpu') }}: | ||
| variables: | ||
| UCX_CI_GPU_JOB: yes |
There was a problem hiding this comment.
the UCX_ prefix is parsed by UCX as a config variable, so every ucx_perftest/ucx_info/io_demo/jucx run in these jobs will print unused environment variable: UCX_CI_GPU_JOB. pls rename it outside the UCX_ namespace, e.g. CI_GPU_JOB (also in az-helpers.sh and the 3 other templates).
| have_gdrcopy=no | ||
|
|
||
| # Azure hosts serve CPU and GPU jobs, load CUDA only for GPU jobs | ||
| if [ "x$RUNNING_IN_AZURE" = "xyes" ] && [ "x$UCX_CI_GPU_JOB" != "xyes" ]; then |
There was a problem hiding this comment.
for CPU jobs this early return is intentional, but load_cuda_env will then always report Cuda device is not available as an Azure warning on those jobs (go new, jucx aarch64). can we skip that warning when UCX_CI_GPU_JOB != yes?
| try_load_cuda_env | ||
| if [ "${have_cuda}" == "no" ] ; then | ||
| if [ "${ucx_gpu}" = "yes" ] ; then | ||
| if [ "${UCX_CI_GPU_JOB}" = "yes" ] ; then |
There was a problem hiding this comment.
ucx_gpu: yes is still passed in the soname_suffix_cuda_ib job env (main.yml:531); pls remove or rename it so no stale flag is left behind.
| name: MLNX | ||
| demands: ${{ parameters.demands }} | ||
| displayName: ${{ parameters.name }} on worker | ||
| ${{ if eq(parameters.name, 'gpu_namespace') }}: |
There was a problem hiding this comment.
this keys CUDA loading on the job name in 4 templates (and the name differs here: gpu_namespace vs gpu), so renaming a job silently turns CUDA off instead of failing. why not pass an explicit template parameter, e.g. gpu_job: yes, from main.yml?
|
Residual coverage gaps: the non-GPU lanes ( |
|
🤖 CI Triage Agent — TL;DR: This is not a real test failure — the Azure DevOps agent on Full analysisSummary: The "AddressSanitizer new on worker 0" job for build 141303 was aborted by an agent shutdown/cancellation during Root cause: The log contains no test failure of any kind. Every gtest line up to the end reports
Critically, this is not a hang-induced wall-clock kill. Scanning timestamps across the whole retrieved window (19:47:43 → 19:48:17), the largest gap between consecutive lines is ~0.6 s ( Also note the branch name Implicated commit: unknown — commit [REDACTED:Hex High Entropy String] is not implicated; no code-level failure appears in the log. File: unknown — no source file is implicated. The last pipeline step touched is Suggested fix: Do not change the job timeout and do not chase a UCX bug from this log. Instead:
Related: none — searches for the agent-shutdown and cancellation signatures returned only unrelated open PRs (#12178, #11903, #12160, #11958, #11924, #12119), with no matching known issue.
|
What?
Test-only branch: run master's
ucx_newand GPU jobs together on swx-rdmz-ucx-new-01, with CUDA loaded only for GPU jobs. Do not merge.Why?
new-01 now has an RTX A6000 and should take GPU jobs to ease the GPU queue, while its
newjobs keep running as before. Todaytry_load_cuda_envdecides from the host state alone, so on a GPU host everynewjob builds and tests with CUDA too: duplicate GPU work and longernewjobs.How?
AZP: Load CUDA only for GPU jobs(candidate for a real PR): GPU jobs (template namegpu/gpu_namespace) setUCX_CI_GPU_JOB=yes. On Azure,try_load_cuda_envloads CUDA only for those jobs, andload_cuda_envfails a GPU job that can't load CUDA. Jenkins runs are unchanged.ucx_new,ucx_gpuanducx_gpu_testdemand becomesucx_new01_test, the label that only the new-01 agents carry.