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