00:08:41.312 ========== Backtrace start: ========== 00:08:41.312 00:08:41.313 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent"],["lvs_test/lvol2"],["lvs_test/snap2"]) 00:08:41.313 ... 00:08:41.313 582 echo "$rsp" 00:08:41.313 583 done 00:08:41.313 584 00:08:41.313 585 rc=${!status[*]} 00:08:41.313 586 xtrace_restore 00:08:41.313 => 587 [[ $rc == 0 ]] 00:08:41.313 588 } 00:08:41.313 589 00:08:41.313 590 function rpc_cmd_simple_data_json() { 00:08:41.313 591 00:08:41.313 592 local elems="$1[@]" elem 00:08:41.313 ... 00:08:41.313 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:680 -> test_lvol_set_parent_from_snapshot([]) 00:08:41.313 ... 00:08:41.313 675 [ "$(jq '.[].driver_specific.lvol.clone' <<< "$clone_bdev")" = "true" ] 00:08:41.313 676 [ "$(jq '.[].driver_specific.lvol.base_snapshot' <<< "$clone_bdev")" = '"snap2"' ] 00:08:41.313 677 [ "$(jq '.[].driver_specific.lvol.esnap_clone' <<< "$clone_bdev")" = "false" ] 00:08:41.313 678 00:08:41.313 679 # Try again with aliases instead uuid 00:08:41.313 => 680 rpc_cmd bdev_lvol_set_parent lvs_test/lvol2 lvs_test/snap2 | grep "File exists" 00:08:41.313 681 00:08:41.313 682 # Delete lvol2_temp 00:08:41.313 683 # New state: 00:08:41.313 684 # snap1 <-- lvol1 00:08:41.313 685 # snap2 <-- lvol2 00:08:41.313 ... 00:08:41.572 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_from_snapshot"],["test_lvol_set_parent_from_snapshot"]) 00:08:41.572 ... 00:08:41.572 1116 timing_enter $test_name 00:08:41.572 1117 echo "************************************" 00:08:41.572 1118 echo "START TEST $test_name" 00:08:41.572 1119 echo "************************************" 00:08:41.572 1120 xtrace_restore 00:08:41.572 1121 time "$@" 00:08:41.572 1122 xtrace_disable 00:08:41.572 1123 echo "************************************" 00:08:41.572 1124 echo "END TEST $test_name" 00:08:41.572 1125 echo "************************************" 00:08:41.572 1126 timing_exit $test_name 00:08:41.572 ... 00:08:41.572 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:943 -> main([]) 00:08:41.572 ... 00:08:41.572 938 run_test "test_clone_decouple_parent" test_clone_decouple_parent 00:08:41.572 939 run_test "test_lvol_bdev_readonly" test_lvol_bdev_readonly 00:08:41.572 940 run_test "test_delete_snapshot_with_clone" test_delete_snapshot_with_clone 00:08:41.572 941 run_test "test_delete_snapshot_with_snapshot" test_delete_snapshot_with_snapshot 00:08:41.572 942 run_test "test_bdev_lvol_delete_ordering" test_bdev_lvol_delete_ordering 00:08:41.572 => 943 run_test "test_lvol_set_parent_from_snapshot" test_lvol_set_parent_from_snapshot 00:08:41.572 944 run_test "test_lvol_set_parent_from_esnap" test_lvol_set_parent_from_esnap 00:08:41.572 945 run_test "test_lvol_set_parent_from_none" test_lvol_set_parent_from_none 00:08:41.572 946 run_test "test_lvol_set_parent_failed" test_lvol_set_parent_failed 00:08:41.572 947 00:08:41.572 948 trap - SIGINT SIGTERM EXIT 00:08:41.572 ... 00:08:41.572 00:08:41.572 ========== Backtrace end ========== 00:08:47.187 ========== Backtrace start: ========== 00:08:47.187 00:08:47.187 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent"],["lvs_test/lvol2"],["lvs_test/snap2"]) 00:08:47.187 ... 00:08:47.187 582 echo "$rsp" 00:08:47.187 583 done 00:08:47.187 584 00:08:47.187 585 rc=${!status[*]} 00:08:47.187 586 xtrace_restore 00:08:47.187 => 587 [[ $rc == 0 ]] 00:08:47.187 588 } 00:08:47.187 589 00:08:47.187 590 function rpc_cmd_simple_data_json() { 00:08:47.187 591 00:08:47.187 592 local elems="$1[@]" elem 00:08:47.187 ... 00:08:47.187 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:780 -> test_lvol_set_parent_from_esnap([]) 00:08:47.187 ... 00:08:47.187 775 [ "$(jq '.[].driver_specific.lvol.clone' <<< "$clone_bdev")" = "true" ] 00:08:47.187 776 [ "$(jq '.[].driver_specific.lvol.base_snapshot' <<< "$clone_bdev")" = '"snap2"' ] 00:08:47.187 777 [ "$(jq '.[].driver_specific.lvol.esnap_clone' <<< "$clone_bdev")" = "false" ] 00:08:47.187 778 00:08:47.187 779 # Try again with aliases instead uuid 00:08:47.187 => 780 rpc_cmd bdev_lvol_set_parent lvs_test/lvol2 lvs_test/snap2 | grep "File exists" 00:08:47.187 781 00:08:47.187 782 # Delete lvol2_temp 00:08:47.187 783 # New state: 00:08:47.187 784 # esnap1 00:08:47.187 785 # snap2 <-- lvol2 00:08:47.187 ... 00:08:47.187 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_from_esnap"],["test_lvol_set_parent_from_esnap"]) 00:08:47.187 ... 00:08:47.187 1116 timing_enter $test_name 00:08:47.187 1117 echo "************************************" 00:08:47.187 1118 echo "START TEST $test_name" 00:08:47.187 1119 echo "************************************" 00:08:47.187 1120 xtrace_restore 00:08:47.187 1121 time "$@" 00:08:47.187 1122 xtrace_disable 00:08:47.187 1123 echo "************************************" 00:08:47.187 1124 echo "END TEST $test_name" 00:08:47.187 1125 echo "************************************" 00:08:47.187 1126 timing_exit $test_name 00:08:47.187 ... 00:08:47.187 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:944 -> main([]) 00:08:47.187 ... 00:08:47.187 939 run_test "test_lvol_bdev_readonly" test_lvol_bdev_readonly 00:08:47.187 940 run_test "test_delete_snapshot_with_clone" test_delete_snapshot_with_clone 00:08:47.187 941 run_test "test_delete_snapshot_with_snapshot" test_delete_snapshot_with_snapshot 00:08:47.187 942 run_test "test_bdev_lvol_delete_ordering" test_bdev_lvol_delete_ordering 00:08:47.187 943 run_test "test_lvol_set_parent_from_snapshot" test_lvol_set_parent_from_snapshot 00:08:47.187 => 944 run_test "test_lvol_set_parent_from_esnap" test_lvol_set_parent_from_esnap 00:08:47.187 945 run_test "test_lvol_set_parent_from_none" test_lvol_set_parent_from_none 00:08:47.187 946 run_test "test_lvol_set_parent_failed" test_lvol_set_parent_failed 00:08:47.187 947 00:08:47.187 948 trap - SIGINT SIGTERM EXIT 00:08:47.187 949 killprocess $spdk_pid 00:08:47.187 ... 00:08:47.187 00:08:47.187 ========== Backtrace end ========== 00:08:50.945 ========== Backtrace start: ========== 00:08:50.945 00:08:50.945 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent"],["lvs_test/lvol2"],["lvs_test/snap2"]) 00:08:50.945 ... 00:08:50.945 582 echo "$rsp" 00:08:50.945 583 done 00:08:50.945 584 00:08:50.945 585 rc=${!status[*]} 00:08:50.945 586 xtrace_restore 00:08:50.945 => 587 [[ $rc == 0 ]] 00:08:50.945 588 } 00:08:50.945 589 00:08:50.945 590 function rpc_cmd_simple_data_json() { 00:08:50.945 591 00:08:50.945 592 local elems="$1[@]" elem 00:08:50.945 ... 00:08:50.945 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:864 -> test_lvol_set_parent_from_none([]) 00:08:50.945 ... 00:08:50.945 859 [ "$(jq '.[].driver_specific.lvol.clone' <<< "$clone_bdev")" = "true" ] 00:08:50.945 860 [ "$(jq '.[].driver_specific.lvol.base_snapshot' <<< "$clone_bdev")" = '"snap2"' ] 00:08:50.945 861 [ "$(jq '.[].driver_specific.lvol.esnap_clone' <<< "$clone_bdev")" = "false" ] 00:08:50.945 862 00:08:50.945 863 # Try again with aliases instead uuid 00:08:50.945 => 864 rpc_cmd bdev_lvol_set_parent lvs_test/lvol2 lvs_test/snap2 | grep "File exists" 00:08:50.945 865 00:08:50.945 866 # Delete lvol2_temp 00:08:50.945 867 # New state: 00:08:50.945 868 # snap2 <-- lvol2 00:08:50.945 869 rpc_cmd bdev_lvol_delete "$lvol2_temp_uuid" 00:08:50.945 ... 00:08:50.945 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_from_none"],["test_lvol_set_parent_from_none"]) 00:08:50.945 ... 00:08:50.945 1116 timing_enter $test_name 00:08:50.945 1117 echo "************************************" 00:08:50.945 1118 echo "START TEST $test_name" 00:08:50.945 1119 echo "************************************" 00:08:50.945 1120 xtrace_restore 00:08:50.945 1121 time "$@" 00:08:50.945 1122 xtrace_disable 00:08:50.945 1123 echo "************************************" 00:08:50.945 1124 echo "END TEST $test_name" 00:08:50.945 1125 echo "************************************" 00:08:50.945 1126 timing_exit $test_name 00:08:50.945 ... 00:08:50.945 in /home/vagrant/spdk_repo/spdk/test/lvol/snapshot_clone.sh:945 -> main([]) 00:08:50.945 ... 00:08:50.945 940 run_test "test_delete_snapshot_with_clone" test_delete_snapshot_with_clone 00:08:50.945 941 run_test "test_delete_snapshot_with_snapshot" test_delete_snapshot_with_snapshot 00:08:50.945 942 run_test "test_bdev_lvol_delete_ordering" test_bdev_lvol_delete_ordering 00:08:50.945 943 run_test "test_lvol_set_parent_from_snapshot" test_lvol_set_parent_from_snapshot 00:08:50.945 944 run_test "test_lvol_set_parent_from_esnap" test_lvol_set_parent_from_esnap 00:08:50.945 => 945 run_test "test_lvol_set_parent_from_none" test_lvol_set_parent_from_none 00:08:50.945 946 run_test "test_lvol_set_parent_failed" test_lvol_set_parent_failed 00:08:50.945 947 00:08:50.945 948 trap - SIGINT SIGTERM EXIT 00:08:50.945 949 killprocess $spdk_pid 00:08:50.945 ... 00:08:50.945 00:08:50.945 ========== Backtrace end ========== 00:09:52.249 ========== Backtrace start: ========== 00:09:52.249 00:09:52.249 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent_bdev"],["lvs_test/lvol"],["esnap2"]) 00:09:52.249 ... 00:09:52.249 582 echo "$rsp" 00:09:52.249 583 done 00:09:52.249 584 00:09:52.249 585 rc=${!status[*]} 00:09:52.249 586 xtrace_restore 00:09:52.249 => 587 [[ $rc == 0 ]] 00:09:52.249 588 } 00:09:52.249 589 00:09:52.249 590 function rpc_cmd_simple_data_json() { 00:09:52.249 591 00:09:52.249 592 local elems="$1[@]" elem 00:09:52.249 ... 00:09:52.529 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:524 -> test_lvol_set_parent_bdev_from_esnap([]) 00:09:52.529 ... 00:09:52.529 519 00:09:52.529 520 # Check lvol consistency 00:09:52.529 521 verify_esnap_clone "$lvol_uuid" "$esnap2_uuid" 00:09:52.529 522 00:09:52.529 523 # Try again with aliases instead uuid 00:09:52.529 => 524 rpc_cmd bdev_lvol_set_parent_bdev lvs_test/lvol esnap2 | grep "File exists" 00:09:52.529 525 00:09:52.529 526 # Calculate again md5 of the first 3 clusters and of last 2 clusters of lvol 00:09:52.529 527 nbd_start_disks "$DEFAULT_RPC_ADDR" "$lvol_uuid" /dev/nbd2 00:09:52.529 528 md5_lvol_1_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$three_clusters_block_count | md5sum) 00:09:52.529 529 md5_lvol_2_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$two_clusters_block_count skip=$three_clusters_block_count | md5sum) 00:09:52.529 ... 00:09:52.529 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_bdev_from_esnap"],["test_lvol_set_parent_bdev_from_esnap"]) 00:09:52.529 ... 00:09:52.529 1116 timing_enter $test_name 00:09:52.529 1117 echo "************************************" 00:09:52.529 1118 echo "START TEST $test_name" 00:09:52.529 1119 echo "************************************" 00:09:52.529 1120 xtrace_restore 00:09:52.529 1121 time "$@" 00:09:52.529 1122 xtrace_disable 00:09:52.529 1123 echo "************************************" 00:09:52.529 1124 echo "END TEST $test_name" 00:09:52.529 1125 echo "************************************" 00:09:52.529 1126 timing_exit $test_name 00:09:52.529 ... 00:09:52.529 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:709 -> main([]) 00:09:52.529 ... 00:09:52.529 704 run_test "test_esnap_reload" test_esnap_reload 00:09:52.529 705 run_test "test_esnap_reload" test_esnap_reload_missing 00:09:52.529 706 run_test "test_esnap_clones" test_esnap_clones 00:09:52.529 707 run_test "test_esnap_late_arrival" test_esnap_late_arrival 00:09:52.529 708 run_test "test_esnap_remove_degraded" test_esnap_remove_degraded 00:09:52.529 => 709 run_test "test_lvol_set_parent_bdev_from_esnap" test_lvol_set_parent_bdev_from_esnap 00:09:52.529 710 run_test "test_lvol_set_parent_bdev_from_snapshot" test_lvol_set_parent_bdev_from_snapshot 00:09:52.529 711 run_test "test_lvol_set_parent_bdev_from_none" test_lvol_set_parent_bdev_from_none 00:09:52.529 712 00:09:52.529 713 trap - SIGINT SIGTERM SIGPIPE EXIT 00:09:52.529 714 killprocess $spdk_pid 00:09:52.529 ... 00:09:52.529 00:09:52.529 ========== Backtrace end ========== 00:09:57.806 ========== Backtrace start: ========== 00:09:57.806 00:09:57.806 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent_bdev"],["lvs_test/lvol"],["esnap1"]) 00:09:57.806 ... 00:09:57.806 582 echo "$rsp" 00:09:57.806 583 done 00:09:57.806 584 00:09:57.806 585 rc=${!status[*]} 00:09:57.806 586 xtrace_restore 00:09:57.806 => 587 [[ $rc == 0 ]] 00:09:57.806 588 } 00:09:57.806 589 00:09:57.806 590 function rpc_cmd_simple_data_json() { 00:09:57.806 591 00:09:57.806 592 local elems="$1[@]" elem 00:09:57.806 ... 00:09:57.806 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:607 -> test_lvol_set_parent_bdev_from_snapshot([]) 00:09:57.806 ... 00:09:57.806 602 00:09:57.806 603 # Check lvol consistency 00:09:57.806 604 verify_esnap_clone "$lvol_uuid" "$esnap1_uuid" 00:09:57.806 605 00:09:57.806 606 # Try again with aliases instead uuid 00:09:57.806 => 607 rpc_cmd bdev_lvol_set_parent_bdev lvs_test/lvol esnap1 | grep "File exists" 00:09:57.806 608 00:09:57.806 609 # Calculate again md5 of the first 3 clusters and of last 2 clusters of lvol 00:09:57.806 610 nbd_start_disks "$DEFAULT_RPC_ADDR" "$lvol_uuid" /dev/nbd2 00:09:57.806 611 md5_lvol_1_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$three_clusters_block_count | md5sum) 00:09:57.806 612 md5_lvol_2_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$two_clusters_block_count skip=$three_clusters_block_count | md5sum) 00:09:57.806 ... 00:09:57.806 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_bdev_from_snapshot"],["test_lvol_set_parent_bdev_from_snapshot"]) 00:09:57.806 ... 00:09:57.806 1116 timing_enter $test_name 00:09:57.806 1117 echo "************************************" 00:09:57.806 1118 echo "START TEST $test_name" 00:09:57.806 1119 echo "************************************" 00:09:57.806 1120 xtrace_restore 00:09:57.806 1121 time "$@" 00:09:57.806 1122 xtrace_disable 00:09:57.806 1123 echo "************************************" 00:09:57.806 1124 echo "END TEST $test_name" 00:09:57.806 1125 echo "************************************" 00:09:57.806 1126 timing_exit $test_name 00:09:57.806 ... 00:09:58.066 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:710 -> main([]) 00:09:58.066 ... 00:09:58.066 705 run_test "test_esnap_reload" test_esnap_reload_missing 00:09:58.066 706 run_test "test_esnap_clones" test_esnap_clones 00:09:58.066 707 run_test "test_esnap_late_arrival" test_esnap_late_arrival 00:09:58.066 708 run_test "test_esnap_remove_degraded" test_esnap_remove_degraded 00:09:58.066 709 run_test "test_lvol_set_parent_bdev_from_esnap" test_lvol_set_parent_bdev_from_esnap 00:09:58.066 => 710 run_test "test_lvol_set_parent_bdev_from_snapshot" test_lvol_set_parent_bdev_from_snapshot 00:09:58.066 711 run_test "test_lvol_set_parent_bdev_from_none" test_lvol_set_parent_bdev_from_none 00:09:58.066 712 00:09:58.066 713 trap - SIGINT SIGTERM SIGPIPE EXIT 00:09:58.066 714 killprocess $spdk_pid 00:09:58.066 715 rm -f "$testdir/aio_bdev_0" 00:09:58.066 ... 00:09:58.066 00:09:58.066 ========== Backtrace end ========== 00:10:02.247 ========== Backtrace start: ========== 00:10:02.247 00:10:02.247 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:587 -> rpc_cmd(["bdev_lvol_set_parent_bdev"],["lvs_test/lvol"],["esnap"]) 00:10:02.247 ... 00:10:02.247 582 echo "$rsp" 00:10:02.247 583 done 00:10:02.247 584 00:10:02.247 585 rc=${!status[*]} 00:10:02.247 586 xtrace_restore 00:10:02.247 => 587 [[ $rc == 0 ]] 00:10:02.247 588 } 00:10:02.247 589 00:10:02.247 590 function rpc_cmd_simple_data_json() { 00:10:02.247 591 00:10:02.247 592 local elems="$1[@]" elem 00:10:02.247 ... 00:10:02.247 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:677 -> test_lvol_set_parent_bdev_from_none([]) 00:10:02.247 ... 00:10:02.247 672 00:10:02.247 673 # Check lvol consistency 00:10:02.247 674 verify_esnap_clone "$lvol_uuid" "$esnap_uuid" 00:10:02.247 675 00:10:02.247 676 # Try again with aliases instead uuid 00:10:02.247 => 677 rpc_cmd bdev_lvol_set_parent_bdev lvs_test/lvol esnap | grep "File exists" 00:10:02.247 678 00:10:02.247 679 # Calculate again md5 of the first 3 clusters and of last 2 clusters of lvol 00:10:02.247 680 nbd_start_disks "$DEFAULT_RPC_ADDR" "$lvol_uuid" /dev/nbd2 00:10:02.247 681 md5_lvol_1_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$three_clusters_block_count | md5sum) 00:10:02.247 682 md5_lvol_2_new=$(dd if=/dev/nbd2 bs=$MALLOC_BS count=$two_clusters_block_count skip=$three_clusters_block_count | md5sum) 00:10:02.247 ... 00:10:02.247 in /home/vagrant/spdk_repo/spdk/test/common/autotest_common.sh:1121 -> run_test(["test_lvol_set_parent_bdev_from_none"],["test_lvol_set_parent_bdev_from_none"]) 00:10:02.247 ... 00:10:02.247 1116 timing_enter $test_name 00:10:02.247 1117 echo "************************************" 00:10:02.247 1118 echo "START TEST $test_name" 00:10:02.247 1119 echo "************************************" 00:10:02.247 1120 xtrace_restore 00:10:02.247 1121 time "$@" 00:10:02.247 1122 xtrace_disable 00:10:02.247 1123 echo "************************************" 00:10:02.247 1124 echo "END TEST $test_name" 00:10:02.247 1125 echo "************************************" 00:10:02.247 1126 timing_exit $test_name 00:10:02.247 ... 00:10:02.247 in /home/vagrant/spdk_repo/spdk/test/lvol/external_snapshot.sh:711 -> main([]) 00:10:02.247 ... 00:10:02.247 706 run_test "test_esnap_clones" test_esnap_clones 00:10:02.247 707 run_test "test_esnap_late_arrival" test_esnap_late_arrival 00:10:02.247 708 run_test "test_esnap_remove_degraded" test_esnap_remove_degraded 00:10:02.247 709 run_test "test_lvol_set_parent_bdev_from_esnap" test_lvol_set_parent_bdev_from_esnap 00:10:02.247 710 run_test "test_lvol_set_parent_bdev_from_snapshot" test_lvol_set_parent_bdev_from_snapshot 00:10:02.247 => 711 run_test "test_lvol_set_parent_bdev_from_none" test_lvol_set_parent_bdev_from_none 00:10:02.247 712 00:10:02.247 713 trap - SIGINT SIGTERM SIGPIPE EXIT 00:10:02.247 714 killprocess $spdk_pid 00:10:02.247 715 rm -f "$testdir/aio_bdev_0" 00:10:02.247 ... 00:10:02.247 00:10:02.247 ========== Backtrace end ==========