New issue
Advanced search Search tips

Issue 917495 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Add queries to generate_buildbot_json.py

Project Member Reported by kbr@chromium.org, Dec 21

Issue description

The .pyl files in src/testing/buildbot represent a database of which tests run on which machines. It would be helpful to be able to query this database rather than having to scan the generated .json files.

Queries which would be useful:

 - Which tests run on a particular bot
 - On which bots a particular test runs
 - Tests which contain a particular property (like 'should_retry_with_patch')

A "-q" or "--query" argument to generate_buildbot_json.py could handle all of these. It could auto-detect whether the argument is a bot, test, or property name/value. Optionally, it could output its results in JSON format for easier consumption by other tools.

 
Status: Available (was: Untriaged)
Certainly not a bad idea. Tho it might be a bit misleading to have a non-generating mode of execution to a script called generate_buildbot_json.

Maybe create a separate query_buildbot_json or preferably rename generate_buildbot_json to just buildbot_json?

Sign in to add a comment