Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
,[BETA] When specified, file bugs to this component, using the beta AutoBug. If you do not want to opt into the beta, specify `bug_component` in your TestGroup instead. TODO(b/154866134): Rename to autobug_component once we've migrated.
Whether to auto-close auto-filed bugs. Alias for "passing_behavior = CLOSE_ON_PASSING";
A list of hotlist ids attached to auto-filed bugs.
The priority of the auto-filed bug. If provided, this will overwrite the priority in the component default template
A list of hotlist id sources Corresponds with the list hotlist_ids (#2)
If True, files separate bugs for each failing target, instead of one bug for each set of targets failing at the same run.
If True; keep only one automantic bug per target, regardless of the number of separate failures a target gets. Requires `file_individual` to be True. Consider setting `num_passes_to_disable_alert` instead if you're tracking flaky tests.
If provided: only raise one bug if the number of failures for a single query by testgrid for a single failure group exceeds this value. Requires 'file_individual' to be True.
If True; file issues for the 'Overall' target, even if otherwise invalid.
If provided: supplements `max_allowed_individual_bugs` field to raise a single bug if the number of failures for a single query by testgrid exceeds the max_allowed_individual_bugs` value, regardless of `TEST_METADATA` configurations. This is useful for filing fewer suspected environmental failure bugs and routing them to a specific location (i.e. an oncall). Requires 'file_individual' to be true and `max_allowed_individual_bugs` to not be empty.
[BETA] If True, query the test metadata API to get issue-routing metadata. Enables routing issues using structured test failures.
If True, file a bug when the tab goes stale. (Requires `alert_stale_results_hours` to be set.)
If True, ignore overall rows when auto-filing.
[BETA] Extra text displayed in opened bugs. e.g., for including a link to a playbook.
Used in:
Scale of issue priority, used to indicate importance of issue.
Used in:
Unspecified; may not set priority at all
See https://developers.google.com/issue-tracker/concepts/issues
A service configuration consisting of multiple test groups and dashboards.
A list of groups of tests to gather.
A list of all of the dashboards for a server.
A list of all the dashboard groups for a server.
Specifies a dashboard.
Used in:
A list of the tabs on the dashboard.
A name for the Dashboard.
A list of notifications attached to this dashboard. This is displayed on any dashboard tab in this dashboard.
Control which tab is displayed when first opening a dashboard. Defaults to Summary
Controls whether to suppress highlighting of failing tabs.
Deprecated: Invert of 'downplay_failing_tabs'
Controls whether to apply special highlighting to result header columns for the current day.
A description paragraph to be displayed.
Specifies a dashboard group.
Used in:
The name for the dashboard group.
A list of names specifying dashboards to show links to in a separate tabbed bar at the top of the page for each of the given dashboards.
A description paragraph to be displayed.
A single tab on a dashboard.
Used in:
,The name of the dashboard tab to display in the client.
The name of the TestGroup specifying the test results for this tab.
Default bug component for manually filing bugs from the dashboard
Default code search path for searching regressions. This value overrides the default in the TestGroup config so that dashboards may be customized separately.
See TestGroup.num_columns_recent. This value overrides the default in the TestGroup config so that dashboards may be customized separately.
Base options to always include, for example: width=20&include-filter-by-regex=level_tests This is taken from the #fragment part of the testgrid url. Best way to create these is to setup the options on testgrid and then copy the #fragment part.
The URL template to visit after clicking on a cell.
The URL template to visit when filing a bug.
The URL template to visit when attaching a bug
Text to show in the about menu as a link to another view of the results.
The URL template to visit after clicking.
The URL template to visit when searching for code changes, such as pull requests
A description paragraph to be displayed.
A regular expression that uses the named group syntax to specify how to show names in a table.
Configuration options for dashboard tab alerts.
Configuration options for dashboard tab flakiness alerts.
Configuration options for customizing dashboard tab status calculation.
A URL for the "About this Dashboard" menu option
The URL template to visit when viewing an associated bug.
If true, auto-file bugs when new alerts occur. This requires that the backing test group has `bug_component` set and uses the backing test group's `auto_bug_options`.
Display user local time on the dashboard when set to true (by default). If false, uses Pacific Timezone for this DashboardTab.
A set of optional LinkTemplates that will become right-click context menu items. TODO(b/159042168) in the near future this should be re-implemented as a generic list of repeated LinkTemplates which users may specify in their reqpective configurations as right-click context menus with names and actions upon being clicked.
When specified, treat a tab as BROKEN as long as one of the most recent columns are "broken" (ratio of failed to total tests exceeds <threshold>).
Options for auto-filed bugs. Using this for a dashboard tab requires specifying `beta_autobug_component` and will opt you into the beta AutoBug.
Options for the configuration of the flakiness analysis tool, on a per tab basis
A set of optional Link Templates when search for diffs between columns.
Configuration options for dashboard tab alerts.
Used in:
Time in hours before an alert will be added to a test results table if the run date of the latest results are older than this time. If zero, no alerts are raised.
The number of consecutive test result failures to see before alerting of a consistent failure. If zero, no alerts are raised.
The comma-separated addresses to send mail.
The number of consecutive test passes to close the alert.
Custom subject for alert mails.
Custom link for further help/instructions on debugging this alert.
Custom text to show for the debug link.
Wait time between emails. If unset or zero, an email will be sent only once it becomes a consistent failure, and not again until it succeeds. TestGrid does not pester about staleness
A custom message
Configuration options for dashboard tab flakiness alerts.
Used in:
The minimum amount of flakiness needed to trigger a flakiness alert. 0=Disable alerts This is a percentage; expected values go from 0 to 100 (100 = 100% flaky)
The comma-separated addresses to send mail.
Custom subject for alert mails.
Minimum time between sending mails.
A custom message TODO(RonWeber): This should be a template
Configuration options for customizing the tab status calculation.
Used in:
Maximum amount of flakiness tolerated to categorize tab as acceptable. Will supplement dashboard tab status message, and mark the tab as ACCEPTABLE in the dashboard group view. Set to "0" to disable. This is configured as a percentage of valid (non-ignored) columns; expected values go from 0.0 to 100.0 (100% = no passing columns is acceptable)
Minimum number of runs required excluding ignored ones. If the non-ignored columns is less than this, tab status will be PENDING.
Columns which contain cells with any status configure below will be ignored. Ignored columns affect the computation of flakiness and non-ignored number of runs.
Used in:
The DefaultConfiguration Proto is deprecated, and will be deleted after Nov 1, 2019. For defaulting behavior, use the yamlcfg library instead.
A default testgroup with default initialization data
A default dashboard tab with default initialization data
GCSConfig specifies results stored in GCS, typically created by prow. Each invocation is stored in a GCS path, containing json metadata files as well as junit and other artifacts specifying the result of the run. More info: https://github.com/GoogleCloudPlatform/testgrid/tree/master/metadata
Used in:
Path to the test result stored in gcs (some-bucket/some/optional/path).
The GCP project where GCS sends notifications for the above prefix.
The pubsub subscription ID in the above topic
A grouping of configuration options for the flakiness analysis tool. Later configuration options could include the ability to choose different kinds of flakiness and choosing if and who to email a copy of the flakiness report.
Used in:
Defaults to false; flakiness analysis is opt-in
Defines the number of days for one interval of analysis. i.e. flakiness will be analyzed for the previous N days starting from Now, and it will be compared to the calculated N days before that for trend analysis.
When to send healthiness emails out, uses cron string format.
A comma-separated list of healthiness email recipients.
A compilable regex string for grouping tests by name. Works the same as the group-by-regex-mask option of base_options: go/testgrid/users/dashboard_guide#grouping-tests An empty string means no grouping. e.g. test name: "//path/to/test - env", regex: ` - \w+` The regex will match " - env" in the above test name and give a group of: //path/to/test <- Group Name - env <- Group Member
Used in:
ID value of hotlists
A label prefix
Options for where to gather linked issues from.
Used in:
(message has no fields)
A simple key/value pair for link options.
Used in:
The key for the option. This is not expanded.
The value for the option. This is expanded the same as the LinkTemplate.
Used in:
The URL template.
The options templates.
An optional name, used for the context menu
A single notification.
Used in:
, ,Required: Text summary of the issue or notice.
Optional: Link to further information, such as a bug, email, document, etc.
ResultStoreConfig specifies results stored in ResultStore.
Used in:
Google Cloud Platform project ID where ResultStore results are stored.
A simple query to filter for particular results. Currently, only allows a query in the form of `target:"<target>"`.
Specifies a group of tests to gather.
Used in:
, ,Name of this TestGroup, for mapping dashboard tabs to tests.
Path to the test result stored in gcs (some-bucket/some/optional/path).
Number of days of test results to gather and serve.
Whether to ignore pending (currently running) test results.
Whether to ignore reported build results. It is recommended that tests report BUILD_FAIL instead of relying on this being disabled.
What to do with the 'Tests name' configuration value. It can replace the name of the test, be appended to the name of the test, or ignored. If it is ignored, then the name of the tests will be the build target.
Tests with names that include these substrings will be removed from the table.
A test grouping option used if not specified by primary_grouping (#29)
DEPRECATED: use DashboardTabAlertOptions > alert_stale_result_hours
DEPRECATED: use DashboardTabAlertOptions > num_failures_to_alert
DEPRECATED: use dashboard_tab.beta_autobug_options.beta_autobug_component instead.
Default code search path for searching regressions. Overridden by code_search_path in DashboardTab.
The number of columns to consider "recent" for a variety of purposes.
Whether to read test metadata from the test results. Information from the test metadata is used to determine where bugs are filed in specific cases.
DEPRECATED: use DashboardTabAlertOptions > alert_mail_to_address instead
DEPRECATED: use DashboardTabAlertOptions > subject
DEPRECATED: use DashboardTabAlertOptions > alert_mail_failure_message
DEPRECATED: use DashboardTabAlertOptions > debug_url
DEPRECATED: use DashboardTabAlertOptions > wait_minutes_between_emails
Whether to treat a combination of passes and failures within one test as a flaky status.
disable_merged_status will restores deprecated behavior of splitting multiple foo rows into foo [2], etc rather a single potentially flaky row.
deprecated - always set to true
When use_kubernetes_client is on testgrid expects these results to come from prow, which should include a prowjob.json and podinfo.json to help debugging. If you do not expect these files to exist, you can optionally disable this analysis.
deprecated - always set to true
Specifies the test name for a test.
A list of notifications attached to this test group. This is displayed on any dashboard tab backed by this test group.
A primary grouping strategy for grouping test results in columns. If a primary grouping is specified, the fallback grouping is ignored.
Whether to collect pass-fail data for test methods. Additional test cases will be added for each test method in a target.
Test annotations to look for. Adds custom icon to results.
Maximum number of individual test methods to collect for any given test row. If a test has more than this many methods, no methods will be displayed.
Default metadata that should be applied for opening bugs, if a given regex matches against a test's name. Requires 'use_test_metadata = true'.
A space-delimited string of tags that are used to filter test targets. A leading - before the tag means this tag should not be present in the target. Example: contains tag1, but not tag2: test_tag_pattern = 'tag1 -tag2'
DEPRECATED: use dashboard_tab.beta_autobug_options instead.
Max number of days any single test can take.
The number of consecutive test passes to close the alert.
If true, also associate bugs with tests if the test result's overview/group ID is in the bug.
Only show test methods with all required properties
If true, allows gathering and associating bugs with targets in the dashboard. Required in order to auto-file bugs.
Numeric property metric value to be used for short text. If this property is present, it will override all the other short text values.
The key of a key-value pair in metadata (a 'configuration value'). This overrides the default build with the value from the key-value pair.
If true, only associate bugs with test methods if that test method is mentioned in the bug. If false, bugs will be associated with all test methods.
Regex to match test methods. Only test methods with names that match this regex will be included in the table.
Regex to exclude test methods. Test methods with names that match this regex will be excluded from the table, even if they match test_method_match_regex.
If true, test method names are printed with the full class names.
A configuration value that is used as a fallback grouping. This is useful for cases where there are builds that shared the same commit but are run at separate times of day.
Configuration type of the result source.
Set of rules that are evaluated with each test result. If an evaluation is successful, the status of that test result will be whatever is specified for a given rule. For more information, look at RuleSet documention
If true, instead of updating the group, read the state proto from storage and update summary, alerts, etc. from that state. This only applies to test group state, not bug state for a test group. This assumes that the state proto is updated through other means (another updater, manually, etc).
If true, only add the most recent result for a test when multiple results for a test with the same name are encountered.
If True, ignore the 'pass with skips' status (show as a blank cell).
A string containing python formatting specifiers that overrides the commit with the date formatted according to this string. This is useful for aggregating multiple columns that don't have a matching commit.
Specify a property that will be read into state in the user_property field. These can be substituted into LinkTemplates.
Where to gather linked issues from. (Currently a no-op).
Custom column headers for defining extra column-heading rows from values in the test result.
Used in:
If true, list all distinct values. Else, list multiple distinct values as "*".
Used in:
When using this, ensure fallback_grouping_configuration_value is also set.
A string key value pair message
Used in:
Used in:
Used in:
GCS buckets holding junit and json results, typically created by prow.
Invocations stored in ResultStore.
Associates the presence of a named test property with a custom short text displayed over the results. Short text must be <=5 characters long.
Used in:
Used in:
Default metadata to apply when opening bugs.
Used in:
Apply the following metadata if this regex matches a test's name.
Default bug component to open a bug in.
Default owner to assign a bug to.
List of default users to CC a bug to.
Apply following metadata if this regex matches a test’s failure message.
Specifies the test name, and its source
Used in:
The name elements specifying the target test name for this tab.
Specifies a printf-style format string for name elements. The format string should have as many conversions as there are name_elements. For example, two name_elements could be used with name_format="%s: %s".
Specifies name elements to be selected from configuration values
Used in:
A space-delimited string of labels
Configuration value to use. Valid choice are: 'Tests name': The name of a test case 'Commit': The commit number of the build 'Context', 'Thread': The info extracted from each junit files: - junit_core-os_01.xml -> Context: core-os, Thread: 01 - junit_runner.xml -> Context: runner - junit_01.xml -> Thread: 01 or any metadata key from finished.json, which is copied from your test suite. A valid sample TestNameConfig looks like: test_name_config: name_elements: - target_config: Tests name - target_config: Context name_format: '%s [%s]'
Whether to use the build-target name
A space-delimited string of Bazel build tags.
The key of a test result's property.