This Device Was Unavailable and Skipped

0
gefragt vor 5 Jahren365 Aufrufe
3 Antworten
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!

beantwortet vor 5 Jahren
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

beantwortet vor 5 Jahren
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!

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen