[Raptor] @mozilla/raptor doesn't work on older Gaia versions

RESOLVED FIXED in FxOS-S4 (07Aug)

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: Eli, Assigned: Eli)

Tracking

unspecified
FxOS-S4 (07Aug)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

3 years ago
Created attachment 8640749 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/13

When trying to run @mozilla/raptor against an older version of Gaia, it hangs on waiting for the b2g restart to finish, even though it boots up properly.

This is due to the System app only recently adding in the fullyLoaded mark.
(Assignee)

Updated

3 years ago
Attachment #8640749 - Attachment is obsolete: true
(Assignee)

Comment 1

3 years ago
Created attachment 8640773 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/14

Tested this by checking out an offending older Gaia commit [1], resetting Gaia [2], and testing the music app [3].

[1] 876ec31
[2] RAPTOR=1 GAIA_OPTIMIZE=1 NO_LOCK_SCREEN=1 NOFTU=1 SCREEN_TIMEOUT=0 make reset-gaia
[3] DEBUG=raptor:* raptor test coldlaunch --app music
Attachment #8640773 - Flags: review?(rwood)
Tested. Everything is awesome !

Updated

3 years ago
Blocks: 1170149
(Assignee)

Comment 3

3 years ago
Great, thank you Hub!

Comment 4

3 years ago
Comment on attachment 8640773 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/14

LGTM, and tested this change with current gaia only (since it was already tested sufficiently with older gaia).
Attachment #8640773 - Flags: review?(rwood) → review+
(Assignee)

Comment 5

3 years ago
In master: https://github.com/mozilla-b2g/raptor/commit/0e444e01fffae8ffcb99daa45b7349c4adfb039f
In npm: @mozilla/raptor v1.4.4
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.