Open Bug 2083786 Opened 26 days ago Updated 4 days ago

Update browsertime 29.x.x+ / latest

Categories

(Testing :: Performance, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: kshampur, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [fxp][operational][todo][est-1w])

There have been a lot of changes to browsertime since we last updated. We're currently on 26.3.1, which bundles geckodriver 0.36.0. Skimming the changelog https://github.com/sitespeedio/browsertime/blob/e834ee32896e51463a3cb160d075821fe7280386/CHANGELOG.md there are a lot of beneficial changes, and some breaking ones we need to test first.

The bundled geckodriver still enables system access by passing --remote-allow-system-access to Firefox, but Firefox 159+ only supports the MOZ_REMOTE_ALLOW_SYSTEM_ACCESS env var. So local ./mach raptor runs fail with "System access is required" (bug 2083658). CI works because it passes the geckodriver built from the tree via --browsertime-geckodriver.

Upstream browsertime 28.3.1 bumped geckodriver to 0.37.1, which sets the env var, so updating should fix local runs without any raptor change.

Other stuff we'd pick up between 26.3.1 and 28.4.0 (latest as of writing):

  • geckodriver with native aarch64 builds
  • Firefox network idle timeout fixes
  • gecko profile and log post processing is now awaited

Possible breaking changes:

  • click commands now use Selenium Actions instead of JavaScript click, so elements need to be visible and interactable. We need to review our scripts that use clicks (mostly the perftest ones in testing/performance)
  • --timeouts.elementWait default changed from 0 to 6000ms
  • Node 22+ is required (should be fine I believe)

And probably expect some metric shifts in Chrome/Firefox as usual.

If the full update is too disruptive, we could use npm overrides to just pin geckodriver to 0.37.1.

there seem to be possible vismet related improvements too which would benefit tp6 + navbench

See Also: → 2033466
Whiteboard: [fxp][operational][todo][est-1w]
See Also: 2033466 → 2057233
See Also: → 2084679
Blocks: 2088061
Summary: Update browsertime 28.x.x+ / latest → Update browsertime 29.x.x+ / latest
Depends on: 2090090
You need to log in before you can comment on or make changes to this bug.