Skip to content

Commit

Permalink
Copy emulator log in case of 85 error (#7922)
Browse files Browse the repository at this point in the history
* copy emulator log in case of 85 error

* Apply suggestions from code review

Co-authored-by: Přemek Vysoký <[email protected]>

Co-authored-by: Přemek Vysoký <[email protected]>
  • Loading branch information
Katya Sokolova and premun authored Sep 21, 2021
1 parent 42b72b1 commit 44d5fbe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ case "$exit_code" in
# The only solution is to reboot the machine, so we request a work item retry + agent reboot when this happens
echo 'Encountered ADB_DEVICE_ENUMERATION_FAILURE. This is typically not a failure of the work item. We will run it again and reboot this computer to help its devices'
echo 'If this occurs repeatedly, please check for architectural mismatch, e.g. sending arm64_v8a APKs to an x86_64 / x86 only queue.'
# Copy emulator log
cp /tmp/*-logcat.log "$output_directory"
retry=true
reboot=true
;;
Expand Down

0 comments on commit 44d5fbe

Please sign in to comment.