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