Spdk/test
Michal Berger 692fce3222 test/common: Introduce timeout in discover_bdevs()
In case something goes awfully wrong with the test which calls this
particular function, e.g:

  https://ci.spdk.io/results/autotest-per-patch/builds/4787

the CI's autotest runs may be blocked for max of 15 minutes before
failing the build. Instead, introduce internal timeout for the
routine itself (default of 30s) and fail the test sooner when it
expires.

Change-Id: I2c792c1781987e80e34c1fa19ec3eef43c25e38a
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1026
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-03-03 07:55:12 +00:00
..
app nvme: detach the controller in STUB and flush the admin active requests at last 2020-02-26 09:26:09 +00:00
bdev bdevperf: Make bdevperf_construct_targets() asynchronous by sentinel value 2020-02-28 14:38:15 +00:00
blobfs test/blobfs: Use Bash's time builtin instead of the separate binary 2020-02-24 08:02:48 +00:00
blobstore lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
common test/common: Introduce timeout in discover_bdevs() 2020-03-03 07:55:12 +00:00
compress module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event lib/thread: Fail spdk_thread_exit() if thread has any registered poller 2020-02-13 09:51:15 +00:00
ftl lib/ftl: Use fio_plugin for ftl tests 2020-02-25 10:32:17 +00:00
fuzz test/fuzz: Rename FUZZ_APP to VHOST_FUZZ_UP 2020-02-27 10:15:40 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/common: Source *_APP from a common place 2020-02-27 10:15:40 +00:00
json_config subsystem/accel: add entry point for .write_config_json 2020-02-18 08:05:34 +00:00
lvol test/lvol: remove delete_bdev_positive 2020-02-20 09:57:20 +00:00
make test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
nvme test/nvme: do not skip tests if nvme-cli is unavailable 2020-03-03 07:55:07 +00:00
nvmf test/nvmf: Sanitize random string 2020-03-02 10:34:03 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem script: update pmem test script 2020-02-12 12:07:30 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit test: fix error about unittest_thread uninitialised parameters 2020-03-03 07:55:01 +00:00
vhost Revert "test/hotremove: Select test cases to be run for scci and blk hotremove." 2020-02-27 18:11:36 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00