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