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