Commit ab7ae60
committed
fix(ci): raise vm.max_map_count so the Doris 4.0.3 BE can start
Root cause of the doris CI hang, found by reproducing the container locally:
4.0.3's start_be.sh hard-`exit 1`s unless vm.max_map_count >= 2000000 (also
checks swap off and ulimit -n >= 60000). The 2.1.0 image had no such gate, which
is exactly why it passed in 13min while 4.0.3 did not. On the runner's low
default the BE exits immediately; that ends the entrypoint's `wait $child_pid`,
the container exits and never reports healthy, and every doris test then stalls
~360s in wait_for_be_alive (480s nextest timeout x 4 retries -> 1h job cap).
Fix:
- Shared container: raise vm.max_map_count on the host before launch (inherited
by all containers) and pass SKIP_CHECK_ULIMIT=true to bypass the swap/ulimit
gates without swapoff'ing the runner. Verified locally that this brings the BE
alive=true (~40s) even under arm64 emulation.
- Self-boot fixture: set SKIP_CHECK_ULIMIT=true too, so the fallback path (and
local Linux dev, which can't easily sysctl) isn't blocked by the same gates.
The earlier FE-2GB / BE-4GB memory caps stay: this still boots beside the cargo
build on a 16GB runner, so bounding Doris to ~6GB keeps room for rustc.1 parent aa53589 commit ab7ae60
2 files changed
Lines changed: 23 additions & 13 deletions
File tree
- .github/actions/rust/pre-merge
- core/integration/tests/connectors/fixtures/doris
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
245 | 247 | | |
246 | 248 | | |
| 249 | + | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
| |||
0 commit comments