Closed Bug 1801059 Opened 2 years ago Closed 1 year ago

TPS - Error syncing tabs: tabEngine.getAllClients().find is not a function

Categories

(Firefox :: Sync, defect)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox107 --- unaffected
firefox108 --- wontfix
firefox109 --- fixed

People

(Reporter: isabel_rios, Assigned: skhamis)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fxsync- ])

Attachments

(2 files)

16.57 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document
Details
48 bytes, text/x-phabricator-request
Details | Review
Attached file Firefox-logs.docx

Opening this bug to track this error we are seeing when running the sync integration tests on firefox-ios.

https://storage.googleapis.com/mobile-reports/public/firefox-ios-M1/result_318/SyncIntegrationTests/results/index.html

It happens when we login on Nightly to check if tabs open on mobile are synced.

The error is:
CROSSWEAVE ERROR: [phase phase1] RunNextTestAction failed - TypeError: tabEngine.getAllClients().find is not a function(resource://tps/modules/tabs.jsm:72:49) JS Stack trace: Find@tabs.jsm:72:49

Please see complete log file attached if needed.

We need to narrow down when the error started to happen but it is between Nov 7th and Nov 15th.

Mark, are you aware of any changes that could be causing this? Thanks!

Flags: needinfo?(markh)

Hi Isabel,

This is definitely from the landing on vendoring rust code into desktop: https://bugzilla.mozilla.org/show_bug.cgi?id=1791851 where we had some slight API churn. Specifically this phab patch: https://phabricator.services.mozilla.com/D157981

I'll see if I can get TPS running to understand why that function is failing and put up a patch accordingly.

Flags: needinfo?(markh)
Regressed by: 1791851

Set release status flags based on info from the regressing bug 1791851

Whiteboard: [fxsync- ]
Assignee: nobody → skhamis
Status: NEW → ASSIGNED

Thanks! Let me know if you need more help to debug, test the fix or confirm when it lands that everything is working.

Pushed by skhamis@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6c360a20f2f
Fix Error syncing tabs in tps tests r=isabel_rios
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

The patch landed in nightly and beta is affected.
:skhamis, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(skhamis)
Flags: needinfo?(skhamis)

:isabel_rios should be working now! I'm not familiar with how TPS tests are run on mobile, will this need to be uplifted to 108? I figured since it's tests we don't need to uplift but if that's not correct LMK.

Flags: needinfo?(irios.mozilla)

Yes! It is working! no need to uplift. Thanks!

Flags: needinfo?(irios.mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: