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