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