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