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