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