diff --git a/jenkins/L0_MergeRequest.groovy b/jenkins/L0_MergeRequest.groovy index 86325b7131..7d197062c9 100644 --- a/jenkins/L0_MergeRequest.groovy +++ b/jenkins/L0_MergeRequest.groovy @@ -98,6 +98,8 @@ def ONLY_PYTORCH_FILE_CHANGED = "only_pytorch_file_changed" def AUTO_TRIGGER_TAG_LIST = "auto_trigger_tag_list" @Field def DEBUG_MODE = "debug" +@Field +def DETAILED_LOG = "detailed_log" def testFilter = [ (REUSE_STAGE_LIST): trimForStageList(gitlabParamsFromBot.get(REUSE_STAGE_LIST, null)?.tokenize(',')), @@ -114,6 +116,7 @@ def testFilter = [ (ONLY_PYTORCH_FILE_CHANGED): false, (DEBUG_MODE): gitlabParamsFromBot.get(DEBUG_MODE, false), (AUTO_TRIGGER_TAG_LIST): [], + (DETAILED_LOG): gitlabParamsFromBot.get(DETAILED_LOG, false), ] String reuseBuild = gitlabParamsFromBot.get('reuse_build', null) diff --git a/jenkins/L0_Test.groovy b/jenkins/L0_Test.groovy index 8fc738e598..4e2a466835 100644 --- a/jenkins/L0_Test.groovy +++ b/jenkins/L0_Test.groovy @@ -242,6 +242,8 @@ def AUTO_TRIGGER_TAG_LIST = "auto_trigger_tag_list" @Field def DEBUG_MODE = "debug" @Field +def DETAILED_LOG = "detailed_log" +@Field def testFilter = [ (REUSE_STAGE_LIST): null, (ENABLE_SKIP_TEST): false, @@ -257,6 +259,7 @@ def testFilter = [ (ONLY_PYTORCH_FILE_CHANGED): false, (DEBUG_MODE): false, (AUTO_TRIGGER_TAG_LIST): [], + (DETAILED_LOG): false, ] @Field @@ -1013,6 +1016,7 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO extraInternalEnv, "pytest", "-v", + testFilter[(DETAILED_LOG)] ? "-s" : "", "--apply-test-list-correction", "--splitting-algorithm least_duration", "--timeout=${pytestTestTimeout}",