numam-spdk/test/common
Michal Berger 45c42ac2f2 scripts: Use core dump collector
This is done in order to track core dumps in a more efficient
manner. Till now, some cores could be missed if the binary was
executed outside of the cwd of the autotest (i.e. outside of
the spdk repo) but which was part of the critical path of the
actual test (e.g. fio in vhost-initiator tests). Also, since
core_pattern was set to plain "core", impact on the underlying
storage wasn't controlled either - if core was 20G in size,
this is what we would get. This could easly exhaust storage in
case error-prone patchsets were submitted on the CI side.

The collector will try to mitigate all the above by doing the
following:

  - collecting all the cores, regardless of their cwd
  - limiting size of the core to 2G
  - compressing the cores (lz4)

Also, limit of 2 collectors executing at once is set - if more
processes crashes at approx. the same time, they will be logged
in the kernel log instead.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I5956a9030c463ae85a21bfe95f28af5568c5c285
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5369
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-01-06 00:01:05 +00:00
..
config pkgdep/git: Use .x branch for the 20.01 LTS ref build 2021-01-05 09:38:15 +00:00
lib remove unneeded spdk_internal/thread.h includes 2020-12-10 14:38:04 +00:00
applications.sh test/common: Add spdk_dd to applications.sh 2020-07-23 07:24:08 +00:00
autotest_common.sh scripts: Use core dump collector 2021-01-06 00:01:05 +00:00
skipped_build_files.txt vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
skipped_tests.txt autobuild: add SPDK_TEST_NATIVE_DPDK to test again pristine DPDK master 2020-09-22 11:40:25 +00:00