Commit Graph
6 Commits
Author SHA1 Message Date
Takuto Ikuta 05710d5478 use go swarming client in trigger.py
python client is being deprecated.

Tested by
$ python third_party/angle/scripts/trigger.py --shards=2 -p chromium.tests out/Release base_unittests Ubuntu none

Fixed: chromium:1047115
Change-Id: Id653e2b29e8bf02ab86eaa4c5c767d081fa29dbd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2095654
Commit-Queue: Yuly Novikov <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-03-10 22:28:32 +00:00
Takuto Ikuta 0837bf756b use go isolate client in trigger.py
python client is being deprecated.
I will switch swarming client later.

Tested by
~/chromium/src$ python third_party/angle/scripts/trigger.py -p chromium.tests out/Release base_unittests Ubuntu none

Bug: chromium:1047115
Change-Id: Ibad2bf5ab80b09aadfcd0431fea8c5e97d38655d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2095035
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-03-09 21:30:18 +00:00
Jamie Madill 9e4cf7cab1 Fix vpython caching in trigger.py script.
Several necessary CPID packages were missing from the swarming params.
Add these based on the packages in mb.py:

https://chromium.googlesource.com/chromium/src/tools/mb/+/2192df66cd0ed214bcfbfd387ad0c5c8c0a21eb1/mb.py#586

Allows testing the ANGLE test launcher without modifying recipes.

Bug: angleproject:3162
Change-Id: I3e84bf0d3fd92aed623a918b4d9cfd53f51f2dee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2050427
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-02-12 22:43:08 +00:00
Jonah Ryan-Davis fba3e64e80 Update trigger.py to take extra arguments
The extra_args wildcard doesn't support extra arguments prepended with
'--'. By using the unknown args returned by argparse, you can add
arbitrary args to the swarming call.

Bug: angleproject:3272
Change-Id: I8d4ab1e19ceae80b47cc2331e6e30a4187da863f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1695921
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2019-07-10 17:18:28 +00:00
Geoff Lang d7d42395ac Format all of ANGLE's python code.
BUG=angleproject:3421

Change-Id: I1d7282ac513c046de5d8ed87f7789290780d30a6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1595440
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2019-05-06 18:56:09 +00:00
Jamie Madill e3dc0dfaf4 Add a helper script for triggering tests on swarming.
Usage: trigger.py <GN path> <test> <os_dim> <gpu_dim> <-s shards>

This script can circumvent the trybots when attempting a job on a
specific configuration. It must be used within a Chromium checkout
currently. In the future we can likely use it in standalone.

Optional arguments can specify the number of swarming shards, the pool,
and extra command line test parameters like --gtest_filter.

Bug: angleproject:3272
Change-Id: Ia79f4422786c463378fc7e0f7f5ae4d07bd097a0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1524700
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2019-03-18 18:22:57 +00:00