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