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