|
25 | 25 | create_issue_typed, |
26 | 26 | extract_error_message, |
27 | 27 | is_boot, |
28 | | - sanitize_dict, |
29 | 28 | ) |
30 | 29 |
|
31 | 30 |
|
@@ -87,42 +86,41 @@ def get_current_row_data( |
87 | 86 | "test_number_value": current_row[10], |
88 | 87 | "test_misc": current_row[11], |
89 | 88 | "test_environment_compatible": current_row[tmp_test_env_comp_key], |
90 | | - "build_id": current_row[13], |
91 | | - "build_origin": current_row[14], |
92 | | - "build_comment": current_row[15], |
93 | | - "build_start_time": current_row[16], |
94 | | - "build_duration": current_row[17], |
95 | | - "build_architecture": current_row[18], |
96 | | - "build_command": current_row[19], |
97 | | - "build_compiler": current_row[20], |
98 | | - "build_config_name": current_row[21], |
99 | | - "build_config_url": current_row[22], |
100 | | - "build_log_url": current_row[23], |
101 | | - "build_status": current_row[24], |
102 | | - "build_misc": current_row[25], |
103 | | - "checkout_id": current_row[26], |
104 | | - "checkout_git_repository_url": current_row[27], |
105 | | - "checkout_git_repository_branch": current_row[28], |
106 | | - "checkout_git_commit_tags": current_row[29], |
107 | | - "checkout_origin": current_row[30], |
108 | | - "incident_id": current_row[31], |
109 | | - "incident_test_id": current_row[32], |
110 | | - "incident_present": current_row[33], |
111 | | - "issue_id": current_row[34], |
112 | | - "issue_version": current_row[35], |
113 | | - "issue_comment": current_row[36], |
114 | | - "issue_report_url": current_row[37], |
| 89 | + "test_lab": current_row[13], |
| 90 | + "build_id": current_row[14], |
| 91 | + "build_origin": current_row[15], |
| 92 | + "build_comment": current_row[16], |
| 93 | + "build_start_time": current_row[17], |
| 94 | + "build_duration": current_row[18], |
| 95 | + "build_architecture": current_row[19], |
| 96 | + "build_command": current_row[20], |
| 97 | + "build_compiler": current_row[21], |
| 98 | + "build_config_name": current_row[22], |
| 99 | + "build_config_url": current_row[23], |
| 100 | + "build_log_url": current_row[24], |
| 101 | + "build_status": current_row[25], |
| 102 | + "build_misc": current_row[26], |
| 103 | + "build_lab": current_row[27], |
| 104 | + "checkout_id": current_row[28], |
| 105 | + "checkout_git_repository_url": current_row[29], |
| 106 | + "checkout_git_repository_branch": current_row[30], |
| 107 | + "checkout_git_commit_tags": current_row[31], |
| 108 | + "checkout_origin": current_row[32], |
| 109 | + "incident_id": current_row[33], |
| 110 | + "incident_test_id": current_row[34], |
| 111 | + "incident_present": current_row[35], |
| 112 | + "issue_id": current_row[36], |
| 113 | + "issue_version": current_row[37], |
| 114 | + "issue_comment": current_row[38], |
| 115 | + "issue_report_url": current_row[39], |
115 | 116 | } |
116 | 117 |
|
117 | 118 | parsed_environment_misc = handle_misc( |
118 | 119 | misc_value_or_default(current_row_data["test_environment_misc"]) |
119 | 120 | ) |
120 | 121 | current_row_data["test_platform"] = parsed_environment_misc.get("platform") |
121 | 122 | current_row_data["parsed_environment_misc"] = parsed_environment_misc |
122 | | - test_misc = sanitize_dict(current_row_data["test_misc"]) |
123 | | - test_runtime_lab = UNKNOWN_STRING |
124 | | - if test_misc is not None: |
125 | | - test_runtime_lab = test_misc.get("runtime", UNKNOWN_STRING) |
| 123 | + test_runtime_lab = current_row_data["test_lab"] or UNKNOWN_STRING |
126 | 124 |
|
127 | 125 | if current_row_data["test_status"] is None: |
128 | 126 | current_row_data["test_status"] = NULL_STATUS |
@@ -495,8 +493,9 @@ def process_filters(instance, row_data: dict, skip_build_filters: bool = False) |
495 | 493 | instance.global_architectures.add(row_data["build_architecture"]) |
496 | 494 | instance.global_compilers.add(row_data["build_compiler"]) |
497 | 495 | instance.unfiltered_origins["build"].add(row_data["build_origin"]) |
498 | | - if (build_misc := row_data["build_misc"]) is not None: |
499 | | - instance.unfiltered_labs["build"].add(build_misc.get("lab", UNKNOWN_STRING)) |
| 496 | + instance.unfiltered_labs["build"].add( |
| 497 | + row_data.get("build_lab") or UNKNOWN_STRING |
| 498 | + ) |
500 | 499 |
|
501 | 500 | build_issue_id, build_issue_version, is_build_issue = ( |
502 | 501 | should_increment_build_issue( |
|
0 commit comments