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