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