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