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