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