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