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