Skip to content

flake: TestUserStatus/StatusOther #1348

@flake-investigator

Description

@flake-investigator

CI Run: https://github.com/coder/coder/actions/runs/21813572229
Job: https://github.com/coder/coder/actions/runs/21813572229/job/62930554168
Commit: d3036d569eeb30d50ed55b0ff68cd5a818a62dce (Dean Sheather)

Failure:

  • TestUserStatus/StatusOther (cli/userstatus_test.go)
  • Error:
Post "http://127.0.0.1:50759/api/v2/users/first": dial tcp 127.0.0.1:50759: connectex: No connection could be made because the target machine actively refused it.
  • The coderdtest server logs show it started, then the request to create the first user failed with connection refused.

Root cause assessment:

  • Flaky test / Windows-only coderdtest server availability. Looks like the test server socket closed or never accepted the connection on this run.
  • No data race warnings, panics, or OOM indicators found in the job logs.

Assignment analysis:

  • git blame -L 14,63 cli/userstatus_test.go -> c83af5e627c5853b6fcecf8d83701d80e57adc95 (Cian Johnston)
  • git log --oneline -10 --follow cli/userstatus_test.go -> most recent change is c83af5e627c5853b6fcecf8d83701d80e57adc95 (Cian Johnston)

Related issues:

Reproduction:

  • Not consistent. Observed in Windows test-go-pg job for main branch.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions