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