Skip to content

Commit a2b31a9

Browse files
authored
Add "--timeout=900" to builders to avoid hanging tests from causing testing to hang. (#439)
1 parent 77d1a1d commit a2b31a9

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"-DLLVM_INCLUDE_EXAMPLES=OFF",
121121
"-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-scei-ps4",
122122
"-DLLVM_ENABLE_ASSERTIONS=ON",
123-
"-DLLVM_LIT_ARGS=--verbose -j100",
123+
"-DLLVM_LIT_ARGS=--verbose -j100 --timeout=900",
124124
"-DLLVM_TARGETS_TO_BUILD=X86",
125125
"-DLLVM_USE_LINKER=gold"])},
126126

@@ -142,7 +142,7 @@
142142
"-DLLVM_INCLUDE_EXAMPLES=OFF",
143143
"-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-sie-ps5",
144144
"-DLLVM_ENABLE_ASSERTIONS=ON",
145-
"-DLLVM_LIT_ARGS=--verbose -j100",
145+
"-DLLVM_LIT_ARGS=--verbose -j100 --timeout=900",
146146
"-DLLVM_TARGETS_TO_BUILD=X86",
147147
"-DLLVM_USE_LINKER=gold"])},
148148

@@ -977,7 +977,7 @@
977977
"-DLLVM_VERSION_SUFFIX=",
978978
"-DLLVM_BUILD_RUNTIME=OFF",
979979
"-DLLVM_ENABLE_ASSERTIONS=ON",
980-
"-DLLVM_LIT_ARGS=--verbose"])},
980+
"-DLLVM_LIT_ARGS=--verbose --timeout=900"])},
981981

982982
{'name': "cross-project-tests-sie-ubuntu",
983983
'tags' : ["clang", "llvm", "lldb", "cross-project-tests"],
@@ -994,7 +994,7 @@
994994
"-DLLDB_ENABLE_PYTHON=TRUE",
995995
"-DLLVM_INCLUDE_EXAMPLES=OFF",
996996
"-DLLVM_ENABLE_ASSERTIONS=ON",
997-
"-DLLVM_LIT_ARGS=--verbose",
997+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
998998
"-DLLVM_PARALLEL_LINK_JOBS=8",
999999
"-DLLVM_TARGETS_TO_BUILD=X86",
10001000
"-DLLVM_USE_LINKER=gold"])},
@@ -1014,7 +1014,7 @@
10141014
"-DLLDB_ENABLE_PYTHON=TRUE",
10151015
"-DLLVM_INCLUDE_EXAMPLES=OFF",
10161016
"-DLLVM_ENABLE_ASSERTIONS=ON",
1017-
"-DLLVM_LIT_ARGS=--verbose",
1017+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
10181018
"-DLLVM_PARALLEL_LINK_JOBS=8",
10191019
"-DLLVM_TARGETS_TO_BUILD=X86",
10201020
"-DLLVM_USE_LINKER=gold"])},
@@ -1034,7 +1034,7 @@
10341034
"-DLLVM_BUILD_TESTS=ON",
10351035
"-DLLVM_ENABLE_ASSERTIONS=ON",
10361036
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1037-
"-DLLVM_LIT_ARGS=--verbose",
1037+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
10381038
"-DLLVM_USE_LINKER=gold"])},
10391039

10401040
{'name': "clang-x86_64-linux-abi-test",
@@ -1052,7 +1052,7 @@
10521052
"-DLLVM_BUILD_TESTS=ON",
10531053
"-DLLVM_ENABLE_ASSERTIONS=ON",
10541054
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1055-
"-DLLVM_LIT_ARGS=--verbose",
1055+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
10561056
"-DLLVM_USE_LINKER=gold",
10571057
"-DLLVM_ENABLE_WERROR=OFF"])},
10581058

@@ -1072,7 +1072,7 @@
10721072
"-DLLVM_ENABLE_ASSERTIONS=ON",
10731073
"-DLLVM_EXPERIMENTAL_KEY_INSTRUCTIONS=ON",
10741074
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1075-
"-DLLVM_LIT_ARGS=--verbose",
1075+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
10761076
"-DLLVM_USE_LINKER=gold"])},
10771077

10781078
{'name': "llvm-clang-x86_64-darwin",
@@ -1090,7 +1090,7 @@
10901090
"-DLLVM_CCACHE_BUILD=ON",
10911091
"-DLLVM_ENABLE_ASSERTIONS=ON",
10921092
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1093-
"-DLLVM_LIT_ARGS=--verbose",
1093+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
10941094
"-DLLVM_TARGETS_TO_BUILD=X86"])},
10951095

10961096
{'name': "llvm-clang-aarch64-darwin",
@@ -1108,7 +1108,7 @@
11081108
"-DLLVM_CCACHE_BUILD=ON",
11091109
"-DLLVM_ENABLE_ASSERTIONS=ON",
11101110
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1111-
"-DLLVM_LIT_ARGS=--verbose",
1111+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
11121112
"-DLLVM_TARGETS_TO_BUILD=AArch64"])},
11131113

11141114
{'name': "llvm-clang-x86_64-gcc-ubuntu-no-asserts",
@@ -1126,7 +1126,7 @@
11261126
"-DLLVM_BUILD_TESTS=ON",
11271127
"-DLLVM_ENABLE_ASSERTIONS=OFF",
11281128
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1129-
"-DLLVM_LIT_ARGS=--verbose",
1129+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
11301130
"-DLLVM_USE_LINKER=gold"])},
11311131

11321132
# Polly builders.

buildbot/osuosl/master/config/release_builders.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
"-DLLVM_VERSION_SUFFIX=",
278278
"-DLLVM_BUILD_RUNTIME=OFF",
279279
"-DLLVM_ENABLE_ASSERTIONS=ON",
280-
"-DLLVM_LIT_ARGS=--verbose"])},
280+
"-DLLVM_LIT_ARGS=--verbose --timeout=900"])},
281281

282282
{'name': "llvm-clang-x86_64-gcc-ubuntu-release",
283283
'tags' : ["llvm", "clang", "clang-tools-extra", "compiler-rt", "lld", "cross-project-tests"],
@@ -294,7 +294,7 @@
294294
"-DLLVM_BUILD_TESTS=ON",
295295
"-DLLVM_ENABLE_ASSERTIONS=ON",
296296
"-DLLVM_INCLUDE_EXAMPLES=OFF",
297-
"-DLLVM_LIT_ARGS=--verbose",
297+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
298298
"-DLLVM_USE_LINKER=gold"])},
299299

300300
{'name': "llvm-clang-aarch64-darwin-release",
@@ -312,7 +312,7 @@
312312
"-DLLVM_CCACHE_BUILD=ON",
313313
"-DLLVM_ENABLE_ASSERTIONS=ON",
314314
"-DLLVM_INCLUDE_EXAMPLES=OFF",
315-
"-DLLVM_LIT_ARGS=--verbose",
315+
"-DLLVM_LIT_ARGS=--verbose --timeout=900",
316316
"-DLLVM_TARGETS_TO_BUILD=AArch64"])},
317317

318318
]

0 commit comments

Comments
 (0)