Closed Bug 1913163 Opened 1 year ago Closed 1 year ago

[mozdevice] improve resiliency of adb operations

Categories

(Testing :: Mozbase, enhancement)

enhancement

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mozdevice has been plagued by a history of intermittent failures when running adb commands. Maybe that's to be expected when running an external executable that communicates with a remote device?

We have addressed specific intermittent failures with retries...maybe it would be worth the effort to generalize that approach.

Add a simple retry mechanism to shell_output() and enable retries for many mozdevice
operations using shell_output(); avoid operations that might have side effects if
non-atomic.

Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed16d568fa02 Enable retries for more mozdevice operations r=jmaher
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Regressions: 1914489
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: