Failed to initiate the Appium server

0

Hello,

I'm attempting to launch my application in Swedish, and it functions properly during local execution. To achieve this on my local setup, I use the "appium:locale" and "appium:language" capabilities. However, when I include these capabilities in my spec file on the device farm, I encounter an error message stating, "Appium did not start within 30 seconds. Exiting." I've attempted extending this timeout to 120 seconds without success. The application works fine on the device farm when I remove these additional capabilities. I need assistance in conducting localization tests on the device farm.

質問済み 5ヶ月前178ビュー
1回答
0

Hello, Thank you for posting on AWS re:Post forum. I understand that the Device Farm runs are failing with error "Appium did not start within 30 seconds. Exiting.". Generally speaking, the locale setup for each Device Farm run should not take longer than 30 seconds. Additionally, if the same Appium test (with locale configuration) can run successfully in local environment, it should also work in Device Farm devices. Therefore, please kindly check and confirm if there are any differences between Device Farm test suite and the local test runs (if any). Searching on the error message, it appears the error clause comes from this code snippet [1]. To test and see if such test logic is the one exiting the test runs, could you please remove the IF statement block, starting from "if [[ $appium_initialization_time -gt 30 ]]" ? Alternatively, please try using Schedule Run API to configure locale, instead of configuring from Appium, and see if it would allow the test to pass. Lastly, please consider raising a technical support case from AWS Support Console [3], including the test run ARN and the complete Device Farm test run log output, so that our technical support engineers can further provide in-depth troubleshooting for your particular use case. I hope the above information is helpful. Have a nice day.

Links and References [1] https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html#custom-test-environment-example [2] https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_ScheduleRun.html [3] https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

AWS
サポートエンジニア
Tom_T
回答済み 4ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ