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