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