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