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