Agents & OrchestrationSûr100100/100
Azp Logs (Ansible)
Download Azure Pipelines CI logs for analysis
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs azp-logs__ansible-ansible__claude-skills-0f003b17080bAnsible
ansible/ansible
Contenu à copier
--- name: azp-logs description: Download Azure Pipelines CI logs for analysis argument-hint: <pr_number|build_id|build_url> allowed-tools: [Bash(gh pr view:*), Bash(gh pr checks:*), Bash(ls:*), Read, Grep] user-invocable: true metadata: origin: Ansible --- Azure Pipelines Logs Downloader ================================ Download Azure Pipelines CI logs for analyzing test failures and CI issues. **IMPORTANT**: Always ask the user before downloading logs. The download may take 5-10 minutes (or longer for large CI runs) depending on the number of jobs and log size. Usage ----- ```bash /azp-logs <pr_number|build_id|build_url> ``` Arguments --------- - `pr_number`: GitHub PR number (will extract build ID from latest CI run) - `build_id`: Azure Pipelines build ID (numeric) - `build_url`: Full Azure Pipelines URL (e.g., <https://dev.azure.com/ansible/ansible/_build/results?buildId=12345>) Implementation -------------- This command uses the existing `hacking/azp/download.py` script to download CI logs. **Before running**: Always confirm with the user before downloading logs. Inform them that: - The download may take 5-10 minutes for a full CI run (potentially longer for very large runs) - Logs will be saved to a directory named after the build ID - The download size can be 10-50MB depending on the number of jobs Process Steps ------------- 1. **Ask user for confirmation**: Explain what will be downloaded and estimated time 2. **Determine build ID**: - If given a PR number: Use `gh pr checks <number>` to get the Azure Pipelines URL - If given a URL: Pass it directly to download.py (it extracts buildId automatically) - If given a build ID: Use directly 3. **Download logs**: Run `hacking/azp/download.py` with appropriate flags: ```bash ./hacking/azp/download.py <build_id_or_url> --console-logs -v ``` 4. **Analyze logs**: After download completes, examine logs in `<build_id>/` directory: - Grep for common failure patterns: `FAILED`, `ERROR`, `Traceback` - Focus on logs from failed jobs (check job names) - Compare with ansibot comments for context Download Script Options ----------------------- The `hacking/azp/download.py` script supports: - `--console-logs`: Download console logs (recommended for CI failure analysis) - `--artifacts`: Download test artifacts - `--run-metadata`: Download run metadata JSON - `--all`: Download everything - `--match-job-name <regex>`: Filter to specific jobs - `--match-artifact-name <regex>`: Filter to specific artifacts - `-v, --verbose`: Show what is being downloaded - `-t, --test`: Dry run (show what would be downloaded) For most CI failure analysis, use `--console-logs` to get the log files. Common Analysis Patterns ------------------------ After downloading logs to `<build_id>/` directory: ```bash # Find all errors and failures grep -r "FAILED\|ERROR\|Traceback" <build_id>/ # Find specific test failures grep -r "FAILED test" <build_id>/ # Find sanity test failures grep -r "The test" <build_id>/ | grep -i "failed" # List all downloaded log files ls -lh <build_id>/ ``` Notes ----- - Logs are downloaded to a directory named after the build ID - Console logs are named after the job hierarchy (e.g., "Job Name Stage Name.log") - The Ansible project is public, so no authentication is required
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Azp Logs (Ansible)
`pr_number`: GitHub PR number (will extract build ID from latest CI run)
`build_id`: Azure Pipelines build ID (numeric)
`build_url`: Full Azure Pipelines URL (e.g., <https://dev.azure.com/ansible/ansible/_build/results?buildId=12345>)
The download may take 5-10 minutes for a full CI run (potentially longer for very large runs)
Comment utiliser Azp Logs (Ansible)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Azp Logs (Ansible)
Dis simplement à ton agent quelque chose comme :
Applique le skill azp-logs__ansible-ansible__claude-skills-0f003b17080b à cette tâche
Utilise azp-logs__ansible-ansible__claude-skills-0f003b17080b pour améliorer cette implémentation
Passe en revue ce sujet avec azp-logs__ansible-ansible__claude-skills-0f003b17080b
Skills liés à Azp Logs (Ansible)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.