Skip to content

test flake: enterprise/coderd TestRegions/WithProxies #10205

@spikecurtis

Description

@spikecurtis
=== FAIL: enterprise/coderd TestRegions/WithProxies (0.22s)
    t.go:84: 2023-10-11 05:45:12.000 [warn]  🐉 HERE BE DRAGONS: opting into hidden experiment  experiment=moons
    t.go:84: 2023-10-11 05:45:12.001 [debu]  acquirer: subscribed to job postings
    t.go:84: 2023-10-11 05:45:12.001 [debu]  metrics_cache: deployment stats metrics refreshed  took=22.422µs  interval=5m0s
    t.go:84: 2023-10-11 05:45:12.001 [debu]  workspaceapps.stats_collector: workspace app stats collector started
    t.go:84: 2023-10-11 05:45:12.007 [debu]  metrics_cache: template daus metrics refreshed  took=6.484323ms  interval=1h0m0s
    t.go:84: 2023-10-11 05:45:12.040 [debu]  successfully subscribed to pubsub
    t.go:84: 2023-10-11 05:45:12.040 [debu]  syncing licensed entitlements
    t.go:84: 2023-10-11 05:45:12.040 [debu]  synced licensed entitlements
    t.go:84: 2023-10-11 05:45:12.112 [debu]  POST  host=localhost:37715  path=/api/v2/users/first  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.041244979Z"  took=70.843685ms  status_code=201  latency_ms=70  request_id=377ac74a-0ee7-4314-bbdb-99e05b246050
    t.go:84: 2023-10-11 05:45:12.123 [debu]  POST  host=localhost:37715  path=/api/v2/users/login  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.114229987Z"  took=9.258229ms  status_code=201  latency_ms=9  request_id=a9b381d3-6122-48b5-a991-cf427ff24941
    t.go:84: 2023-10-11 05:45:12.149 [debu]  got pubsub update
    t.go:84: 2023-10-11 05:45:12.150 [debu]  syncing licensed entitlements
    t.go:84: 2023-10-11 05:45:12.150 [debu]  POST  host=localhost:37715  path=/api/v2/licenses  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.125344286Z"  took=25.028952ms  status_code=201  latency_ms=25  request_id=a6676e2e-0eca-4359-b262-246e13ede142
    t.go:84: 2023-10-11 05:45:12.151 [debu]  synced licensed entitlements
    t.go:84: 2023-10-11 05:45:12.157 [debu]  POST  host=localhost:37715  path=/api/v2/workspaceproxies  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.151761193Z"  took=5.655223ms  status_code=201  latency_ms=5  request_id=d4472738-815a-4106-820c-af830a6c5e75
    t.go:84: 2023-10-11 05:45:12.159 [debu]  GET  host=localhost:37715  path=/api/v2/buildinfo  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.159204478Z"  took=220.613µs  status_code=200  latency_ms=0  request_id=88df27a6-d62b-4324-8b88-d69bc258dbbe
    t.go:84: 2023-10-11 05:45:12.171 [debu]  POST  host=localhost:37715  path=/api/v2/workspaceproxies/me/register  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.16711[298](https://github.com/coder/coder/actions/runs/6478461241/job/17590259543#step:5:299)3Z"  took=4.794103ms  status_code=201  latency_ms=4  request_id=b9274934-9af1-4a96-b646-81e2f11f77e4
    t.go:84: 2023-10-11 05:45:12.182 [debu]  GET  host=localhost:37715  path=/api/v2/buildinfo  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.182694915Z"  took=178.955µs  status_code=200  latency_ms=0  request_id=0b56ca0c-ebf9-404a-9c7f-20bc0a938020
    t.go:84: 2023-10-11 05:45:12.181 [debu]  workspaceapps.stats_collector: workspace app stats collector started
    t.go:84: 2023-10-11 05:45:12.183 [debu]  net.workspace-proxy: GET  host=localhost:44791  path=/healthz-report  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.182325764Z"  took=1.04836ms  status_code=200  latency_ms=1  request_id=0682f140-0f1d-4e57-8e88-fa939a3ce9e5
    t.go:84: 2023-10-11 05:45:12.189 [debu]  GET  host=localhost:37715  path=/api/v2/regions  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.188964516Z"  took=754.681µs  status_code=200  latency_ms=0  request_id=80454437-11d8-4c58-8529-8b703345824e
    workspaceproxy_test.go:142: 
        	Error Trace:	/home/runner/actions-runner/_work/coder/coder/enterprise/coderd/workspaceproxy_test.go:142
        	Error:      	Should be true
        	Test:       	TestRegions/WithProxies
    t.go:84: 2023-10-11 05:45:12.191 [debu]  POST  host=localhost:37715  path=/api/v2/workspaceproxies/me/deregister  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.191117151Z"  took=640.667µs  status_code=204  latency_ms=0  request_id=6083475b-8850-440f-836c-7d501806eb9e
    t.go:84: 2023-10-11 05:45:12.193 [debu]  workspaceapps.stats_collector: flushing workspace app stats
    t.go:84: 2023-10-11 05:45:12.193 [debu]  workspaceapps.stats_collector: flushed workspace app stats
    t.go:84: 2023-10-11 05:45:12.193 [debu]  workspaceapps.stats_collector: workspace app stats collector stopped
    t.go:84: 2023-10-11 05:45:12.193 [warn]  net.workspace-proxy: GET  host=localhost:44791  path=/healthz-report  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2023-10-11T05:45:12.19[302](https://github.com/coder/coder/actions/runs/6478461241/job/17590259543#step:5:303)3524Z"  took=107.402µs  status_code=500  latency_ms=0  response_body="\"workspace proxy in middle of shutting down\"\n"  request_id=746884d9-738d-49ea-a246-9f18194b5632
    t.go:84: 2023-10-11 05:45:12.194 [debu]  workspaceapps.stats_collector: flushing workspace app stats
    t.go:84: 2023-10-11 05:45:12.194 [debu]  workspaceapps.stats_collector: flushed workspace app stats
    t.go:84: 2023-10-11 05:45:12.194 [debu]  workspaceapps.stats_collector: workspace app stats collector stopped
    stuntest.go:63: STUN server shutdown

Seen on: https://github.com/coder/coder/actions/runs/6478461241/job/17590259543

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