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