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