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