-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Summary
The Integration: CLI Completion & Other job in CI run 33767 exited with code 1 even though the Go test output before the final summary shows all tests passing. No specific failing test or panic was emitted in the console log that was captured from the failed job, and attempts to download the archived log via the storage URL resulted in a CONNECT tunnel failed, response 403.
Failure Details
- Run: 21682961459
- Commit:
f0ac96eb2a9a0c12f8fa3c5c9b6bb73865353d93 - Trigger: push
Root Cause Analysis
The single failed job (Integration: CLI Completion & Other) executes go test for the CLI package, and the log ends with:
FAIL
FAIL github.com/github/gh-aw/pkg/cli 51.067s
followed immediately by Process completed with exit code 1. No failing test name, panic, or stack trace is shown in the captured JSON log, which instead lists only successful tests, so the root cause cannot be determined from the available content. Downloading the full job log from the Azure storage URL returned a 403 error, so no additional context could be retrieved.
Failed Jobs and Errors
- Integration: CLI Completion & Other —
go testfinished withFAILandProcess completed with exit code 1, but there is no failing test reported in the visible logs.
Investigation Findings
- All
go testsubtests captured in the JSON log show--- PASSorpass; none showFAILorpanic. - The only failure indicator is the final
FAILsummary and the non-zero exit code. - Attempting to download the raw job log via the provided URL triggers
CONNECT tunnel failed, response 403, preventing further log inspection.
Recommended Actions
- Rerun the
Integration: CLI Completion & Otherjob to capture the complete log; check the Go test summary for the actual failing test or error message. - Ensure the job’s log artifact can be downloaded (without 403) so future investigations have access to the raw text.
- If rerunning does not reveal a test failure, consider running the affected test suite locally with
go test -run TestCompileWorkflowsCustomDirValidation -json ./pkg/clior similar to reproduce the underlying issue.
Prevention Strategies
- Log the failing test name and assertion before exiting so that
go testfailures always surface explicit diagnostics in the job output. - Ship artifacts/logs in a way that avoids 403 download errors (e.g., ensure the SAS token is valid long enough or use GH artifact download APIs).
AI Team Self-Improvement
Please ensure any investigation script reruns the job with go test -json to capture which test failed and upload the log to a reachable artifact; mention this requirement in instructions.md so future agents include it when diagnosing Go test failures.
Historical Context
No prior investigations in the cache show this exact symptom (go test ending with a bare FAIL summary without a failed test).
AI generated by CI Failure Doctor
To add this workflow in your repository, run
gh aw add githubnext/agentics/workflows/ci-doctor.md@ea350161ad5dcc9624cf510f134c6a9e39a6f94d. See usage guide.
- expires on Feb 5, 2026, 6:26 PM UTC