Closed Bug 1885150 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45084 - Retry emulator.wait_for_start() if it fails

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45084 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45084
Details from upstream follow.

James Graham <james@hoppipolla.co.uk> wrote:

Retry emulator.wait_for_start() if it fails

This is a bit of a wallpaper patch, but I think what's going on is that there's a race condition between calling emulator.start() and emulator.wait_for_start() during which adb commands can fail. This should probably be fixed in mozrunner or mozdevice, but for now this workaround seems to be enough; in particular https://community-tc.services.mozilla.com/tasks/IUqaruRyTCKDSqfyBov3lA/runs/0/logs/live/public/logs/live.log is an example where the initial wait_for_start() call failed, but the second one succeeded.

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c8b28ddbb3f4 [wpt PR 45084] - Retry emulator.wait_for_start() if it fails, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.