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