fail test on ping failure

Change-Id: I700bb3f6e29050bd10fa44a74fd0dc6ad1e4e386