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