Commit b7170c3
committed
[JSC] detect infrastructure failure for remote stress tests
https://bugs.webkit.org/show_bug.cgi?id=222601
Reviewed by Yusuke Suzuki.
run-jsc-stress-tests currently detects failures by the absence of
a failure file (that is generated by each failing test). This is
fragile to begin with, as it assumes that tests that fail to run
(e.g. because of an error in the runner script) are successful by
default.
However, the main motivation for this patch is to make execution
more robust when using remote hosts. Currently,
--gnu-parallel-runner will transparently reschedule jobs on a
different host when a remote host goes away. But detectFailures
expects to be able to connect to all hosts and fetch the failure
files, which fails if a remote host is still down when the run
finishes.
Instead, this patch changes the runners to always generate a status
file with the exit code. detectFailures then fetches all status
files from all hosts that are live on exit. Tests that failed to
run are explicitly accounted for as 'noreport' and are set to
ERROR in the final report.
* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
* Scripts/run-jsc-stress-tests:
* Scripts/webkitruby/jsc-stress-test-writer-default.rb:
Canonical link: https://commits.webkit.org/236372@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275801 268f45cc-cd09-0410-ab3c-d52691b4dbfc1 parent 9ab223c commit b7170c3
4 files changed
Lines changed: 200 additions & 59 deletions
File tree
- Tools
- Scripts
- webkitruby
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
1 | 33 | | |
2 | 34 | | |
3 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
935 | 945 | | |
936 | 946 | | |
937 | | - | |
| 947 | + | |
| 948 | + | |
938 | 949 | | |
939 | 950 | | |
940 | 951 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
535 | 539 | | |
536 | 540 | | |
537 | 541 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| |||
1821 | 1822 | | |
1822 | 1823 | | |
1823 | 1824 | | |
1824 | | - | |
1825 | 1825 | | |
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
1829 | 1829 | | |
1830 | 1830 | | |
1831 | 1831 | | |
1832 | | - | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
1833 | 1839 | | |
1834 | 1840 | | |
1835 | 1841 | | |
| |||
2037 | 2043 | | |
2038 | 2044 | | |
2039 | 2045 | | |
2040 | | - | |
| 2046 | + | |
2041 | 2047 | | |
2042 | 2048 | | |
2043 | 2049 | | |
| |||
2050 | 2056 | | |
2051 | 2057 | | |
2052 | 2058 | | |
2053 | | - | |
| 2059 | + | |
2054 | 2060 | | |
2055 | 2061 | | |
2056 | 2062 | | |
| |||
2205 | 2211 | | |
2206 | 2212 | | |
2207 | 2213 | | |
2208 | | - | |
2209 | | - | |
2210 | | - | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
2211 | 2217 | | |
2212 | 2218 | | |
2213 | 2219 | | |
2214 | | - | |
| 2220 | + | |
2215 | 2221 | | |
2216 | 2222 | | |
2217 | | - | |
2218 | | - | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
2219 | 2264 | | |
2220 | 2265 | | |
2221 | 2266 | | |
2222 | 2267 | | |
2223 | 2268 | | |
2224 | | - | |
2225 | | - | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2226 | 2279 | | |
2227 | 2280 | | |
| 2281 | + | |
| 2282 | + | |
2228 | 2283 | | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
2232 | | - | |
2233 | | - | |
2234 | | - | |
2235 | | - | |
2236 | | - | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
2237 | 2288 | | |
| 2289 | + | |
2238 | 2290 | | |
2239 | 2291 | | |
2240 | 2292 | | |
2241 | 2293 | | |
2242 | 2294 | | |
2243 | | - | |
2244 | | - | |
2245 | | - | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
2246 | 2298 | | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
2247 | 2304 | | |
2248 | | - | |
2249 | | - | |
| 2305 | + | |
| 2306 | + | |
2250 | 2307 | | |
2251 | | - | |
| 2308 | + | |
| 2309 | + | |
2252 | 2310 | | |
2253 | 2311 | | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2254 | 2318 | | |
2255 | 2319 | | |
2256 | 2320 | | |
| |||
2261 | 2325 | | |
2262 | 2326 | | |
2263 | 2327 | | |
2264 | | - | |
| 2328 | + | |
2265 | 2329 | | |
2266 | 2330 | | |
2267 | 2331 | | |
| |||
2299 | 2363 | | |
2300 | 2364 | | |
2301 | 2365 | | |
| 2366 | + | |
2302 | 2367 | | |
2303 | 2368 | | |
2304 | 2369 | | |
| |||
0 commit comments