{
"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"
}
}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).
[
{
"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": []
}
}
]{
"model": "claude-sonnet-5",
"input_tokens": 4145,
"output_tokens": 2119,
"estimated_cost_usd": 0.04422
}[]