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