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