Commit a396d38e authored by Kenneth Russell's avatar Kenneth Russell Committed by Commit Bot

Update WebGL 1.0 and 2.0 conformance run times from bots.

Done with:

./gather_swarming_json_results.py \
  --step webgl_conformance_gl_passthrough_tests \
  --output=../data/gpu/webgl_conformance_tests_output.json

./gather_swarming_json_results.py \
  --step webgl2_conformance_gl_passthrough_tests \
  --output=../data/gpu/webgl2_conformance_tests_output.json

Updated documentation and defaults of gather_swarming_json_results.py.

Bug: 1152197
Change-Id: I6f4f2081af03e2be9936c41ee2d97eb02af558f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559316Reviewed-by: default avatarYuly Novikov <ynovikov@chromium.org>
Reviewed-by: default avatarJamie Madill <jmadill@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831045}
parent 575e18a4
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -26,6 +26,8 @@ def GetBuildData(method, request):
# The Python docs are wrong. It's fine for this payload to be just
# a JSON string.
headers = {'content-type': 'application/json', 'accept': 'application/json'}
logging.debug('Making request:')
logging.debug('%s', request)
url = urllib2.Request(
'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds/' + method,
request, headers)
......@@ -156,7 +158,22 @@ def GatherResults(bot, build, step):
def main():
rest_args = sys.argv[1:]
parser = argparse.ArgumentParser(
description='Gather JSON results from a run of a Swarming test.',
description="""
Gather JSON results from a run of a Swarming test.
Example invocation to fetch the WebGL 1.0 test runtimes from Linux FYI
Release (NVIDIA):
gather_swarming_json_results.py \
--step webgl_conformance_gl_passthrough_tests \
--output=../data/gpu/webgl_conformance_tests_output.json
Example invocation to fetch the WebGL 2.0 runtimes:
gather_swarming_json_results.py \
--step webgl2_conformance_gl_passthrough_tests \
--output=../data/gpu/webgl2_conformance_tests_output.json
""",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
'-v',
......@@ -173,9 +190,8 @@ def main():
type=int,
help='Which build to fetch. If not specified, use '
'the latest successful build.')
parser.add_argument(
'--step',
default='webgl2_conformance_tests',
parser.add_argument('--step',
default='webgl2_conformance_gl_passthrough_tests',
help='Which step to fetch (treated as a prefix)')
parser.add_argument(
'--output',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment