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