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