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