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