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