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