Commit 1210ef6
build: Split ubuntu-debug into separate build and test jobs (facebookincubator#16938)
Summary:
This PR makes two improvements to the Linux CI workflow:
### 1. Split BUILD/TEST status jobs for failure attribution
Split CI job failures into clearly labeled **BUILD** and **TEST** status jobs across all Linux CI workflows, so contributors immediately know what failed from the GitHub Actions UI.
Each job (adapters, ubuntu-debug, fedora-debug) now:
1. Tags build/test steps with `id: build` / `id: tests`
2. Uses `continue-on-error: true` on test steps so the job always completes
3. Exports `build-outcome` and `test-outcome` via job outputs
4. Has lightweight status jobs (`BUILD:` / `TEST:` prefixed) for instant recognition
### 2. Rebalance exec test groups for ~29% faster test execution
The `velox_exec_test` suite uses `velox_add_grouped_tests()` which batches source files positionally into groups of 10. On `main`, the alphabetical ordering creates severely imbalanced groups — the worst group combines IndexLookupJoinTest (971s) + HashTableTest (60s) + MergeJoinTest (111s) = **~1,145s**.
**Changes:**
- **Split IndexLookupJoinTest.cpp** into IndexLookupJoinTest.cpp (~783s) and IndexLookupJoinTestExtra.cpp (~188s) to break up the 971s monolith
- **Split HashJoinTest.cpp** by redistributing 20 MultiThreadedHashJoinTest tests to HashJoinTestExtra.cpp (renamed from HashJoinTestSpill.cpp), balancing ~575s vs ~585s instead of 919s vs 242s
- **Reorder source files** using greedy bin-packing with measured EC2 timings so each group has roughly equal execution time
### Test time improvement
| Metric | main (alphabetical) | This PR (optimized) | Improvement |
|--------|----------------------|---------------------|-------------|
| Slowest group | ~1,145s (19 min) | 817s (13.6 min) | **29% faster** |
| Total wall time (ctest -j24) | ~1,145s | 911s (15.2 min) | **20% faster** |
| Empty groups (wasted parallelism) | 2 groups (~5s each) | 0 | All groups utilized |
**CI-measured group timings (this PR):**
| Group | Anchor Test(s) | CI Time |
|-------|---------------|---------|
| 0 | IndexLookupJoinTest | 745s |
| 1 | MultiFragmentTest | 493s |
| 2 | HashJoinTestExtra | 817s |
| 3 | SpillerTest | 532s |
| 4 | HashJoinTest | 402s |
| 5 | TableWriter + OutputBufMgr + TopNRowNumber + StreamingAgg | 480s |
| 6 | TableScan + Aggregation + OrderBy + HashTable + RowNumber | 556s |
| 7 | IndexLookupJoinExtra + MergeJoin + ScaleWriter + Exchange | 486s |
**100% tests passed (530/530), 0 failures.**
Pull Request resolved: facebookincubator#16938
Test Plan:
- [x] All 8 exec test groups build and link successfully
- [x] All tests pass on EC2 (standalone validation per group)
- [x] CI run validates end-to-end: 530 tests, 0 failures, 911s total
- [x] BUILD/TEST status labels appear correctly in Actions UI
- [x] HashJoinTest split validated: group4 (34 MultiThreaded tests) = 402s, group2 (20 MultiThreaded + 75 HashJoinTest) = 817s
- [x] IndexLookupJoinTest split validated: group0 = 745s, group7 = 486s
Reviewed By: pratikpugalia
Differential Revision: D99000024
Pulled By: kgpai
fbshipit-source-id: 0b503728bb9f3223ed2a9f95f7c5fee69045cdeb1 parent 5a3a35f commit 1210ef6
File tree
6 files changed
+9853
-9466
lines changed- .github/workflows
- velox/exec/tests
6 files changed
+9853
-9466
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
189 | 195 | | |
| |||
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
201 | | - | |
| 207 | + | |
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
| |||
282 | 288 | | |
283 | 289 | | |
284 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
285 | 326 | | |
286 | 327 | | |
287 | 328 | | |
| |||
352 | 393 | | |
353 | 394 | | |
354 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
355 | 399 | | |
356 | 400 | | |
357 | 401 | | |
| |||
401 | 445 | | |
402 | 446 | | |
403 | 447 | | |
| 448 | + | |
404 | 449 | | |
405 | 450 | | |
406 | 451 | | |
| |||
430 | 475 | | |
431 | 476 | | |
432 | 477 | | |
| 478 | + | |
433 | 479 | | |
434 | 480 | | |
435 | 481 | | |
| |||
442 | 488 | | |
443 | 489 | | |
444 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
445 | 494 | | |
446 | 495 | | |
447 | 496 | | |
448 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
449 | 533 | | |
450 | 534 | | |
451 | 535 | | |
| |||
454 | 538 | | |
455 | 539 | | |
456 | 540 | | |
| 541 | + | |
| 542 | + | |
457 | 543 | | |
458 | 544 | | |
459 | 545 | | |
| |||
505 | 591 | | |
506 | 592 | | |
507 | 593 | | |
| 594 | + | |
508 | 595 | | |
509 | 596 | | |
510 | 597 | | |
| |||
530 | 617 | | |
531 | 618 | | |
532 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
47 | 80 | | |
48 | | - | |
49 | | - | |
50 | 81 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
55 | 86 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 87 | + | |
59 | 88 | | |
60 | | - | |
61 | | - | |
62 | 89 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 90 | + | |
73 | 91 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 92 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 93 | + | |
105 | 94 | | |
106 | | - | |
107 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
108 | 99 | | |
109 | 100 | | |
110 | | - | |
| 101 | + | |
111 | 102 | | |
112 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | | - | |
115 | | - | |
| 118 | + | |
116 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
118 | 134 | | |
119 | | - | |
120 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
121 | 138 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
125 | 151 | | |
126 | 152 | | |
127 | 153 | | |
| |||
0 commit comments