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