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