Closed Bug 1497758 Opened 7 years ago Closed 4 years ago

getCurrentPageShortName returns 'benchmarks' for displaylist_mutate

Categories

(Testing :: Talos, enhancement, P3)

enhancement

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mattwoodrow, Assigned: bradwerth)

References

Details

Attachments

(1 file, 1 obsolete file)

It looks like this code has baked in assumptions about the path structure, and displaylist_mutate is nested one deeper. This causes us to initialize the profiler with the exact same file name for all subtests, which clobber each other and we only get the output for the last one.
I assume we just need to turn off the pagename format: https://searchfox.org/mozilla-central/source/testing/talos/talos/test.py#806 just add that to the displaylist_mutate test: https://searchfox.org/mozilla-central/source/testing/talos/talos/test.py#952 :bebe, want to pick this up soon?
Flags: needinfo?(bebe)
Flags: needinfo?(bebe)
:jmaher please take a look at my comments in the code review https://phabricator.services.mozilla.com/D8363 :mattwoodrow do you have a example on how you initialize the profiler?
Flags: needinfo?(matt.woodrow)
Flags: needinfo?(jmaher)
:bebe, thanks for following up here, I left some comments in the review- I think we are on the wrong track (my fault for making a bad assumption) and getting access to a profile will help us solve this the right way
Flags: needinfo?(jmaher)
Assignee: nobody → bebe
(In reply to Florin Strugariu [:Bebe] from comment #4) > :mattwoodrow do you have a example on how you initialize the profiler? I think he filed this for profiles on try server the display list mutate talos test.
we generate profiles for every push to mozilla-central, here you can see the g4 job which runs displaylist_mutate has profiles for linux/osx/windows: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&tier=1%2C2%2C3&searchStr=talos%2Cg4%2Cprofiling&selectedJob=205791892&revision=9079bbe837184ed183b133a374753865b6768bc4 they all load for me. If there is an edge case to fix, I would like to fix it.
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #7) > we generate profiles for every push to mozilla-central, here you can see the > g4 job which runs displaylist_mutate has profiles for linux/osx/windows: > https://treeherder.mozilla.org/#/jobs?repo=mozilla- > central&tier=1%2C2%2C3&searchStr=talos%2Cg4%2Cprofiling&selectedJob=205791892 > &revision=9079bbe837184ed183b133a374753865b6768bc4 > > they all load for me. If there is an edge case to fix, I would like to fix > it. Apologies, missed this ni?. They do indeed load, but when loaded they give the option of 'benchmarks_pagecycle_1' and 'benchmarks_pagecycle_2' (and cycle_0.profile a sub-option for both). Displaylist_mutate has 3 subtests [1], and with two cycles, I'd expect 6 profiles within the zip, not 2. The code for figuring out the subtest name (getCurrentPageShortName) has a bug where it is computing 'benchmarks' as the subtest name in this case, resulting in all 3 subtests writing to the same output profile file, and overwriting each other. The end result is just the profile from the last subtest, and stored under the 'benchmarks' name, not the actual subtest name. [1] https://searchfox.org/mozilla-central/source/testing/talos/talos/tests/layout/displaylist_mutate.manifest
Flags: needinfo?(matt.woodrow) → needinfo?(jmaher)
thanks :mattwoodrow, this is actionable. :bebe, after you get the new pagesets, this would be useful to look into.
Flags: needinfo?(jmaher) → needinfo?(bebe)
Status: NEW → ASSIGNED
Priority: -- → P2

leaving this as new as I'm not working on it

Assignee: fstrugariu → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(fstrugariu)
Attachment #9016211 - Attachment is obsolete: true

How important is this to be fixed? It stalled for more than half a year now.

Flags: needinfo?(matt.woodrow)
Flags: needinfo?(jmaher)
Priority: P2 → P3

I would assume this isn't of high importance. I think the frustration is when there is a regression in this test the profiler would end up not being very helpful- so low importance is probably due to not needing the profiler for this test as often.

Flags: needinfo?(jmaher)

Yeah, we haven't had to investigate regressions in this test for a while, so it hasn't mattered.

Flags: needinfo?(matt.woodrow)
Blocks: 1706561
Assignee: nobody → bwerth
Status: NEW → ASSIGNED
Pushed by bwerth@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a286cedfc5c0 Make talos getCurrentPageShortName provide unique names for long test urls. r=perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: