fix issue on common image over ssh
fix hang issue when execute empty test set