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