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