Skip to content

flake: race in TestWorkspaceProxyDERPMeshProbe/ProbeOK #13541

Closed
@dannykopping

Description

@dannykopping

See https://github.com/coder/coder/actions/runs/9466692800/job/26078961476?pr=13537

=== FAIL: enterprise/wsproxy TestWorkspaceProxyDERPMeshProbe/ProbeOK
WARNING: DATA RACE
Write at 0x00c03865c0d0 by goroutine 8583:
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:465 +0x1d8
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d

Previous read at 0x00c03865c0d0 by goroutine 7054:
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x287
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d
WARNING: DATA RACE
Write at 0x00c018fbd46f by goroutine 8583:
  github.com/coder/coder/v2/enterprise/wsproxy_test.TestWorkspaceProxyDERPMeshProbe.func3.2()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy_test.go:658 +0x9a
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x316
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d

Previous write at 0x00c018fbd46f by goroutine 7054:
  github.com/coder/coder/v2/enterprise/wsproxy_test.TestWorkspaceProxyDERPMeshProbe.func3.2()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy_test.go:658 +0x9a
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x316
  github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
      /home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions