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