Skip to content

Commit 31ba2a3

Browse files
[GreenDragon] Extend lit timeout for sanitizer bot (#460)
`fsanitizer.c` test from clang sometimes hits the individial tests timeout on ASAN + UBSAN bot. Increase the timeout for lit on the bot. Also prints slow tests time on all Darwin bots.
1 parent 5b77f35 commit 31ba2a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

zorg/jenkins/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def cmake_builder(target):
307307
cmake_cmd += ['-DCMAKE_CXX_COMPILER_LAUNCHER=' + conf.sccache_path]
308308

309309
timeout_flag = '--timeout=' + str(conf.timeout)
310-
lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '-vv', timeout_flag]
310+
lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '-vv', '--time-tests', timeout_flag]
311311
if conf.max_parallel_tests:
312312
lit_flags += ['-j', conf.max_parallel_tests]
313313
cmake_cmd += ['-DLLVM_LIT_ARGS={}'.format(' '.join(lit_flags))]
@@ -448,7 +448,7 @@ def clang_builder(target):
448448
'-DCMAKE_CXX_COMPILER=' + conf.CC() + "++"])
449449

450450
timeout_flag = '--timeout=' + str(conf.timeout)
451-
lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '-vv', timeout_flag]
451+
lit_flags = ['--xunit-xml-output=testresults.xunit.xml', '-v', '-vv', '--time-tests', timeout_flag]
452452

453453
if conf.max_parallel_tests:
454454
lit_flags += ['-j', conf.max_parallel_tests]

zorg/jenkins/jobs/jobs/clang-stage2-cmake-RgSan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pipeline {
103103
--projects="clang;clang-tools-extra" \
104104
--cmake-flag='-DLLVM_USE_SANITIZER=Address;Undefined' \
105105
--cmake-flag="-DLIBCXX_INCLUDE_TESTS=OFF" \
106-
--timeout=1800 \
106+
--timeout=2400 \
107107
--cmake-flag="-DPython3_EXECUTABLE=$(which python)"
108108
'''
109109
}

0 commit comments

Comments
 (0)