Test Query: Failed virtual machines
If the query rules cannot exclude a virtual machine, and that virtual machine cannot be selected for backup, it is marked as FAILED. The virtual machine is listed as not run in the job details log.
For example: the virtual machine does not have the type of name specified by the Primary VM identifier parameter (such as host name or display name). Or the virtual machine name contains invalid characters. In any case, a virtual machine that is listed as FAILED should be investigated: it may be one that you want to back up.
To see the reason for the failure, click on the virtual machine in the Test query results. An explanation appears at the bottom of the screen.
You can fix this problem in a couple of ways:
Use vSphere Client to configure a host name for the virtual machine.
To exclude the virtual machines that have no host name, construct a query with the IsSet operator.