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