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