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