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