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