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