This Device Was Unavailable and Skipped

0
質問済み 5年前365ビュー
3回答
0

Hi, the errors were caused by that we failed to parse the tests in standard environment. Please try to use custom environment https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html.

Thanks!

回答済み 5年前
0

Thank you for the help.

I've tried running in the custom environment (with the default settings). Tried 2 runs but both failed in different way.

In the first run it did the setup and teardown but errored on the test with "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted". Also says: "The bundle “WURRLYeduUITests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle."

https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/91f1db19-85d9-42e3-8d0d-46b5fe23a288/runs/4cf371ce-9108-4a31-9032-8ca5c5c1475d

On the second run (with same settings) it failed to do the setup. (error "Screenshot detected")

https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/91f1db19-85d9-42e3-8d0d-46b5fe23a288/runs/03b27aed-449d-4696-8d05-38fd96dbad06

Any ideas? Thx!

Edited by: SuperRedViking on Apr 25, 2019 9:00 AM

回答済み 5年前
0

Ok, I believe the issue was that the deployment target of the UI test target was set to a higher iOS version than the app target itself. (and higher than the test device).

I lowered the iOS version to 11.1 and was able to complete a successful run on Device Farm. Weeehoo!

回答済み 5年前

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

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

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

関連するコンテンツ