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