4.1.1 Permit infa test only for online nodes

Permit sanity infrastructure tests only if node is online

Change-Id: I174120b313fd907e2c41c85dc3cf57a2ea0f35bd
Related-Bug: #1323252
Merge "4.1.1 Permit infa test only for online nodes" into stable/4.1