Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 2778313003: Fix perfbotnot feature param setting from trial testing config. (Closed)

Created:
3 years, 8 months ago by Alexei Svitkine (slow)
Modified:
3 years, 8 months ago
Reviewers:
perezju, jwd
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix perfbotnot feature param setting from trial testing config. Previously, params that were queried via their associated features would not get correctly picked by perfbots using the field trial testing config. This was caused by the generated command-line not using the --enable-features=FeatureName<TrialName syntax. This syntax is needed in order to estable the link between a feature and its associated trial, so that when a field-trial param is looked up by feature, it's able to find it from the associated trial. Adds quotations to these params since "<" characters would otherwise get interpreted by some shells. PERF SHERIFFS: This CL may cause perf bots to move - if so, it means that one of the entries in the field trial testing config that uses both params and features is causing the change but was previously not being correctly tested. If so, we will need to narrow down which one. BUG=706414 Review-Url: https://codereview.chromium.org/2778313003 Cr-Commit-Position: refs/heads/master@{#460498} Committed: https://chromium.googlesource.com/chromium/src/+/d47c7180be6c7531200d034d36c470fb5980f0e4

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -8 lines) Patch
M tools/variations/fieldtrial_util.py View 3 chunks +10 lines, -6 lines 0 comments Download
M tools/variations/fieldtrial_util_unittest.py View 1 chunk +2 lines, -2 lines 2 comments Download

Messages

Total messages: 24 (13 generated)
Alexei Svitkine (slow)
3 years, 8 months ago (2017-03-29 18:29:13 UTC) #3
jwd
lgtm
3 years, 8 months ago (2017-03-29 19:26:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2778313003/1
3 years, 8 months ago (2017-03-29 19:38:40 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/d47c7180be6c7531200d034d36c470fb5980f0e4
3 years, 8 months ago (2017-03-29 19:46:02 UTC) #16
perezju
https://codereview.chromium.org/2778313003/diff/1/tools/variations/fieldtrial_util_unittest.py File tools/variations/fieldtrial_util_unittest.py (right): https://codereview.chromium.org/2778313003/diff/1/tools/variations/fieldtrial_util_unittest.py#newcode70 tools/variations/fieldtrial_util_unittest.py:70: '--disable-features="y<c"'], result) Are we sure that those quotes are ...
3 years, 8 months ago (2017-03-30 08:16:06 UTC) #18
Alexei Svitkine (slow)
https://codereview.chromium.org/2778313003/diff/1/tools/variations/fieldtrial_util_unittest.py File tools/variations/fieldtrial_util_unittest.py (right): https://codereview.chromium.org/2778313003/diff/1/tools/variations/fieldtrial_util_unittest.py#newcode70 tools/variations/fieldtrial_util_unittest.py:70: '--disable-features="y<c"'], result) On 2017/03/30 08:16:06, perezju wrote: > Are ...
3 years, 8 months ago (2017-03-30 14:28:30 UTC) #19
perezju
On 2017/03/30 14:28:30, Alexei Svitkine (slow) wrote: > https://codereview.chromium.org/2778313003/diff/1/tools/variations/fieldtrial_util_unittest.py > File tools/variations/fieldtrial_util_unittest.py (right): > > ...
3 years, 8 months ago (2017-03-30 14:57:44 UTC) #20
Alexei Svitkine (slow)
Looking at the relevant code ( https://cs.chromium.org/chromium/src/base/command_line.cc?rcl=9a50f192a882b65f021c0c13345762c3a4d7a499&l=57) it doesn't look like there's special handling of ...
3 years, 8 months ago (2017-03-30 15:05:59 UTC) #21
Alexei Svitkine (slow)
Sent https://codereview.chromium.org/2789583002/ to fix. Thanks for catching! On Thu, Mar 30, 2017 at 11:05 AM, ...
3 years, 8 months ago (2017-03-30 15:17:54 UTC) #22
perezju
On 2017/03/30 15:17:54, Alexei Svitkine (slow) wrote: > Sent https://codereview.chromium.org/2789583002/ to fix. Thanks for > ...
3 years, 8 months ago (2017-03-30 15:23:36 UTC) #23
Alexei Svitkine (slow)
3 years, 7 months ago (2017-05-02 21:29:48 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2861493002/ by asvitkine@chromium.org.

The reason for reverting is: Creating revert CL for testing..

Powered by Google App Engine
This is Rietveld 408576698