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