text: '''
  
  @author: FangSun
  '''
  
  
  import zstackwoodpecker.test_lib as test_lib
  import zstackwoodpecker.test_state as test_state
  import zstackwoodpecker.test_util as test_util
  
  
  test_stub = test_lib.lib_get_test_stub()
  test_obj_dict = test_state.TestStateDict()
  
  
  def test():
  
      pub_l3_vm, vm1, vm2 = test_stub.generate_pub_test_vm(tbj=test_obj_dict)
  
      for vm in (pub_l3_vm, vm1, vm2):
          test_stub.migrate_vm_to_random_host(vm)
          vm.check()
  
      test_util.test_pass('pub vm volume migration check pass')
  
  
  def env_recover():
      test_lib.lib_error_cleanup(test_obj_dict)
  
  