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