Commit 47af746
committed
test: stop SIGKILLing the shared launcher JVM; run the lane in parallel
This lane was pinned serial because -j 6 reproducibly failed 8 table_buffering
files, which read as a java-worker concurrency bug. It was not one. There is no
race, no shared static, no SQLite contention — the framework is clean.
FIXTURE_ENV set VGI_TEST_DEDICATED_WORKER unconditionally. That var gates
table_buffering_{worker_crash,pool_recovery}.test, whose `crash_on_process`
fixture runs `kill -9 <own pid>` and halt(137) by design. Both files ATTACH
${VGI_TEST_WORKER} — the launch: location — not the dedicated binary, so the
victim was the ONE shared launcher JVM every concurrent DuckDB process was
talking to. The survivors reported "RPC response stream EOF" / "Broken pipe",
i.e. the collateral damage. Serially it hid: the next ATTACH respawns the JVM,
and the two crash tests even "passed" while silently testing launcher respawn
instead of subprocess-pool recovery.
run_tests.py deliberately leaves that var unset for shared-worker transports
(its env.setdefault only fires for a bare-path VGI_TEST_WORKER), and setting it
here defeated the guard. ci/run-integration.sh had the same defect on its launch
lane while its http lane already got it right.
So: don't set it (the two files self-skip, already allow-listed in the coverage
gate), add a `test-crash` target running exactly those two over the SUBPROCESS
transport where each DuckDB process owns a worker it can watch die, and run it
after the main suite. Same step added to ci/run-integration.sh's launch lane.
JAVA_JOBS 1 -> 6. Verified: 293 passed, 29 skipped, 0 failed, plus 2 from
test-crash. Coverage goes UP (294 executed before, 295 now) and the two crash
tests finally exercise what their headers describe. ~87s warm vs ~1820s serial.1 parent dc264c0 commit 47af746
2 files changed
Lines changed: 63 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| |||
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | | - | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| |||
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | | - | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| |||
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
169 | 188 | | |
170 | 189 | | |
171 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
122 | 131 | | |
123 | | - | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
| |||
357 | 365 | | |
358 | 366 | | |
359 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
360 | 382 | | |
361 | 383 | | |
362 | 384 | | |
| |||
0 commit comments