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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则