Files
tracer-cloud--opensre/docs/tutorials/investigating-task-failures.mdx
wehub-resource-sync 4b6817381b
Benchmark image — build + push to ECR (any adapter) / build + push (push) Waiting to run
CI / quality (ubuntu-latest) (push) Waiting to run
CI / test (tools-runtime) (push) Waiting to run
CI / test (e2e-general) (push) Waiting to run
CI / test (cli-runtime) (push) Waiting to run
CI / test (e2e-provider-and-openclaw) (push) Waiting to run
CI / test (integrations-and-misc) (push) Waiting to run
CI / coverage-report (push) Blocked by required conditions
CI / test-kubernetes (push) Waiting to run
CI / should-run-thorough (push) Waiting to run
CI / test-thorough (cloudwatch-demo) (push) Blocked by required conditions
CI / test-thorough (flink-ecs) (push) Blocked by required conditions
CI / test-thorough (upstream-lambda) (push) Blocked by required conditions
CI / test-thorough (prefect-ecs-fargate) (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Blocked by required conditions
Release / publish-release (push) Blocked by required conditions
Release / publish-main-release (push) Blocked by required conditions
Release / prepare (push) Waiting to run
Release / verify (push) Blocked by required conditions
Release / build-python-dist (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Blocked by required conditions
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Waiting to run
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:10:45 +08:00

97 lines
3.8 KiB
Plaintext

---
title: "Investigating Task Failures"
description: "Debug and resolve failures with Tracer powerful diagnostic tools"
---
## Overview
Tracer automatically captures logs, resource metrics, and system call data for every task, even those that fail.
Therefore, when tasks fail, Tracer provides detailed information to help you understand what went wrong and how to fix it.
Find out how to do this easily below.
<video
autoPlay
loop
muted
playsInline
style={{ width: "100%", maxWidth: "100%" }}
>
<source
src="/images/tutorials/failure-investigation/Investigating-failures.mp4"
type="video/mp4"
/>
Your browser does not support the video tag.
</video>
## Previous Knowledge
Before diving in how we can investigate task failures, it is recommended to have a basic understanding of the following concepts:
<CardGroup cols={2}>
<Card
title="Navigate to Run Overview"
href="/tutorials/viewing-task-status"
>
See the run details
</Card>
<Card title="Viewing Task Status" href="/tutorials/viewing-task-status">
Monitoring your tasks
</Card>
</CardGroup>
## Identifying Failed Tasks
<Steps>
<Step title="Run Overview">
When you see the run overview and notice a failed tool, you can click on the "Logs" tab to see the error summary and exit code.<br/>
![Run Overview](/images/tutorials/failure-investigation/1.png)
<Info> As you can see in the image above, multiple tasks failed and therefore need to be investigated. </Info>
</Step>
<Step title="Choose the Log to Investigate">
Here, all logs of the failed run are shown. Select the log you want to investigate deeper.
![Log Overview](/images/tutorials/failure-investigation/2.png)
</Step>
<Step title="Logs & Insights">
This page displays your log and its insights. It includes an error summary, plus automatic logs with warning and failure indicators.<br/>
Based on this data, our AI identifies likely root causes and tells you what happened, so you know exactly what needs attention. It also provides recommended solutions to resolve the issue.
![Log Details](/images/tutorials/failure-investigation/3.png)
</Step>
<Step title="AI Log Analysis">
Our AI Log Analysis is divide up into three main sections:
1. **Critical Issue Section** - What exactly went wrong
2. **Next steps/Solution Suggestions** - How to resolve the issue and refrain from making the same mistake again
3. **Error Entries** - The specific lines in the log that caused the error
![AI Insights](/images/tutorials/failure-investigation/4.png)
</Step>
<Step title="Log Details">
If you want to dig deeper into the logs, in this section you can see the full log with highlighted error lines.<br/>
On the right side, you can see the specific error entries that caused the task to fail together with the warning indicators. This also gives you the opportunity to download the full report.
![Log Details](/images/tutorials/failure-investigation/5.png)
<Info> As logs can be very extensive, there are multiple ways of searching through the logs. You can use the search bar to search for specific keywords, or you can use the filter bar to filter for specific error types and you can filter on time as well. </Info>
</Step>
</Steps>
## Common Failure Patterns
### Resource Exhaustion
Tasks may fail due to insufficient resources:
- **Out of Memory (OOM)** - Task exceeded available RAM
- **Disk Space** - Insufficient storage for outputs
- **CPU Timeout** - Task exceeded maximum execution time
<Info>
Tracer's eBPF monitoring captures resource usage leading up to failures,
helping you identify resource constraints.
</Info>
## Next Steps
<Card title="Viewing Task Status" href="/tutorials/viewing-task-status">
Learn how to monitor task execution
</Card>