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