Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail early when Android device is not booted #1106

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Nov 20, 2023

When an emulator/device doesn't boot (sys.boot_completed is not 1) then it is generally not usable and we run into all sorts of failures like not being able to install APKs: dotnet/dnceng#1448.

Fail early in cases like this and return DEVICE_NOT_FOUND exit code which will also trigger Helix infrastructure logic to e.g. reboot an emulator VM.

@akoeplinger akoeplinger enabled auto-merge (squash) November 20, 2023 11:45
@akoeplinger akoeplinger merged commit eb35abb into dotnet:main Nov 20, 2023
16 of 17 checks passed
@akoeplinger akoeplinger deleted the fail-when-not-booted branch November 20, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants