Spdk/test
Michal Berger 1f4a8945d1 test/unit: Add verbose opt to valgrind and unset DEBUGINFOD_*
It looks like fedora intentionally sets $DEBUGINFOD_URLS inside the
environment as per the contents of /etc/debuginfod/. When set,
valgrind uses this URL list to fetch extra debuginfo from the target
servers. This is an unwanted behavior, since depending on the net
state it may block the tests leading to job timeouts under CI.

To mitigate, unset all DEBUGINFOD_* vars while running valgrind. Also,
enable verbose output to make sure we are aware what valgrind is
actually doing under the hood (e.g. info about fetching debuginfo
could not be seen without it).

Fixes issue #2767

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: If7c3bf341bd78c1cb9a68c5f86379fd7d3682f4e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15774
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-12-06 08:40:34 +00:00
..
accel add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
app llvm_vfio_fuzz: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
bdev Add SPDX header to various files 2022-11-29 08:27:51 +00:00
blobfs add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
blobstore add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common test/unit: Add verbose opt to valgrind and unset DEBUGINFOD_* 2022-12-06 08:40:34 +00:00
compress add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
cpp_headers update Intel copyright notices 2022-11-10 08:28:53 +00:00
dd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
dma test/dma: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
dpdk_memory_utility add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
env add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
event Add SPDX header to various files 2022-11-29 08:27:51 +00:00
external_code add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
ftl add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fuzz add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
interrupt Add SPDX header to various files 2022-11-29 08:27:51 +00:00
ioat add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
iscsi_tgt test/iscsi_fuzz: fix a lock on assigned core mask 2022-12-05 22:37:28 +00:00
json_config add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
lvol add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
make nvmf: Add copy command support 2022-11-30 08:50:06 +00:00
nvme test/nvme/simple_copy: Allow to connect to NVMf target 2022-11-30 08:50:06 +00:00
nvmf add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
ocf Add SPDX header to various files 2022-11-29 08:27:51 +00:00
openstack add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
packaging add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
pmem add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc lib/trace: add trace_get_info RPC 2022-12-05 09:50:38 +00:00
rpc_client add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler Add SPDX header to various files 2022-11-29 08:27:51 +00:00
setup add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
sma Add SPDX header to various files 2022-11-29 08:27:51 +00:00
spdkcli add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
thread add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
unit test/unit: Add verbose opt to valgrind and unset DEBUGINFOD_* 2022-12-06 08:40:34 +00:00
vfio_user Add SPDX header to various files 2022-11-29 08:27:51 +00:00
vhost add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
vmd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_cunit.h update Intel copyright notices 2022-11-10 08:28:53 +00:00