-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
CI Run: https://github.com/coder/coder/actions/runs/21963166795
Commit: b1f48f8d472c1636ca051b835b695c89070eed26 (author: ケイラ)
Failing job: test-go-pg-17 (Linux)
Failure time: 2026-02-12T20:35:41Z (same window as Slack alert)
Test failure:
- Package: provisioner/terraform
- Test: TestProvision/external-agent
Log evidence:
=== FAIL: provisioner/terraform TestProvision/external-agent (21.24s)
t.go:111: ... executor: command done args="[init -no-color -input=false -json]" error="exit status 1"
t.go:111: ... init failed error="exit status 1"
t.go:111: ... recv done on Session ... error= drpc: stream terminated by sending error
provision_test.go:1125:
Error: Received unexpected error:
cannot plan before successful init
Notes:
- No data race warnings or panic/OOM indicators in this job section.
- The failing subtest sets
SkipCacheProviders: trueinprovisioner/terraform/provision_test.go, so Terraform init may hit the network for providers; stderr from terraform init was not present in the logs.
Root cause classification: Infrastructure/flaky (terraform init failed; likely transient provider download/registry/network issue, but logs do not include explicit provider error).
Duplicate search summary (coder/internal):
- "TestProvision/external-agent"
- "external-agent" provisioner terraform
- "cannot plan before successful init"
- "drpc" "stream terminated"
Related issues:
- flake: [Infrastructure] Terraform provider install 503 - provisioner/terraform TestProvision/ai-task-app-id #1193 (provider install 503 in TestProvision/ai-task-app-id; similar init failure class)
Assignment analysis:
- Test definition:
provisioner/terraform/provision_test.go(external-agent subtest around lines ~981-1020). - Recent non-trivial test file changes from
git log --oneline -10 --follow provisioner/terraform/provision_test.goshow caching-related updates by Kacper Sawicki (f543a87b) and provisioner changes by Steven Masley (61d7d298, 3194bcf). Assigning to Steven Masley (Emyrk) as provisioner/terraform owner; reassign if needed.
Reproduction (if needed):
go test ./provisioner/terraform -run TestProvision/external-agent -count=1
Reactions are currently unavailable