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