Closed Bug 1191477 Opened 9 years ago Closed 9 years ago

Set RETRY when the Android emulator fails to install the Fennec APK

Categories

(Release Engineering :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
Tracking Status
firefox43 --- fixed

People

(Reporter: RyanVM, Assigned: gbrown)

Details

Attachments

(1 file)

We see these from time to time. Would be nice if we could just auto-retry when they hit.

https://treeherder.mozilla.org/logviewer.html#?job_id=2472277&repo=b2g-inbound

12:04:27 INFO - #####
12:04:27 INFO - ##### Running install step.
12:04:27 INFO - #####
12:04:27 INFO - Running pre-action listener: _resource_record_pre_action
12:04:27 INFO - Running main action method: install
12:04:27 INFO - Running command: ['unzip', '-q', '-o', '/builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk'] in /builds/slave/test/build
12:04:27 INFO - Copy/paste: unzip -q -o /builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk
12:04:28 INFO - Return code: 0
12:04:28 INFO - Reading from file /builds/slave/test/build/package-name.txt
12:04:28 INFO - Contents:
12:04:28 INFO - org.mozilla.fennec
12:04:28 INFO - >> Install Fennec APK: Attempt #1 of 3
12:04:28 INFO - Running timeout 300 /builds/slave/test/build/android-sdk18/platform-tools/adb -s emulator-5554 install -r /builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk
703 KB/s (42404326 bytes in 58.864s)
12:09:28 INFO - pkg: /data/local/tmp/fennec-42.0a1.en-US.android-arm.apk
12:09:28 INFO - Sleeping 30 seconds
12:09:58 INFO - >> Install Fennec APK: Attempt #2 of 3
12:09:58 INFO - Running timeout 300 /builds/slave/test/build/android-sdk18/platform-tools/adb -s emulator-5554 install -r /builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk
error: device not found
- waiting for device -
12:14:58 INFO - Sleeping 30 seconds
12:15:29 INFO - >> Install Fennec APK: Attempt #3 of 3
12:15:29 INFO - Running timeout 300 /builds/slave/test/build/android-sdk18/platform-tools/adb -s emulator-5554 install -r /builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk
error: device not found
- waiting for device -
12:20:29 FATAL - Failed to install /builds/slave/test/build/fennec-42.0a1.en-US.android-arm.apk on test-1
12:20:29 FATAL - Running post_fatal callback...
12:20:29 FATAL - Exiting -1
Flags: needinfo?(gbrown)
Seems like a good idea.
Assignee: nobody → gbrown
Flags: needinfo?(gbrown)
"INFRA-ERROR" should trigger a retry.
Attachment #8647718 - Flags: review?(kmoir)
Attachment #8647718 - Flags: review?(kmoir) → review+
https://hg.mozilla.org/mozilla-central/rev/7ea47f407616
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: