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