00:51:58.963 09:11:13 sw_hotplug -- common/autotest_common.sh@715 -- # time='========== Backtrace start: ========== 00:51:58.963 00:51:58.963 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:715 -> timing_cmd(["remove_attach_helper"],["3"],["6"],["true"]) 00:51:58.963 ... 00:51:58.963 710 00:51:58.963 711 # We redirect cmd'\''s std{out,err} to a separate fd dup'\''ed to stdin'\''s device (or /dev/null) to 00:51:58.963 712 # catch only output from the time builtin - output from the actual cmd would be still visible, 00:51:58.963 713 # but $() will return just the time'\''s data, hence making it possible to just do: 00:51:58.963 714 # time_of_super_verbose_cmd=$(timing_cmd super_verbose_cmd) 00:51:58.963 => 715 time=$({ time "$@" >&"$cmd_out" 2>&1; } 2>&1) 00:51:58.963 716 00:51:58.963 717 echo "$time" 00:51:58.963 718 ) 00:51:58.963 719 00:51:58.963 720 function timing_enter() { 00:51:58.963 ... 00:51:58.963 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:16 -> debug_remove_attach_helper(["3"],["6"],["true"]) 00:51:58.963 ... 00:51:58.963 11 # Pci bus hotplug 00:51:58.963 12 # Helper function to remove/attach cotrollers 00:51:58.963 13 debug_remove_attach_helper() { 00:51:58.963 14 local helper_time=0 00:51:58.963 15 00:51:58.963 => 16 helper_time=$(timing_cmd remove_attach_helper "$@") 00:51:58.963 17 printf '\''remove_attach_helper took %ss to complete (handling %u nvme drive(s))'\'' \ 00:51:58.963 18 "$helper_time" "$nvme_count" >&2 00:51:58.963 19 } 00:51:58.963 20 00:51:58.963 21 remove_attach_helper() { 00:51:58.963 ... 00:51:58.963 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:110 -> tgt_run_hotplug([]) 00:51:58.963 ... 00:51:58.963 105 waitforbdev "Nvme0${dev}n1" "$hotplug_wait" 00:51:58.963 106 done 00:51:58.963 107 00:51:58.963 108 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.963 109 00:51:58.963 => 110 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.963 111 # Verify reregistering hotplug poller 00:51:58.963 112 rpc_cmd bdev_nvme_set_hotplug -d 00:51:58.963 113 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.963 114 00:51:58.963 115 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.963 ... 00:51:58.963 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:138 -> main([]) 00:51:58.963 ... 00:51:58.963 133 00:51:58.963 134 # Run pci bus hotplug test 00:51:58.963 135 run_hotplug 00:51:58.963 136 00:51:58.963 137 # Run SPDK target based hotplug 00:51:58.963 => 138 tgt_run_hotplug 00:51:58.963 ... 00:51:58.963 00:51:58.963 ========== Backtrace end ========== 00:51:58.963 ========== Backtrace start: ========== 00:51:58.963 00:51:58.963 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:715 -> timing_cmd(["remove_attach_helper"],["3"],["6"],["true"]) 00:51:58.963 ... 00:51:58.963 710 00:51:58.963 711 # We redirect cmd's std{out,err} to a separate fd dup'ed to stdin's device (or /dev/null) to 00:51:58.963 712 # catch only output from the time builtin - output from the actual cmd would be still visible, 00:51:58.963 713 # but $() will return just the time's data, hence making it possible to just do: 00:51:58.963 714 # time_of_super_verbose_cmd=$(timing_cmd super_verbose_cmd) 00:51:58.964 => 715 time=$({ time "$@" >&"$cmd_out" 2>&1; } 2>&1) 00:51:58.964 716 00:51:58.964 717 echo "$time" 00:51:58.964 718 ) 00:51:58.964 719 00:51:58.964 720 function timing_enter() { 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:16 -> debug_remove_attach_helper(["3"],["6"],["true"]) 00:51:58.964 ... 00:51:58.964 11 # Pci bus hotplug 00:51:58.964 12 # Helper function to remove/attach cotrollers 00:51:58.964 13 debug_remove_attach_helper() { 00:51:58.964 14 local helper_time=0 00:51:58.964 15 00:51:58.964 => 16 helper_time=$(timing_cmd remove_attach_helper "$@") 00:51:58.964 17 printf 'remove_attach_helper took %ss to complete (handling %u nvme drive(s))' \ 00:51:58.964 18 "$helper_time" "$nvme_count" >&2 00:51:58.964 19 } 00:51:58.964 20 00:51:58.964 21 remove_attach_helper() { 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:110 -> tgt_run_hotplug([]) 00:51:58.964 ... 00:51:58.964 105 waitforbdev "Nvme0${dev}n1" "$hotplug_wait" 00:51:58.964 106 done 00:51:58.964 107 00:51:58.964 108 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 109 00:51:58.964 => 110 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 111 # Verify reregistering hotplug poller 00:51:58.964 112 rpc_cmd bdev_nvme_set_hotplug -d 00:51:58.964 113 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 114 00:51:58.964 115 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:138 -> main([]) 00:51:58.964 ... 00:51:58.964 133 00:51:58.964 134 # Run pci bus hotplug test 00:51:58.964 135 run_hotplug 00:51:58.964 136 00:51:58.964 137 # Run SPDK target based hotplug 00:51:58.964 => 138 tgt_run_hotplug 00:51:58.964 ... 00:51:58.964 00:51:58.964 ========== Backtrace end ========== 00:51:58.964 ========== Backtrace start: ========== 00:51:58.964 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:718 -> timing_cmd(["remove_attach_helper"],["3"],["6"],["true"]) 00:51:58.964 ... 00:51:58.964 713 # but $() will return just the time's data, hence making it possible to just do: 00:51:58.964 714 # time_of_super_verbose_cmd=$(timing_cmd super_verbose_cmd) 00:51:58.964 715 time=$({ time "$@" >&"$cmd_out" 2>&1; } 2>&1) 00:51:58.964 716 00:51:58.964 717 echo "$time" 00:51:58.964 => 718 ) 00:51:58.964 719 00:51:58.964 720 function timing_enter() { 00:51:58.964 721 xtrace_disable 00:51:58.964 722 timing "enter" "$1" 00:51:58.964 723 xtrace_restore 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:16 -> debug_remove_attach_helper(["3"],["6"],["true"]) 00:51:58.964 ... 00:51:58.964 11 # Pci bus hotplug 00:51:58.964 12 # Helper function to remove/attach cotrollers 00:51:58.964 13 debug_remove_attach_helper() { 00:51:58.964 14 local helper_time=0 00:51:58.964 15 00:51:58.964 => 16 helper_time=$(timing_cmd remove_attach_helper "$@") 00:51:58.964 17 printf 'remove_attach_helper took %ss to complete (handling %u nvme drive(s))' \ 00:51:58.964 18 "$helper_time" "$nvme_count" >&2 00:51:58.964 19 } 00:51:58.964 20 00:51:58.964 21 remove_attach_helper() { 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:110 -> tgt_run_hotplug([]) 00:51:58.964 ... 00:51:58.964 105 waitforbdev "Nvme0${dev}n1" "$hotplug_wait" 00:51:58.964 106 done 00:51:58.964 107 00:51:58.964 108 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 109 00:51:58.964 => 110 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 111 # Verify reregistering hotplug poller 00:51:58.964 112 rpc_cmd bdev_nvme_set_hotplug -d 00:51:58.964 113 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 114 00:51:58.964 115 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:138 -> main([]) 00:51:58.964 ... 00:51:58.964 133 00:51:58.964 134 # Run pci bus hotplug test 00:51:58.964 135 run_hotplug 00:51:58.964 136 00:51:58.964 137 # Run SPDK target based hotplug 00:51:58.964 => 138 tgt_run_hotplug 00:51:58.964 ... 00:51:58.964 00:51:58.964 ========== Backtrace end ========== 00:51:58.964 ========== Backtrace start: ========== 00:51:58.964 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:16 -> debug_remove_attach_helper(["3"],["6"],["true"]) 00:51:58.964 ... 00:51:58.964 11 # Pci bus hotplug 00:51:58.964 12 # Helper function to remove/attach cotrollers 00:51:58.964 13 debug_remove_attach_helper() { 00:51:58.964 14 local helper_time=0 00:51:58.964 15 00:51:58.964 => 16 helper_time=$(timing_cmd remove_attach_helper "$@") 00:51:58.964 17 printf 'remove_attach_helper took %ss to complete (handling %u nvme drive(s))' \ 00:51:58.964 18 "$helper_time" "$nvme_count" >&2 00:51:58.964 19 } 00:51:58.964 20 00:51:58.964 21 remove_attach_helper() { 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:110 -> tgt_run_hotplug([]) 00:51:58.964 ... 00:51:58.964 105 waitforbdev "Nvme0${dev}n1" "$hotplug_wait" 00:51:58.964 106 done 00:51:58.964 107 00:51:58.964 108 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 109 00:51:58.964 => 110 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 111 # Verify reregistering hotplug poller 00:51:58.964 112 rpc_cmd bdev_nvme_set_hotplug -d 00:51:58.964 113 rpc_cmd bdev_nvme_set_hotplug -e 00:51:58.964 114 00:51:58.964 115 debug_remove_attach_helper "$hotplug_events" "$hotplug_wait" true 00:51:58.964 ... 00:51:58.964 in /home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh:138 -> main([]) 00:51:58.964 ... 00:51:58.964 133 00:51:58.964 134 # Run pci bus hotplug test 00:51:58.964 135 run_hotplug 00:51:58.964 136 00:51:58.964 137 # Run SPDK target based hotplug 00:51:58.964 => 138 tgt_run_hotplug 00:51:58.964 ... 00:51:58.964 00:51:58.964 ========== Backtrace end ========== 00:52:01.500 ========== Backtrace start: ========== 00:52:01.500 00:52:01.500 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1122 -> run_test(["sw_hotplug"],["/home/vagrant/spdk_repo/spdk/test/nvme/sw_hotplug.sh"]) 00:52:01.500 ... 00:52:01.500 1117 timing_enter $test_name 00:52:01.500 1118 echo "************************************" 00:52:01.500 1119 echo "START TEST $test_name" 00:52:01.500 1120 echo "************************************" 00:52:01.500 1121 xtrace_restore 00:52:01.500 1122 time "$@" 00:52:01.500 1123 xtrace_disable 00:52:01.500 1124 echo "************************************" 00:52:01.500 1125 echo "END TEST $test_name" 00:52:01.500 1126 echo "************************************" 00:52:01.500 1127 timing_exit $test_name 00:52:01.500 ... 00:52:01.500 in /home/vagrant/spdk_repo/spdk/autotest.sh:240 -> main(["/home/vagrant/spdk_repo/autorun-spdk.conf"]) 00:52:01.500 ... 00:52:01.500 235 00:52:01.500 236 run_test "nvme_rpc" $rootdir/test/nvme/nvme_rpc.sh 00:52:01.500 237 run_test "nvme_rpc_timeouts" $rootdir/test/nvme/nvme_rpc_timeouts.sh 00:52:01.500 238 00:52:01.500 239 if [ $(uname -s) = Linux ]; then 00:52:01.500 => 240 run_test "sw_hotplug" $rootdir/test/nvme/sw_hotplug.sh 00:52:01.500 241 fi 00:52:01.500 242 00:52:01.500 243 if [[ $SPDK_TEST_XNVME -eq 1 ]]; then 00:52:01.500 244 run_test "nvme_xnvme" $rootdir/test/nvme/xnvme/xnvme.sh 00:52:01.500 245 run_test "blockdev_xnvme" $rootdir/test/bdev/blockdev.sh "xnvme" 00:52:01.500 ... 00:52:01.500 00:52:01.500 ========== Backtrace end ==========