|
|
Chromium Code Reviews|
Created:
4 years ago by Jamie Madill Modified:
3 years, 11 months ago Reviewers:
Ken Russell (switch to Gerrit) CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org, ynovikov Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRun angle_perftests on the GPU FYI bots.
This will help safeguard against future breakage, and be a place to
test the tests before we add them to other bots.
BUG=675997
R=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2591813002
Cr-Commit-Position: refs/heads/master@{#442605}
Committed: https://chromium.googlesource.com/chromium/src/+/ecbaf9756e7cc6f7e4743a614a32ff2e6c3ed2a9
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Moved to non-telemetry isolated tests #Patch Set 4 : Update perftests test target. #Patch Set 5 : rebase #
Total comments: 2
Patch Set 6 : Use shared base generator func. #
Messages
Total messages: 34 (14 generated)
Description was changed from ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org ========== to ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel ==========
Description was changed from ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel ========== to ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel ==========
Ken PTAL. (Yuly, FYI)
lgtm if this passes the trybots. How long do these tests take to run?
a couple minutes or so. nothing onerous.
The CQ bit was checked by jmadill@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_optional_gpu_tests_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_optional_...)
The CQ bit was checked by jmadill@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org Link to the patchset: https://codereview.chromium.org/2591813002/#ps20001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...) win_optional_gpu_tests_rel on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_optional_gpu_...)
Ken, I'm a bit stumped - I need to pick a path for the perf harness to write to, and I don't know what to put. I know I can add extra test args in the generator, just not sure which path to use. Any suggestion?
Relevant error:
usage: run_gtest_perf_test.py [-h] --isolated-script-test-output
ISOLATED_SCRIPT_TEST_OUTPUT
--isolated-script-test-chartjson-output
ISOLATED_SCRIPT_TEST_CHARTJSON_OUTPUT [--xvfb]
run_gtest_perf_test.py: error: argument --isolated-script-test-output is
required
On 2016/12/22 20:45:15, Jamie Madill wrote: > Relevant error: > > usage: run_gtest_perf_test.py [-h] --isolated-script-test-output > ISOLATED_SCRIPT_TEST_OUTPUT > --isolated-script-test-chartjson-output > ISOLATED_SCRIPT_TEST_CHARTJSON_OUTPUT [--xvfb] > run_gtest_perf_test.py: error: argument --isolated-script-test-output is > required This error is happening because this is the first non-Telemetry-based isolated script test that generate_buildbot_json has dealt with so far. It'll be necessary to put this in the "isolated_scripts" section of the resulting JSON files. However, the "generate_telemetry_test" function is a little over-specialized, and I wouldn't recommend contorting it to make it work for this case. So, I recommend: 1) Add a new section to the file, similar to COMMON_GTESTS, like ISOLATED_SCRIPT_TESTS, or NON_TELEMETRY_ISOLATED_SCRIPT_TESTS. Put the new entry for angle_perftests in there. 2) Write a new generator, similar to generate_telemetry_test, which outputs the desired data into the JSON file. Note that the new generator shouldn't have any references to telemetry_gpu_test or telemetry_gpu_integration_test; it should pick up the name of the isolate from the name of the test (in this case, angle_perftests). 3) Invoke this generator when assembling the isolated_scripts array in generate_all_tests.
Thanks for the detailed guide Ken, but I'm confused about one thing. Your instructions seem to read like you expect the json to be an input to the perf tests. I think they're actually a temporary output file for the results of the run. Just wanted to confirm I was understanding you correctly. Do you know where I should place this temporary garbage file? Or how to clean it up? Even if I follow your steps this isn't clear to me.
On 2017/01/05 13:46:52, Jamie Madill wrote: > Thanks for the detailed guide Ken, but I'm confused about one thing. > > Your instructions seem to read like you expect the json to be an input to the > perf tests. I think they're actually a temporary output file for the results of > the run. Just wanted to confirm I was understanding you correctly. Do you know > where I should place this temporary garbage file? Or how to clean it up? Even if > I follow your steps this isn't clear to me. The recipes choose the name for this temporary output file and pass the --isolated-script-test-output flag to the target test when it's the "isolated_script" type rather than the "gtest" type. Sorry, I now realize the description above was confusing. In step (2) above I was talking about the chromium.gpu.fyi.json file. The main thing is to modify generate_buildbot_json.py to have a new section for ISOLATED_SCRIPT_TESTS.
On 2017/01/05 16:02:35, Ken Russell wrote: > On 2017/01/05 13:46:52, Jamie Madill wrote: > > Thanks for the detailed guide Ken, but I'm confused about one thing. > > > > Your instructions seem to read like you expect the json to be an input to the > > perf tests. I think they're actually a temporary output file for the results > of > > the run. Just wanted to confirm I was understanding you correctly. Do you know > > where I should place this temporary garbage file? Or how to clean it up? Even > if > > I follow your steps this isn't clear to me. > > The recipes choose the name for this temporary output file and pass the > --isolated-script-test-output flag to the target test when it's the > "isolated_script" type rather than the "gtest" type. > > Sorry, I now realize the description above was confusing. In step (2) above I > was talking about the chromium.gpu.fyi.json file. The main thing is to modify > generate_buildbot_json.py to have a new section for ISOLATED_SCRIPT_TESTS. Ah, yes, thank you, I was confused by the use of the term json. I'll take a look, thanks for the advice!
CQ'ing this, thanks for the help Ken. Feel free to de-CQ if there's something objectionable, but for expediency I am going to CQ now.
The CQ bit was checked by jmadill@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org Link to the patchset: https://codereview.chromium.org/2591813002/#ps80001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
LGTM. Thanks for taking care of this. Two minor comments which you don't have to address in this commit. https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... File content/test/gpu/generate_buildbot_json.py (right): https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... content/test/gpu/generate_buildbot_json.py:1625: def generate_non_telemetry_isolated_test(tester_name, tester_config, Could you add a TODO about refactoring this and generate_telemetry_test? There could be a base function "generate_isolated_test" which takes in the additional information that generate_telemetry_test computes (like extra_browser_args_string and the isolate name), and both this one and the other could call it, reducing duplicated code. https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... content/test/gpu/generate_buildbot_json.py:1645: # Prepend Telemetry GPU-specific flags. Update: "Prepend GPU-specific flags."
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
On 2017/01/10 00:22:34, Ken Russell wrote: > LGTM. Thanks for taking care of this. Two minor comments which you don't have to > address in this commit. > > https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... > File content/test/gpu/generate_buildbot_json.py (right): > > https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... > content/test/gpu/generate_buildbot_json.py:1625: def > generate_non_telemetry_isolated_test(tester_name, tester_config, > Could you add a TODO about refactoring this and generate_telemetry_test? There > could be a base function "generate_isolated_test" which takes in the additional > information that generate_telemetry_test computes (like > extra_browser_args_string and the isolate name), and both this one and the other > could call it, reducing duplicated code. > > https://codereview.chromium.org/2591813002/diff/80001/content/test/gpu/genera... > content/test/gpu/generate_buildbot_json.py:1645: # Prepend Telemetry > GPU-specific flags. > Update: "Prepend GPU-specific flags." Thanks Ken, addressed feedback in Patch Set 6.
The CQ bit was checked by jmadill@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org Link to the patchset: https://codereview.chromium.org/2591813002/#ps100001 (title: "Use shared base generator func.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1484061005935870,
"parent_rev": "3893dd4061e1c702a96da38124c229adfe6bb441", "commit_rev":
"ecbaf9756e7cc6f7e4743a614a32ff2e6c3ed2a9"}
Message was sent while issue was closed.
Description was changed from ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel ========== to ========== Run angle_perftests on the GPU FYI bots. This will help safeguard against future breakage, and be a place to test the tests before we add them to other bots. BUG=675997 R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2591813002 Cr-Commit-Position: refs/heads/master@{#442605} Committed: https://chromium.googlesource.com/chromium/src/+/ecbaf9756e7cc6f7e4743a614a32... ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/ecbaf9756e7cc6f7e4743a614a32... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
