check vm if failed