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