numam-spdk/test
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
..
app build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
bdev event: add "A" to SPDK_APP_GETOPT_STRING 2020-12-31 08:28:08 +00:00
blobfs build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
blobstore bdev: Make the small and large buffer pool configurable. 2020-12-28 14:05:34 +00:00
common scripts: Use core dump collector 2021-01-06 00:01:05 +00:00
compress script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
config_converter vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Lower the number of block size tests 2020-08-20 09:27:21 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env test: add some missing stubs 2020-11-02 11:23:21 +00:00
event build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
external_code test/external_code: use -pthread instead of -lpthread 2020-12-28 13:32:06 +00:00
ftl scripts: replace PCI_WHITELIST with PCI_ALLOWED 2020-12-03 09:41:07 +00:00
fuzz test/iscsi: remove VPP tests 2020-08-17 08:19:46 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
json_config script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make event: add pci_allowed/pci_blocked to spdk_app_opts 2020-12-03 09:41:07 +00:00
nvme test: Replace spdk/nvmecli with stock nvmecli 2021-01-04 16:28:01 +00:00
nvmf test: Replace spdk/nvmecli with stock nvmecli 2021-01-04 16:28:01 +00:00
ocf test/ocf: remove unused nvme_cfg() function 2020-11-05 09:37:55 +00:00
openstack script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc_client build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdkcli script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
unit nvmf/fc: Add FC LLD specific fc_port. 2021-01-05 22:36:46 +00:00
vhost test/vhost: Fix traddr lookup 2020-12-28 13:17:20 +00:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00