Functions | |
def | _get_build_metadata (test_results) |
def | _insert_rows_with_retries (bq, bq_table, bq_rows) |
def | upload_interop_results_to_bq (resultset, bq_table) |
def | upload_results_to_bq (resultset, bq_table, extra_fields) |
Variables | |
string | _DATASET_ID = 'jenkins_test_results' |
string | _DESCRIPTION = 'Test results from master job run on Jenkins' |
int | _EXPIRATION_MS = 365 * 24 * 60 * 60 * 1000 |
list | _INTEROP_RESULTS_SCHEMA |
string | _PARTITION_TYPE = 'DAY' |
string | _PROJECT_ID = 'grpc-testing' |
list | _RESULTS_SCHEMA |
gcp_utils_dir | |
|
private |
Add Kokoro build metadata to test_results based on environment variables set by Kokoro.
Definition at line 71 of file upload_test_results.py.
|
private |
Insert rows to bq table. Retry on error.
Definition at line 88 of file upload_test_results.py.
def python_utils.upload_test_results.upload_interop_results_to_bq | ( | resultset, | |
bq_table | |||
) |
Upload interop test results to a BQ table. Args: resultset: dictionary generated by jobset.run bq_table: string name of table to create/upload results to in BQ
Definition at line 145 of file upload_test_results.py.
def python_utils.upload_test_results.upload_results_to_bq | ( | resultset, | |
bq_table, | |||
extra_fields | |||
) |
Upload test results to a BQ table. Args: resultset: dictionary generated by jobset.run bq_table: string name of table to create/upload results to in BQ extra_fields: dict with extra values that will be uploaded along with the results
Definition at line 108 of file upload_test_results.py.
|
private |
Definition at line 31 of file upload_test_results.py.
|
private |
Definition at line 32 of file upload_test_results.py.
|
private |
Definition at line 34 of file upload_test_results.py.
|
private |
Definition at line 54 of file upload_test_results.py.
|
private |
Definition at line 35 of file upload_test_results.py.
|
private |
Definition at line 36 of file upload_test_results.py.
|
private |
Definition at line 37 of file upload_test_results.py.
python_utils.upload_test_results.gcp_utils_dir |
Definition at line 26 of file upload_test_results.py.