Closed Bug 1571501 Opened 5 years ago Closed 5 years ago

[mozdevice 3.0.4] Use exitcode of adb process as exitcode of Android command for Android 7/24 and later

Categories

(Testing :: General, defect)

Version 3
defect
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(1 file)

Before Android 7, an exitcode 0 for the process on the host did not mean that the exitcode of the Android process was also 0. We therefore used the echo adb_returncode=$? hack to obtain it there. However Android 7 and later intermittently do not emit the adb_returncode in stdout using this hack. In Android 7 and later the exitcode of the host process does match the exitcode of the Android process and we can use it directly.

I did a preliminary try run and am going to a full android try run next.

Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b4dcd2cbdb04
[mozdevice 3.0.4] Use exitcode of adb process as exitcode of Android command for Android 7/24 and later, r=jmaher.
See Also: → 1571746
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → bob
Regressions: 1572563
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: