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