Build Failure Analysis
get_build_failuresIdentify the exact task, host, error message, and return code causing a build failure by parsing Zuul's job-output.json.
Instructions
Analyze a failed build — returns exactly which task failed, on which host, with error message and return code.
Parses Zuul's structured job-output.json for precise failure data. For most use cases, prefer diagnose_build which includes all this data plus failure classification, log context, and timing details.
Failure responses include ref_url/project/change and files_in_failure (file paths extracted from error output). Use these to check whether failing files are part of the change before concluding if a failure is change-related or a pre-existing repo issue.
Args: uuid: Build UUID tenant: Tenant name (uses default if empty) url: Zuul build URL (alternative to uuid + tenant)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| tenant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |