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