Spdk/test/common
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
..
config add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
lib update Intel copyright notices 2022-11-10 08:28:53 +00:00
applications.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
autotest_common.sh test/unit: Add verbose opt to valgrind and unset DEBUGINFOD_* 2022-12-06 08:40:34 +00:00
skipped_build_files.txt test/llvm_vfio_fuzz: initial commit for vfio-user fuzzer 2022-09-23 15:16:01 +00:00
skipped_tests.txt test: remove SMA tests from skipped_tests 2022-10-19 07:47:20 +00:00