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