Commit b818b82
Julien Gilli
test: add --abort-on-timeout option to test.py
Currently, when a process times out, it is terminated by sending it the
SIGTERM signal. Sending SIGBART instead allows the operating system to
generate a core file that can be investigated later using post-mortem
debuggers such as llnode or mdb_v8.
This can be very useful when investigating flaky tests that time out,
since in that case the failure is difficult to reproduce, and being able
to look at a core file makes a big difference.
With these changes, passing the --abort-on-timeout command line option
to tools/test.py now sends SIGABRT to processes timing out on all
platforms but Windows.
PR-URL: #11086
Ref: #11026
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>1 parent 6614bd1 commit b818b82
1 file changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
591 | 602 | | |
592 | 603 | | |
593 | 604 | | |
| |||
627 | 638 | | |
628 | 639 | | |
629 | 640 | | |
630 | | - | |
| 641 | + | |
631 | 642 | | |
632 | 643 | | |
633 | 644 | | |
| |||
648 | 659 | | |
649 | 660 | | |
650 | 661 | | |
651 | | - | |
| 662 | + | |
652 | 663 | | |
653 | 664 | | |
654 | 665 | | |
| |||
851 | 862 | | |
852 | 863 | | |
853 | 864 | | |
854 | | - | |
| 865 | + | |
855 | 866 | | |
856 | 867 | | |
857 | 868 | | |
| |||
863 | 874 | | |
864 | 875 | | |
865 | 876 | | |
| 877 | + | |
866 | 878 | | |
867 | 879 | | |
868 | 880 | | |
| |||
1385 | 1397 | | |
1386 | 1398 | | |
1387 | 1399 | | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
1388 | 1403 | | |
1389 | 1404 | | |
1390 | 1405 | | |
| |||
1566 | 1581 | | |
1567 | 1582 | | |
1568 | 1583 | | |
1569 | | - | |
| 1584 | + | |
| 1585 | + | |
1570 | 1586 | | |
1571 | 1587 | | |
1572 | 1588 | | |
| |||
0 commit comments