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