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