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