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