{
  "id": "cicd/jenkins-pipeline-stage-timeout",
  "signature": "org.jenkinsci.plugins.workflow.steps.FlowInterruptedException: The pipeline timed out after 60 minutes. Stage 'Deploy' exceeded the timeout limit set in the Jenkinsfile.",
  "signature_zh": "流水线在60分钟后超时。阶段 'Deploy' 超过了 Jenkinsfile 中设置的超时限制。",
  "regex": "FlowInterruptedException.*The pipeline timed out after.*Stage '.*' exceeded the timeout limit",
  "domain": "cicd",
  "category": "runtime_error",
  "subcategory": null,
  "root_cause": "A Jenkins pipeline stage has a timeout configured (e.g., via timeout() step) that is shorter than the actual execution time of the stage, often due to long-running deployment scripts or resource contention.",
  "root_cause_type": "generic",
  "root_cause_zh": "Jenkins 流水线阶段配置了超时时间（例如通过 timeout() 步骤），该时间短于阶段的实际执行时间，通常由于长时间运行的部署脚本或资源争用。",
  "versions": [
    {
      "version": "Jenkins 2.440",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Jenkins 2.450",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Declarative Pipeline 1.9.3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The timeout is defined in the pipeline code, not in the Jenkins server configuration.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Pipeline-level timeouts take precedence over global settings.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The timeout is a limit on execution time, not a space or cache issue.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the timeout value for the specific stage in the Jenkinsfile, e.g., from 60 to 120 minutes, by modifying the timeout() step.",
      "success_rate": 0.9,
      "how": "Increase the timeout value for the specific stage in the Jenkinsfile, e.g., from 60 to 120 minutes, by modifying the timeout() step.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Optimize the stage script to run faster by parallelizing tasks or reducing resource-intensive operations, such as using parallel() for independent deployment steps.",
      "success_rate": 0.8,
      "how": "Optimize the stage script to run faster by parallelizing tasks or reducing resource-intensive operations, such as using parallel() for independent deployment steps.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Remove the timeout entirely for the stage if it is not critical, but add a timeout at the pipeline level as a safety net.",
      "success_rate": 0.75,
      "how": "Remove the timeout entirely for the stage if it is not critical, but add a timeout at the pipeline level as a safety net.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase the timeout value for the specific stage in the Jenkinsfile, e.g., from 60 to 120 minutes, by modifying the timeout() step.",
    "Optimize the stage script to run faster by parallelizing tasks or reducing resource-intensive operations, such as using parallel() for independent deployment steps.",
    "Remove the timeout entirely for the stage if it is not critical, but add a timeout at the pipeline level as a safety net."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://www.jenkins.io/doc/book/pipeline/syntax/#timeout",
  "official_doc_section": null,
  "error_code": "PIPELINE_STAGE_TIMEOUT",
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2024-05-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}