mariadb/mysql-test/lib/My
Marko Mäkelä 9f8fc983d5 MDEV-30242 MTR fails to report stack traces of all threads by default
An unfortunate change to the default behavior of the handling of
core dumps was implemented in
commit e9be5428a2
by making MTR_PRINT_CORE=small the default value, that is, to
only display the stack trace of one thread in crash reports.
Many if not most failures that occur in regression tests are
sporadic and involve race conditions or deadlocks. To be able to
analyze such failures, having the stack traces of all active threads
is a must, because CI environments typically do not save any core dumps.

While the environment variable MTR_PRINT_CORE could be set in CI
environments to compensate for the unfortunate change, it is better
to revert to the old default (dumping all threads) so that
no explicit action will be required from maintainers of independent
CI systems. In that case, if something fails once in a blue moon,
we can have some hope of diagnosing it based on the output.

We fix this regression by defaulting the unset environment variable
MTR_PRINT_CORE to "medium".
2022-12-16 09:59:09 +02:00
..
File
SafeProcess my_safe_process: try to kill the process softly first 2022-08-10 09:14:17 +02:00
Config.pm
ConfigFactory.pm
CoreDump.pm MDEV-30242 MTR fails to report stack traces of all threads by default 2022-12-16 09:59:09 +02:00
Debugger.pm MDEV-29348 rpl.rpl_rewrt_db test fails with [gdb,manual-gdb] with wrong parsing 2022-11-28 15:10:30 +01:00
Find.pm MDEV-19129: Xcode compatibility update: mysql-test-run.pl: rename $opt_vs_config to $multiconfig to use with other cmake multiconfig generators 2021-10-21 16:48:00 +03:00
Handles.pm MDEV-20421: big_innodb_log reliably fails on buildbot Windows 2019-09-06 12:05:20 +03:00
Options.pm mtr failed to detect when a combination is forced 2022-01-14 22:16:39 +01:00
Platform.pm MDEV-25894: support AIX as a platform in mtr 2021-07-02 14:46:05 +10:00
SafeProcess.pm MDEV-25802 mtr: race condition if the test quickly restarts twice 2021-07-06 16:12:13 +02:00
Suite.pm
SysInfo.pm
Tee.pm MDEV-22176 Add JUnit support to MTR to generate XML test result 2020-04-07 09:27:51 +00:00
Test.pm