You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "csun5285 (via GitHub)" <gi...@apache.org> on 2026/03/09 11:07:10 UTC
[PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
csun5285 opened a new pull request, #61158:
URL: https://github.com/apache/doris/pull/61158
ASSERT_DEATH/EXPECT_DEATH to crash due to unsafe fork() in multi-threaded context.
Fix: add GTEST_FLAG_SET(death_test_style, "threadsafe") so gtest uses fork+re-exec instead of plain fork, and setrlimit to suppress core dumps in death test child processes.
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [x] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023163558
<details>
<summary>TPC-H: <b>Total hot run time: 27493 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 8c1690af7ad3a1aa6ff93f4992416230af6a1352, data reload: false
------ Round 1 ----------------------------------
============================================
q1 17620 4583 4277 4277
q2 q3 10640 787 506 506
q4 4682 342 247 247
q5 7564 1203 1043 1043
q6 166 173 144 144
q7 789 838 671 671
q8 9300 1458 1317 1317
q9 4873 4777 4674 4674
q10 6328 1914 1669 1669
q11 463 248 239 239
q12 752 556 464 464
q13 18041 2928 2156 2156
q14 227 224 205 205
q15 949 787 812 787
q16 763 720 667 667
q17 724 832 424 424
q18 6064 5408 5268 5268
q19 1249 999 618 618
q20 497 492 386 386
q21 4577 2120 1448 1448
q22 383 344 283 283
Total cold run time: 96651 ms
Total hot run time: 27493 ms
----- Round 2, with runtime_filter_mode=off -----
============================================
q1 4599 4531 4661 4531
q2 q3 3946 4289 3880 3880
q4 879 1188 757 757
q5 4017 4367 4277 4277
q6 176 170 136 136
q7 1752 1657 1538 1538
q8 2508 2678 2614 2614
q9 7357 7339 7270 7270
q10 3729 3934 3618 3618
q11 496 445 418 418
q12 491 572 463 463
q13 2795 3471 2282 2282
q14 285 295 273 273
q15 839 831 833 831
q16 730 789 748 748
q17 1154 1514 1328 1328
q18 7169 6817 6650 6650
q19 857 891 854 854
q20 2064 2182 2003 2003
q21 3931 3448 3370 3370
q22 472 440 393 393
Total cold run time: 50246 ms
Total hot run time: 48234 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen merged PR #61158:
URL: https://github.com/apache/doris/pull/61158
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4022958105
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
Please clearly describe your PR:
1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
3. What features were added. Why was this function added?
4. Which code was refactored and why was this part of the code refactored?
5. Which functions were optimized and what is the difference before and after the optimization?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023001430
skip buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023002713
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023221208
<details>
<summary>TPC-DS: <b>Total hot run time: 153209 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 8c1690af7ad3a1aa6ff93f4992416230af6a1352, data reload: false
query5 4329 639 539 539
query6 331 226 217 217
query7 4224 471 265 265
query8 368 262 228 228
query9 8723 2764 2750 2750
query10 513 387 332 332
query11 7182 5914 5634 5634
query12 196 125 126 125
query13 1264 460 351 351
query14 5796 3853 3597 3597
query14_1 2837 2833 2863 2833
query15 215 197 179 179
query16 973 475 483 475
query17 894 719 626 626
query18 2435 459 373 373
query19 216 210 181 181
query20 133 131 125 125
query21 223 146 123 123
query22 4778 4895 4860 4860
query23 16204 15493 15331 15331
query23_1 15392 16419 15924 15924
query24 8859 1735 1285 1285
query24_1 1292 1282 1289 1282
query25 689 504 467 467
query26 1290 277 168 168
query27 2912 508 310 310
query28 4725 1960 1959 1959
query29 943 582 508 508
query30 327 258 216 216
query31 1393 1393 1376 1376
query32 85 78 85 78
query33 517 351 295 295
query34 920 906 565 565
query35 627 711 609 609
query36 1071 1164 903 903
query37 134 90 82 82
query38 2916 2938 2887 2887
query39 905 881 834 834
query39_1 827 830 851 830
query40 226 156 139 139
query41 62 66 69 66
query42 305 296 303 296
query43 236 247 223 223
query44
query45 199 191 181 181
query46 889 1007 599 599
query47 2155 2117 2038 2038
query48 302 323 227 227
query49 634 479 388 388
query50 663 279 218 218
query51 4218 4109 4098 4098
query52 288 292 279 279
query53 290 332 288 288
query54 302 275 256 256
query55 90 86 85 85
query56 322 316 306 306
query57 1364 1345 1259 1259
query58 284 274 274 274
query59 1351 1403 1291 1291
query60 334 330 321 321
query61 149 150 181 150
query62 637 598 518 518
query63 307 280 275 275
query64 5081 1282 985 985
query65
query66 1457 459 351 351
query67 16187 16396 16276 16276
query68
query69 380 298 281 281
query70 994 934 932 932
query71 340 305 301 301
query72 2783 2696 2389 2389
query73 540 554 319 319
query74 10018 9937 9724 9724
query75 2813 2766 2465 2465
query76 2288 1036 685 685
query77 383 373 309 309
query78 11060 11254 10649 10649
query79 2584 780 617 617
query80 1724 633 584 584
query81 573 284 238 238
query82 1018 150 123 123
query83 351 280 244 244
query84 290 111 94 94
query85 908 500 438 438
query86 409 307 296 296
query87 3134 3136 3043 3043
query88 3507 2651 2607 2607
query89 417 369 344 344
query90 2007 179 169 169
query91 164 164 136 136
query92 76 76 69 69
query93 1145 866 507 507
query94 636 328 298 298
query95 582 403 312 312
query96 637 522 226 226
query97 2457 2509 2424 2424
query98 241 213 221 213
query99 997 987 934 934
Total cold run time: 236152 ms
Total hot run time: 153209 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023002687
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "csun5285 (via GitHub)" <gi...@apache.org>.
csun5285 commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4022958284
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](test) fix death tests crash in multi-threaded UT binary [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #61158:
URL: https://github.com/apache/doris/pull/61158#issuecomment-4023002426
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org