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