From fbaa498e91f969019787e9a9dd8bdb34e0a506de Mon Sep 17 00:00:00 2001 From: Yanchao Lu Date: Mon, 29 Jun 2026 17:52:32 +0800 Subject: [PATCH] [None][ci] disable home mount for sbatch L0 tests Signed-off-by: Yanchao Lu --- jenkins/L0_Test.groovy | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/jenkins/L0_Test.groovy b/jenkins/L0_Test.groovy index 2bfd6f120f01..b3d6ffbc4e00 100644 --- a/jenkins/L0_Test.groovy +++ b/jenkins/L0_Test.groovy @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + @Library(['bloom-jenkins-shared-lib@main', 'trtllm-jenkins-shared-lib@main']) _ import java.lang.InterruptedException @@ -1100,6 +1116,8 @@ def getMountListForSlurmTest(SlurmCluster cluster, boolean useSbatch = false) throw new Exception("Unsupported container runtime: ${cluster.containerRuntime}") } + // TODO: Add mounts for different cache directories like pip, triton, etc. + return mounts } @@ -1372,6 +1390,7 @@ def runLLMTestlistWithSbatch(pipeline, platform, testList, config=VANILLA_CONFIG "--container-image=$containerImageArg", "--container-workdir=$jobWorkspace", "--container-mounts=$mounts", + "--no-container-mount-home", "--container-env=NVIDIA_IMEX_CHANNELS" ] envVarsToExport.each { varName, varValue ->