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