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