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