CI/CD Failure Explorer
Paste CI logs from several runs: root cause per run, grouped signatures, top causes and fixes.
How it works
Paste or upload logs of several GitHub Actions, GitLab CI or Jenkins runs (separated by "=== run: name ===" lines). Each run is classified by a documented pattern catalogue — test assertions (with test names), compile/type errors, dependency resolution, network/registry timeouts, OOM/exit 137, disk full, timeouts, lint, flaky retries, missing secrets/permissions — and runs are grouped by normalised error signature with counts per branch and day.
- Runs are split at lines "=== run: <name> ===" (header metadata branch=, date=, status= is honoured). ANSI colours, GitHub timestamp prefixes and GitLab section markers are stripped.
- Platform is detected from runner markers (##[group]/##[error], "Running with gitlab-runner", "[Pipeline]"/"Finished: …"). Status comes from the header, then from terminal markers (Process completed with exit code, ERROR: Job failed, Finished: FAILURE/SUCCESS).
- Every line is matched against a catalogue of documented error markers per cause. When several causes appear, the one with the highest causal priority wins: OOM/exit 137 → disk full → timeout → permission/secret → network → dependency → compile → lint → test → flaky → cancelled (e.g. a test crash after an OOM kill is reported as OOM).
- The first matching line is the evidence; its normalised form (paths, SHAs, UUIDs, timestamps, IPs, line numbers and durations replaced by placeholders) is the signature used to group runs. Test failures are grouped by the sorted names of the failing tests.
- Failing test names are extracted from jest/vitest (●/×), pytest (FAILED a::b), go test (--- FAIL), Maven Surefire ([ERROR] Class.method), Gradle (> … FAILED), TAP/node:test (not ok) and RSpec (rspec ./spec …).
- Flaky suspects: tests that fail in some runs of a job but other runs of the same job (name without #number) pass, and passing runs that contain retry markers.
- Unclassified failures are labelled with the closest match from the Error Message Translator pattern database when possible.
Sources
- GitHub Actions: workflow commands (::error, groups) (GitHub Docs)
- GitHub Actions workflow syntax: jobs.<job_id>.timeout-minutes (default 360) (GitHub Docs)
- GitLab CI/CD YAML reference: timeout, retry:when (GitLab Docs)
- Jenkins hudson.model.Result (SUCCESS, UNSTABLE, FAILURE, NOT_BUILT, ABORTED) (Jenkins)
- Bash manual: Exit Status (128+N for fatal signal N; SIGKILL=9 → 137) (GNU)
- Kubernetes: Assign memory resources (OOMKilled when exceeding the limit) (Kubernetes)
- npm config: legacy-peer-deps / ERESOLVE (npm Docs)
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Opsdeck Developer & ops workbench
One deck for CI failures, cron, traces, k8s events, API diffs, query plans and Terraform.
Related tools
- Error Message Translator – Paste a technical error and get the plain-English cause and troubleshooting steps.
- Cron Job Explorer – Paste a crontab or CronJob YAML: plain-English schedules, DST-exact next runs, herds and overlaps.
How to use the CI/CD Failure Explorer
Paste logs from several GitHub Actions, GitLab CI or Jenkins runs and see failures grouped by root cause, signature, branch and day.
What it is for
A red pipeline tells you that something failed. Ten red pipelines in a week raise better questions. Is it the same failure every time? Is it the code, the runner, the registry or a missing secret? Is one test flaky? Scrolling through raw logs one run at a time hides the pattern.
Paste or upload the logs of several runs, separated by lines like === run: test #1841 | branch=main | date=2026-10-05 ===. The tool detects the platform (GitHub Actions, GitLab CI, Jenkins) and the status. Each failure is classified with a catalogue of known error markers: test assertions (with the failing test names), compile and type errors, dependency resolution, network timeouts, out-of-memory and exit 137, disk full, timeouts, lint, missing secrets or permissions, and flaky retries. Runs with the same normalised error line are grouped, with counts per branch and day.
It reads logs, nothing more. It won't see your code or the runner's metrics, and it can misclassify unusual output. Every run shows the evidence line it used, so you can check it.
Worked example
The built-in example has eight runs across all three platforms between 2026-10-05 and 2026-10-08.
6 of 8 runs failed (75%); top cause: Test assertion failure (2×), 5 distinct signatures.
| Run | Platform | Cause | Evidence |
|---|---|---|---|
| test #1841 (main), #1842 (feature/checkout) | GitHub Actions | Test assertion | Cart totals › applies discount codes (expected 90, received 100) |
| build-image #77 | GitLab CI | Network timeout | npm ERR! code ETIMEDOUT |
| build-image #78 | GitLab CI | Dependency resolution | npm ERR! code ERESOLVE |
| integration (release/2.4) | Jenkins | Out of memory / killed | … Killed ./gradlew integrationTest |
| deploy #310 | GitHub Actions | Missing credentials | Credentials could not be loaded … |
| test #1844 | GitHub Actions | Passed after a retry | jest-circus: retrying test "Search › debounces input" |
Per branch, main had 4 failures in 6 runs. The discount-code test is listed as a flaky suspect: it failed in 2 runs while 2 other runs of the test job passed. Since it failed on two different branches with the same wrong value (100 instead of 90), a real bug is just as likely. Check the commits before you quarantine it.
How to read the result
- Summary and failure rate — how bad the period was overall.
- Runs table — one row per run with platform, status, cause, the failing step and the evidence line with its line number.
- Groups — runs that share a normalised signature (paths, SHAs, timestamps, IPs and durations replaced). A group with a high count is your most valuable fix.
- Causes — the share of each cause plus concrete fixes, e.g. exit 137 = 128 + 9 (SIGKILL), so cap tool memory or use a bigger runner.
- By branch / by date — whether failures come from one branch or started on a specific day.
- Flaky suspects — tests that fail in some runs of a job and pass in others, plus passing runs that needed retries.
Tips and common mistakes
- Add
branch=anddate=to each separator line. Without them the branch and day breakdowns are empty. - Number runs of the same job (
test #1841,test #1842). Flaky detection compares runs of the same job name without the#number. - When several causes appear in one log, the most fundamental wins. A test crash after an OOM kill is reported as OOM, so fix memory first.
- Network causes are usually transient, but if the same
ETIMEDOUTgroup keeps growing, add a registry mirror or cache rather than retrying. - "Passed" runs with retry markers are worth reading. Retries hide flaky tests until they fail on a release day.
FAQ
Do I need the separators?
Without === run: … === lines the whole paste is treated as one run. That works for a single log, but grouping and flaky detection need several runs.
Which test frameworks are recognised?
jest and vitest, pytest, go test, Maven Surefire, Gradle, TAP/node:test and RSpec failure formats are recognised for extracting test names.
Why is exit code 137 called out of memory?
137 means the process was killed with signal 9 (128 + 9). In CI that is almost always the kernel or container OOM killer.
Should I redact logs before pasting?
Yes, if they might contain credentials, internal hostnames or customer data. CI platforms only mask secrets they know about. The classifier works on error lines, so removing tokens or URLs doesn't change the result.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://cicdfailureexplorer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://cicdfailureexplorer.usefulweb.site/mcp· tool namecicd_failure_explorer
Example request
curl -s -X POST https://cicdfailureexplorer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'