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