Closed
Bug 1304998
Opened 8 years ago
Closed 8 years ago
enable taskcluster windows opt pgo builds (tier 2)
Categories
(Release Engineering :: General, defect)
Tracking
(firefox52 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: grenade, Assigned: grenade)
Details
Attachments
(2 files, 1 obsolete file)
58 bytes,
text/x-review-board-request
|
dustin
:
review+
|
Details |
752 bytes,
patch
|
Details | Diff | Splinter Review |
somehow we neglected to add pgo builds when enabling debug and opt on taskcluster windows. add support for pgo.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rthijssen
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•8 years ago
|
||
note: in order to test the changes above on try (where we haven't got syntax for pgo), i just added the "enable-pgo" option to the opt builds which are identical to pgo in how they are triggered with the exception of that command line switch being added to the mozharness call. the commit in the review only differs (from the one on try) by not having the enable-pgo options set for the win32-opt and win64-opt builds, only win32-pgo and win64-pgo.
the try test is here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3b055e05fa53205e842989bd0da3317d0565a9d5
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8794130 [details]
Bug 1304998 - enable tc win pgo;
https://reviewboard.mozilla.org/r/80714/#review79424
::: taskcluster/ci/build/windows.yml:41
(Diff revision 1)
> using: mozharness
> script: mozharness/scripts/fx_desktop_build.py
> config:
> - builds/taskcluster_firefox_win32_opt.py
>
> +win32/pgo:
We fix this issue for Linux builds with
https://dxr.mozilla.org/mozilla-central/source/taskcluster/taskgraph/transforms/build_attrs.py#22
if build_type == 'pgo':
build_platform = build_platform + '-pgo'
build_type = 'opt'
attributes = job.setdefault('attributes', {})
attributes.update({
'build_platform': build_platform,
'build_type': build_type,
})
The try syntax is matching on the build_platform and build_type (which only allows "d"ebug and "o"pt). But the treeherder platform is linux64/pgo. It's confusing, that's why there's bug 1286086
::: taskcluster/taskgraph/transforms/gecko_v2_whitelist.py:69
(Diff revision 1)
> 'win32-debug',
> 'win32-opt',
> + 'win32-pgo',
> 'win64-debug',
> 'win64-opt',
> + 'win64-pgo',
These match the index routes used in Buildbot? I'm contractually obligated to ask ;)
::: taskcluster/taskgraph/transforms/job/mozharness.py:190
(Diff revision 1)
> + for option in run.get('options', []):
> + mh_command.append('--' + option)
++
Attachment #8794130 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 4•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8794130 [details]
Bug 1304998 - enable tc win pgo;
https://reviewboard.mozilla.org/r/80714/#review79424
> We fix this issue for Linux builds with
>
> https://dxr.mozilla.org/mozilla-central/source/taskcluster/taskgraph/transforms/build_attrs.py#22
> if build_type == 'pgo':
> build_platform = build_platform + '-pgo'
> build_type = 'opt'
>
> attributes = job.setdefault('attributes', {})
> attributes.update({
> 'build_platform': build_platform,
> 'build_type': build_type,
> })
>
> The try syntax is matching on the build_platform and build_type (which only allows "d"ebug and "o"pt). But the treeherder platform is linux64/pgo. It's confusing, that's why there's bug 1286086
I believe the same transform is working for the Windows builds (build_platform should just be win32, win64)
> These match the index routes used in Buildbot? I'm contractually obligated to ask ;)
I think we're safe:
https://tools.taskcluster.net/index/#gecko.v2.mozilla-central.latest.firefox/gecko.v2.mozilla-central.latest.firefox.win32-pgo
https://tools.taskcluster.net/index/#gecko.v2.mozilla-central.latest.firefox/gecko.v2.mozilla-central.latest.firefox.win64-pgo
Comment 5•8 years ago
|
||
> I believe the same transform is working for the Windows builds (build_platform should just be win32, win64)
Silly me, you're right of course :)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8794130 [details]
Bug 1304998 - enable tc win pgo;
https://reviewboard.mozilla.org/r/80714/#review80638
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0aae2c2bdd0
enable tc win pgo; r=dustin
Keywords: checkin-needed
Assignee | ||
Comment 9•8 years ago
|
||
I managed to miss an important platform distinction in my earlier patch. This corrects that error.
Attachment #8796419 -
Flags: review?(dustin)
Assignee | ||
Updated•8 years ago
|
Attachment #8796419 -
Attachment is patch: true
Updated•8 years ago
|
Attachment #8796419 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 10•8 years ago
|
||
Attachment #8796419 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 11•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Assignee | ||
Comment 12•8 years ago
|
||
please also apply the second patch in this bug, which adds a correction to the first patch
https://bug1304998.bmoattachments.org/attachment.cgi?id=8796434
Comment 13•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4c95282b2888
correct TH pgo platform name; r=dustin
Keywords: checkin-needed
Comment 14•8 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•