Closed Bug 1767295 Opened 3 years ago Closed 2 years ago

Use a different delay for navigation timers on slow platforms (debug/asan/...)

Categories

(Remote Protocol :: Agent, task, P1)

task
Points:
1

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [webdriver:m4][webdriver:external])

Attachments

(1 file)

See investigation at Bug 1766708 comment #2, on some platforms the unload timer for the shared waitForNavigationCompleted timer is too low to detect an actual expected navigation.

We should increase the delay used for those timers on slow platforms.

Default timer is set at https://searchfox.org/mozilla-central/rev/a730b83206183bf097820c5780eef0d5e4103b9d/remote/shared/Navigate.jsm#119

We can read debug & asan flags from AppConstants.jsm https://searchfox.org/mozilla-central/rev/a730b83206183bf097820c5780eef0d5e4103b9d/toolkit/modules/AppConstants.jsm#243-255

Suggested by :whimboo on Bug 1766708: "Maybe when doing that we might consider a separate Constants.jsm module for Remote Agent?"

Component: geckodriver → Agent
Product: Testing → Remote Protocol
Version: Default → unspecified

Maybe we should not just add longer times for ASAN or debug builds but similarly to web-platform tests work with a multiplier. That way we can apply the same behavior to other timeouts as well as long as we are flexible and there is no strict constrain with a specification.

Priority: -- → P3
Whiteboard: [webdriver:backlog]
See Also: → 1768549
Blocks: 1768549
See Also: 1768549
Blocks: 1778188
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

Hi Julian. Adding this to M4. Add the point value when you are ready.

Flags: needinfo?(jdescottes)
Priority: P3 → P1
Whiteboard: [webdriver:backlog] → [webdriver:m4]
Points: --- → 1
Flags: needinfo?(jdescottes)
Whiteboard: [webdriver:m4] → [webdriver:m4][webdriver:external]

Alternatively we can disable the perma on ccov

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2f68a727ca4 [remote] Extend unload timeout for navigation on slow platforms r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
No longer blocks: 1766708
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: