{
  "id": "python/pytest-cache-miss-error",
  "signature": "CacheError: Cache file '/tmp/pytest-of-user/pytest-123/.pytest_cache/v/cache/nodeids' not found",
  "signature_zh": "缓存错误：未找到缓存文件 '/tmp/pytest-of-user/pytest-123/.pytest_cache/v/cache/nodeids'",
  "regex": "CacheError:\\ Cache\\ file\\ '/tmp/pytest\\-of\\-user/pytest\\-123/\\.pytest_cache/v/cache/nodeids'\\ not\\ found",
  "domain": "python",
  "category": "system_error",
  "subcategory": null,
  "root_cause": "The pytest cache directory is missing or corrupted, often due to manual deletion or concurrent test runs.",
  "root_cause_type": "generic",
  "root_cause_zh": "pytest 缓存目录丢失或损坏，通常是由于手动删除或并发测试运行。",
  "versions": [
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Creating an empty cache file manually",
      "why_fails": "The cache file format is specific; an empty file may cause parsing errors.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Ignoring the error and continuing",
      "why_fails": "Pytest may fail to run or report incorrect results without cache.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Clear the cache directory and let pytest recreate it.",
      "success_rate": 0.95,
      "how": "rm -rf .pytest_cache; pytest --cache-clear",
      "condition": "",
      "sources": []
    },
    {
      "action": "Disable caching with --cache-clear flag each run.",
      "success_rate": 0.9,
      "how": "pytest --cache-clear",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-10-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}