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