Jenkins Integration with appium, Testng

Hi,
I have integrated my Appium project with Jenkins. My build is failing, the message displayed “device not ready”. Please let me know the probable cause of this message on Jenkins

Post more info if you need help. Logs or something