agentplat▸control runs deployments agents metering + agent
← runs

run_7b2030aa746b5212

SUCCEEDED retrigger →
jira-triage v1 · jira-triage-srein · owner ingest:jira-new-ticket (api) · via jira-new-ticket · cloud-engineering

input

{
  "request": "Triage Jira ticket SREIN-1696: STMO Deployment Failure in Jenkins with terraform error",
  "references": [
    "https://mozilla-hub.atlassian.net/browse/SREIN-1696"
  ],
  "sourceContext": {
    "issue": "SREIN-1696"
  }
}

summary

SREIN-1696 reports a failed STMO/Redash production deployment (Jenkins build #117, gcp-pipelines/stmo/stmo-production) that died during the "Prod: Bootstrap" step. The stack trace shows deploylib's bootstrap step calling `terraform output -json` against the `resources` Terraform module for the target realm/env, and that command exited non-zero, causing `helm.HelmLibrary.template()` to fail before Helm rendering could even begin. The ticket has no comments yet and is unassigned/Backlog with "Not urgent" priority set by the reporter (Data Platform Engineering). No runbook/Confluence doc is linked in the ticket, so triage must rely on the stack trace alone; deeper diagnosis requires the raw Jenkins console log (only the Python traceback is captured in the description, not the terraform stderr).

findings

  • none

proposed actions

none

tool calls

[
  {
    "capability": "jira.issue.read",
    "args": {
      "key": "SREIN-1696"
    },
    "result": {
      "key": "SREIN-1696",
      "summary": "STMO Deployment Failure in Jenkins with terraform error",
      "status": "Backlog",
      "description_text": "Service:  STMO/Redash Engineering Team:  Data Platform Engineering Details and context:  See below Request:  Please help fix the STMO deployment so it can proceed to prod Urgency:  Not urgent  Build #117 for STMO ( https://ops-master.jenkinsv2.prod.mozaws.net/job/gcp-pipelines/job/stmo/job/stmo-production/117/ ) failed in the Prod: Bootstrap step with the following stack trace in the logs: Traceback (most recent call last):\n  File \"/home/jenkins/slave/workspace/gcp-pipelines/stmo/stmo-production/./projects/stmo/tasks\", line 8, in <module>\n    cli.group()\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 782, in main\n    rv = self.invoke(ctx)\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1259, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File \"/usr/local/lib/python3.9/site-packages/click/core.py\", line 610, in invoke\n    return callback(*args, **kwargs)\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/cli.py\", line 212, in bootstrap\n    helm.HelmLibrary(\"bootstrap\").template(\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/helm.py\", line 210, in template\n    helpers.terraform_outputs_to_rule(app.resources_tf_outputs(realm, env))\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/app.py\", line 35, in resources_tf_outputs\n    return terraform.outputs(os.path.join(self.env_tfdir(realm, env), \"resources\"))\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/terraform.py\", line 23, in outputs\n    data = json.loads(run(\"output\", \"-json\", dir=dir).stdout)\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/terraform.py\", line 19, in run\n    return helpers.run(args, cwd=dir, **kwargs)\n  File \"/usr/local/lib/python3.9/site-packages/deploylib/helpers.py\", line 28, in run\n    res.check_returncode()\n  File \"/usr/local/lib/python3.9/subprocess.py\", line 460, in check_returncode\n    raise CalledProcessError(self.returncode, self.args, self.stdout,\nsubprocess.CalledProcessError: Command '('terraform', 'output', '-json')' returned non-zero exit status 1.",
      "comment_count": 0,
      "comments": []
    }
  }
]

usage

{
  "model": "claude-sonnet-5",
  "input_tokens": 4145,
  "output_tokens": 2119,
  "estimated_cost_usd": 0.04422
}

approvals

[]

log

launched k8s job run-run-7b2030aa746b5212 in ns/mzcld-demo-dev image=us-docker.pkg.dev/moz-fx-mzcld-demo-prod/mzcld-demo-prod/agentplat:latest
runner started
live reasoning model=claude-sonnet-5