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