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