Spdk/test
yidong0635 2e0dafb305 test/reset: put unregister_worker after unregister_controllers.
From the log we can see that it reports ns_ctx was freed before it
was used. In unregister_controller, it still need ns_ctx to do io_complete.

And now this app works as a signle worker to do something.
Just need to change the order, execute unregister_worker after
unregister_controllers.

Fixes issue #1626

tested on clearlinux.

Signed-off-by: yidong0635 <dongx.yi@intel.com>
Change-Id: I392ff168abb862ba236a24b775fb31bb341e2157
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4761
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-10-20 14:05:51 +00:00
..
app build: remove unused references to conf library 2020-10-20 02:42:16 +00:00
bdev lib/event: remove deprecated ReactorMask from legacy config 2020-10-20 02:42:16 +00:00
blobfs test/blobfs: Drop .ini config in favor of json 2020-10-12 08:26:20 +00:00
blobstore test/blob: move blobiowait test to JSON config 2020-10-16 08:15:26 +00:00
common autopackage.sh: add flag for release builds 2020-10-20 08:54:40 +00:00
compress module/compress: add new parm to RPC for create compress vol 2020-07-27 22:39:29 +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/memory_ut: fix clang compilation error 2020-10-19 09:54:32 +00:00
event bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00
external_code test/external_code: modify some remaining parts for switching to json 2020-10-09 07:19:16 +00:00
ftl test/ftl: point to absolute path to setup.sh 2020-07-06 23:22:59 +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 test/iscsi: In ip_migration.sh, use 'ip' to add and remove IP addresses 2020-10-06 09:36:30 +00:00
json_config vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make blob/bdev: Add function pointer get_base_bdev to struct spdk_bs_dev 2020-10-20 08:52:29 +00:00
nvme test/reset: put unregister_worker after unregister_controllers. 2020-10-20 14:05:51 +00:00
nvmf test/nvmf: Replace [ with [[ test in allocate_nic_ips() 2020-10-08 13:11:29 +00:00
ocf scripts/setup remove flakiness from tests 2020-09-09 07:19:43 +00:00
openstack test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +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 lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli lib/iscsi: Add MaxR2TPerConnection to iSCSI options 2020-08-18 07:27:45 +00:00
unit subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
vhost test: add packed ring test in blk device 2020-10-16 08:15:51 +00:00
vmd build: Example applications build to build/example 2020-06-15 15:27:16 +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