Closed Bug 1655554 Opened 5 years ago Closed 3 years ago

Debugging Firefox failures in raptor is too complicated and needs simplification

Categories

(Testing :: Raptor, task, P2)

task

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: sparky, Assigned: sparky)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fxp])

Attachments

(1 file)

This bug is for finding a way to make it simpler for devs to debug firefox when it's run through Raptor.

Recently, a couple people have been debugging failures on firefox through raptor but raptor is really not setup for this. See some of these conversations with :agi:
(1) https://matrix.to/#/!LfXZSWEroPFPMQcYmw:mozilla.org/$DIUPTlVCgvTBNRDtQu8Qxjad22TYuZIvzoho_oxJYPk?via=mozilla.org&via=matrix.org&via=rduce.org
(2) https://matrix.to/#/!LfXZSWEroPFPMQcYmw:mozilla.org/$kbvnMMip1feJpKAlPveTk80Jd1WAlLBLdpiw8ujb36A?via=mozilla.org

I think a quick win here would be to get a --verbose-try flag available in ./mach try fuzzy that would setup a highly verbose log (with MOZ_LOG set to capture everything). This would depend on bug 1494669 for setting the environment variables from the command line. It would also depend on the --verbose flag from bug 1653617.

I've made a small entry in the wiki to hold the current methodology for debugging these failures: https://wiki.mozilla.org/TestEngineering/Performance/Raptor#Debugging_Desktop_Product_Failures

Whiteboard: [perf:workflow]
Depends on: 1672983
Blocks: dev-pain
Blocks: 1706071

This patch updates browsertime to add the following PR: https://github.com/sitespeedio/browsertime/pull/1798

It enables us to use a --debug flag in browsertime to pause test execution after each script iteration, and provides the ability for developers to pause it on their own by adding debug.breakpoint(name) calls to the test script. The execution can be unpaused by running window.browsertime.pause = false in the browser console.

The devtools panel is auto-opened when in debug-mode, and the browser is detached so it won't auto-close when you hit failures in raptor/browsertime.

This can only be used locally so we now raise a parser error when it's provided in CI.

Assignee: nobody → gmierz2
Status: NEW → ASSIGNED
See Also: → 1772541

The work involving adding an easy way to run with verbose on try will be done in bug 1772541 as part of the try chooser rework (it's possible we end up with a different way of implementing this through that work).

Pushed by gmierz2@outlook.com: https://hg.mozilla.org/integration/autoland/rev/5718cf939e0d Fix debug-mode in Raptor-Browsertime. r=perftest-reviewers,kshampur
No longer blocks: 1706071
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Whiteboard: [perf:workflow] → [fxp]
Duplicate of this bug: 1686990
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: