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