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