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