Skip to content

flake: TestProvisionerDaemon_PSK/AnotherOrgByNameWithUser #553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sreya opened this issue Apr 2, 2025 · 1 comment
Open

flake: TestProvisionerDaemon_PSK/AnotherOrgByNameWithUser #553

sreya opened this issue Apr 2, 2025 · 1 comment
Assignees
Labels

Comments

@sreya
Copy link

sreya commented Apr 2, 2025

Seen here

2025-04-02T05:52:52.1350959Z ==================
2025-04-02T05:52:52.1351119Z WARNING: DATA RACE
2025-04-02T05:52:52.1351309Z Write at 0x00c01a034f38 by goroutine 4515:
2025-04-02T05:52:52.1351536Z   runtime.slicecopy()
2025-04-02T05:52:52.1351881Z       /opt/hostedtoolcache/go/1.24.1/x64/src/runtime/slice.go:355 +0x0
2025-04-02T05:52:52.1352270Z   github.com/lib/pq.(*writeBuf).string()
2025-04-02T05:52:52.1352765Z       /home/runner/go/pkg/mod/github.com/coder/[email protected]/buf.go:69 +0x3de
2025-04-02T05:52:52.1353210Z   github.com/lib/pq.(*conn).prepareTo()
2025-04-02T05:52:52.1353689Z       /home/runner/go/pkg/mod/github.com/coder/[email protected]/conn.go:835 +0x33e
2025-04-02T05:52:52.1354055Z   github.com/lib/pq.(*conn).query()
2025-04-02T05:52:52.1354520Z       /home/runner/go/pkg/mod/github.com/coder/[email protected]/conn.go:916 +0x424
2025-04-02T05:52:52.1354891Z   github.com/lib/pq.(*conn).QueryContext()
2025-04-02T05:52:52.1355382Z       /home/runner/go/pkg/mod/github.com/coder/[email protected]/conn_go18.go:24 +0x1e4
2025-04-02T05:52:52.1355763Z   database/sql.ctxDriverQuery()
2025-04-02T05:52:52.1356163Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/ctxutil.go:48 +0xea
2025-04-02T05:52:52.1356470Z   database/sql.(*DB).queryDC.func1()
2025-04-02T05:52:52.1356850Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1786 +0x265
2025-04-02T05:52:52.1357143Z   database/sql.withLock()
2025-04-02T05:52:52.1357500Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:3574 +0xa6
2025-04-02T05:52:52.1357884Z   database/sql.(*DB).queryDC()
2025-04-02T05:52:52.1358245Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1781 +0x324
2025-04-02T05:52:52.1358535Z   database/sql.(*DB).query()
2025-04-02T05:52:52.1358890Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1764 +0x165
2025-04-02T05:52:52.1359196Z   database/sql.(*DB).QueryContext.func1()
2025-04-02T05:52:52.1359569Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1742 +0xcf
2025-04-02T05:52:52.1359857Z   database/sql.(*DB).retry()
2025-04-02T05:52:52.1360213Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1576 +0x4a
2025-04-02T05:52:52.1360515Z   database/sql.(*DB).QueryContext()
2025-04-02T05:52:52.1360889Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1741 +0x184
2025-04-02T05:52:52.1361200Z   database/sql.(*DB).QueryRowContext()
2025-04-02T05:52:52.1361568Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:1842 +0xb2
2025-04-02T05:52:52.1361889Z   github.com/jmoiron/sqlx.(*DB).QueryRowContext()
2025-04-02T05:52:52.1362153Z       <autogenerated>:1 +0x1f
2025-04-02T05:52:52.1362465Z   github.com/coder/coder/v2/coderd/database.(*sqlQuerier).UpdateReplica()
2025-04-02T05:52:52.1362943Z       /home/runner/work/coder/coder/coderd/database/queries.sql.go:8295 +0x528
2025-04-02T05:52:52.1363370Z   github.com/coder/coder/v2/coderd/database/dbauthz.(*querier).UpdateReplica()
2025-04-02T05:52:52.1363873Z       /home/runner/work/coder/coder/coderd/database/dbauthz/dbauthz.go:4079 +0x1ad
2025-04-02T05:52:52.1364292Z   github.com/coder/coder/v2/enterprise/dbcrypt.(*dbCrypt).UpdateReplica()
2025-04-02T05:52:52.1364612Z       <autogenerated>:1 +0x112
2025-04-02T05:52:52.1364914Z   github.com/coder/coder/v2/enterprise/replicasync.(*Manager).Close()
2025-04-02T05:52:52.1365401Z       /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:471 +0x551
2025-04-02T05:52:52.1365794Z   github.com/coder/coder/v2/enterprise/coderd.(*API).Close()
2025-04-02T05:52:52.1366211Z       /home/runner/work/coder/coder/enterprise/coderd/coderd.go:658 +0x5d
2025-04-02T05:52:52.1366630Z   github.com/coder/coder/v2/enterprise/coderd/coderdenttest.NewWithAPI.func1()
2025-04-02T05:52:52.1367194Z       /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/coderdenttest.go:129 +0x64
2025-04-02T05:52:52.1367561Z   testing.(*common).Cleanup.func1()
2025-04-02T05:52:52.1368050Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1211 +0x16f
2025-04-02T05:52:52.1368352Z   testing.(*common).runCleanup()
2025-04-02T05:52:52.1368713Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1445 +0x2b3
2025-04-02T05:52:52.1369002Z   testing.tRunner.func2()
2025-04-02T05:52:52.1369417Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1786 +0x4c
2025-04-02T05:52:52.1369697Z   runtime.deferreturn()
2025-04-02T05:52:52.1370093Z       /opt/hostedtoolcache/go/1.24.1/x64/src/runtime/panic.go:610 +0x5d
2025-04-02T05:52:52.1370395Z   github.com/coder/coder/v2/coderd.New()
2025-04-02T05:52:52.1370742Z       /home/runner/work/coder/coder/coderd/coderd.go:496 +0x3bac
2025-04-02T05:52:52.1371022Z   github.com/coder/coder/v2/coderd.New()
2025-04-02T05:52:52.1371413Z       /home/runner/work/coder/coder/coderd/coderd.go:485 +0x392c
2025-04-02T05:52:52.1371691Z   github.com/coder/coder/v2/coderd.New()
2025-04-02T05:52:52.1372029Z       /home/runner/work/coder/coder/coderd/coderd.go:474 +0x3516
2025-04-02T05:52:52.1372331Z   github.com/coder/coder/v2/enterprise/coderd.New()
2025-04-02T05:52:52.1372735Z       /home/runner/work/coder/coder/enterprise/coderd/coderd.go:134 +0x12e8
2025-04-02T05:52:52.1373067Z   github.com/coder/coder/v2/enterprise/coderd.New()
2025-04-02T05:52:52.1373474Z       /home/runner/work/coder/coder/enterprise/coderd/coderd.go:100 +0x79d
2025-04-02T05:52:52.1373903Z   github.com/coder/coder/v2/enterprise/coderd/coderdenttest.NewWithAPI()
2025-04-02T05:52:52.1374460Z       /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/coderdenttest.go:102 +0x96b
2025-04-02T05:52:52.1374893Z   github.com/coder/coder/v2/coderd/coderdtest.NewOptions()
2025-04-02T05:52:52.1375342Z       /home/runner/work/coder/coder/coderd/coderdtest/coderdtest.go:287 +0x1375
2025-04-02T05:52:52.1375707Z   github.com/coder/coder/v2/coderd/coderdtest.NewOptions()
2025-04-02T05:52:52.1376144Z       /home/runner/work/coder/coder/coderd/coderdtest/coderdtest.go:281 +0x1247
2025-04-02T05:52:52.1376554Z   github.com/coder/coder/v2/enterprise/coderd/coderdenttest.NewWithAPI()
2025-04-02T05:52:52.1377099Z       /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/coderdenttest.go:101 +0x271
2025-04-02T05:52:52.1377547Z   github.com/coder/coder/v2/enterprise/coderd/coderdenttest.New()
2025-04-02T05:52:52.1378180Z       /home/runner/work/coder/coder/enterprise/coderd/coderdenttest/coderdenttest.go:80 +0x264
2025-04-02T05:52:52.1378686Z   github.com/coder/coder/v2/enterprise/cli_test.TestProvisionerDaemon_PSK.func2()
2025-04-02T05:52:52.1379246Z       /home/runner/work/coder/coder/enterprise/cli/provisionerdaemonstart_test.go:68 +0x3f
2025-04-02T05:52:52.1379585Z   testing.tRunner()
2025-04-02T05:52:52.1379934Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1792 +0x225
2025-04-02T05:52:52.1380230Z   testing.(*T).Run.gowrap1()
2025-04-02T05:52:52.1380580Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1851 +0x44
2025-04-02T05:52:52.1380785Z 
2025-04-02T05:52:52.1380896Z Previous read at 0x00c01a034f3c by goroutine 18042:
2025-04-02T05:52:52.1381140Z   runtime.slicecopy()
2025-04-02T05:52:52.1381474Z       /opt/hostedtoolcache/go/1.24.1/x64/src/runtime/slice.go:355 +0x0
2025-04-02T05:52:52.1381739Z   bytes.Clone()
2025-04-02T05:52:52.1382060Z       /opt/hostedtoolcache/go/1.24.1/x64/src/bytes/bytes.go:1412 +0xfbc
2025-04-02T05:52:52.1382362Z   database/sql.convertAssignRows()
2025-04-02T05:52:52.1382753Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/convert.go:272 +0xfbd
2025-04-02T05:52:52.1383053Z   database/sql.(*Rows).Scan()
2025-04-02T05:52:52.1383419Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:3400 +0x727
2025-04-02T05:52:52.1383705Z   database/sql.(*Row).Scan()
2025-04-02T05:52:52.1384053Z       /opt/hostedtoolcache/go/1.24.1/x64/src/database/sql/sql.go:3517 +0x2e4
2025-04-02T05:52:52.1384448Z   github.com/coder/coder/v2/coderd/database.(*sqlQuerier).GetAPIKeyByID()
2025-04-02T05:52:52.1384925Z       /home/runner/work/coder/coder/coderd/database/queries.sql.go:161 +0x42d
2025-04-02T05:52:52.1385331Z   github.com/coder/coder/v2/coderd/database.Store.GetAPIKeyByID-fm()
2025-04-02T05:52:52.1385641Z       <autogenerated>:1 +0xf2
2025-04-02T05:52:52.1387335Z   github.com/coder/coder/v2/coderd/database/dbauthz.(*querier).GetAPIKeyByID.fetch[go.shape.string,go.shape.e91a1967dc495cac134f5a8d776ad72d0f56c87b76238562e79ff9664851b417,go.shape.func(context.Context, string) (github.com/coder/coder/v2/coderd/database.APIKey, error)].fetchWithAction[go.shape.string,go.shape.e91a1967dc495cac134f5a8d776ad72d0f56c87b76238562e79ff9664851b417,go.shape.func(context.Context, string) (github.com/coder/coder/v2/coderd/database.APIKey, error)].func1()
2025-04-02T05:52:52.1389096Z       /home/runner/work/coder/coder/coderd/database/dbauthz/dbauthz.go:553 +0x464
2025-04-02T05:52:52.1389544Z   github.com/coder/coder/v2/coderd/database/dbauthz.(*querier).GetAPIKeyByID()
2025-04-02T05:52:52.1390050Z       /home/runner/work/coder/coder/coderd/database/dbauthz/dbauthz.go:1513 +0x76
2025-04-02T05:52:52.1390472Z   github.com/coder/coder/v2/enterprise/dbcrypt.(*dbCrypt).GetAPIKeyByID()
2025-04-02T05:52:52.1390796Z       <autogenerated>:1 +0x105
2025-04-02T05:52:52.1391075Z   github.com/coder/coder/v2/coderd/httpmw.APIKeyFromRequest()
2025-04-02T05:52:52.1391498Z       /home/runner/work/coder/coder/coderd/httpmw/apikey.go:166 +0x18e
2025-04-02T05:52:52.1391845Z   github.com/coder/coder/v2/coderd/httpmw.ExtractAPIKey()
2025-04-02T05:52:52.1392244Z       /home/runner/work/coder/coder/coderd/httpmw/apikey.go:230 +0xe4
2025-04-02T05:52:52.1392646Z   github.com/coder/coder/v2/enterprise/coderd.New.ExtractAPIKeyMW.func10.1()
2025-04-02T05:52:52.1393095Z       /home/runner/work/coder/coder/coderd/httpmw/apikey.go:120 +0xe6
2025-04-02T05:52:52.1393385Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1393752Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1394332Z   github.com/coder/coder/v2/enterprise/coderd.(*API).provisionerDaemonsEnabledMW-fm.(*API).provisionerDaemonsEnabledMW.func1()
2025-04-02T05:52:52.1394997Z       /home/runner/work/coder/coder/enterprise/coderd/provisionerdaemons.go:47 +0xf0
2025-04-02T05:52:52.1395342Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1395708Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1396020Z   github.com/go-chi/chi/v5.(*Mux).ServeHTTP()
2025-04-02T05:52:52.1396423Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73 +0x6f6
2025-04-02T05:52:52.1396770Z   github.com/go-chi/chi/v5.(*Mux).Mount.func1()
2025-04-02T05:52:52.1397187Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327 +0x4bd
2025-04-02T05:52:52.1397518Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1398017Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1398365Z   github.com/go-chi/chi/v5.(*ChainHandler).ServeHTTP()
2025-04-02T05:52:52.1398787Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/chain.go:31 +0x61
2025-04-02T05:52:52.1399117Z   github.com/go-chi/chi/v5.(*Mux).routeHTTP()
2025-04-02T05:52:52.1399517Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:459 +0x581
2025-04-02T05:52:52.1399852Z   github.com/go-chi/chi/v5.(*Mux).routeHTTP-fm()
2025-04-02T05:52:52.1400114Z       <autogenerated>:1 +0x51
2025-04-02T05:52:52.1400335Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1400708Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1401136Z   github.com/coder/coder/v2/coderd/httpmw.ReportCLITelemetry.func1.1.deferwrap1()
2025-04-02T05:52:52.1401624Z       /home/runner/work/coder/coder/coderd/httpmw/clitelemetry.go:42 +0x6f
2025-04-02T05:52:52.1401918Z   runtime.deferreturn()
2025-04-02T05:52:52.1402290Z       /opt/hostedtoolcache/go/1.24.1/x64/src/runtime/panic.go:610 +0x5d
2025-04-02T05:52:52.1402582Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1402938Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1403241Z   github.com/go-chi/chi/v5.(*Mux).ServeHTTP()
2025-04-02T05:52:52.1403624Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73 +0x6f6
2025-04-02T05:52:52.1403943Z   github.com/go-chi/chi/v5.(*Mux).Mount.func1()
2025-04-02T05:52:52.1404395Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327 +0x4bd
2025-04-02T05:52:52.1404710Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1405128Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1405436Z   github.com/go-chi/chi/v5.(*Mux).routeHTTP()
2025-04-02T05:52:52.1405818Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:459 +0x581
2025-04-02T05:52:52.1406137Z   github.com/go-chi/chi/v5.(*Mux).routeHTTP-fm()
2025-04-02T05:52:52.1406387Z       <autogenerated>:1 +0x51
2025-04-02T05:52:52.1406596Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1406957Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1407301Z   github.com/justinas/nosurf.(*CSRFHandler).handleSuccess()
2025-04-02T05:52:52.1407749Z       /home/runner/go/pkg/mod/github.com/justinas/[email protected]/handler.go:187 +0x574
2025-04-02T05:52:52.1408224Z   github.com/justinas/nosurf.(*CSRFHandler).ServeHTTP()
2025-04-02T05:52:52.1408660Z       /home/runner/go/pkg/mod/github.com/justinas/[email protected]/handler.go:144 +0x533
2025-04-02T05:52:52.1409001Z   github.com/coder/coder/v2/coderd.New.func5.1()
2025-04-02T05:52:52.1409347Z       /home/runner/work/coder/coder/coderd/coderd.go:828 +0x191
2025-04-02T05:52:52.1409616Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1409981Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1410347Z   github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1()
2025-04-02T05:52:52.1410784Z       /home/runner/go/pkg/mod/github.com/go-chi/[email protected]/cors.go:228 +0x2d6
2025-04-02T05:52:52.1411086Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1411535Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1411933Z   github.com/coder/coder/v2/coderd.New.(*Server).HandleSubdomain.func25.1()
2025-04-02T05:52:52.1412410Z       /home/runner/work/coder/coder/coderd/workspaceapps/proxy.go:370 +0x119
2025-04-02T05:52:52.1412720Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1413085Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1413404Z   github.com/coder/coder/v2/coderd.New.func4.1()
2025-04-02T05:52:52.1413753Z       /home/runner/work/coder/coder/coderd/coderd.go:811 +0x1e1
2025-04-02T05:52:52.1414029Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1414403Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1414762Z   github.com/coder/coder/v2/coderd/httpmw.Prometheus.func1.1()
2025-04-02T05:52:52.1415199Z       /home/runner/work/coder/coder/coderd/httpmw/prometheus.go:90 +0x3af
2025-04-02T05:52:52.1415503Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1415865Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1416244Z   github.com/coder/coder/v2/coderd/rbac/rolestore.CustomRoleMW.func1()
2025-04-02T05:52:52.1416718Z       /home/runner/work/coder/coder/coderd/rbac/rolestore/rolestore.go:22 +0x1e4
2025-04-02T05:52:52.1417035Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1417397Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1417732Z   github.com/coder/coder/v2/coderd.singleSlashMW.func1()
2025-04-02T05:52:52.1418341Z       /home/runner/work/coder/coder/coderd/coderd.go:1812 +0x292
2025-04-02T05:52:52.1418615Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1418969Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1419305Z   github.com/coder/coder/v2/coderd.New.Logger.func24.1()
2025-04-02T05:52:52.1419694Z       /home/runner/work/coder/coder/coderd/httpmw/logger.go:38 +0x5c5
2025-04-02T05:52:52.1419977Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1420336Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1420754Z   github.com/coder/coder/v2/coderd.New.ExtractRealIP.func23.1()
2025-04-02T05:52:52.1421171Z       /home/runner/work/coder/coder/coderd/httpmw/realip.go:50 +0x20e
2025-04-02T05:52:52.1421510Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1421875Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1422243Z   github.com/coder/coder/v2/coderd/httpmw.AttachRequestID.func1()
2025-04-02T05:52:52.1422668Z       /home/runner/work/coder/coder/coderd/httpmw/requestid.go:38 +0x677
2025-04-02T05:52:52.1422962Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1423321Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1423680Z   github.com/coder/coder/v2/coderd/tracing.Middleware.func1.1()
2025-04-02T05:52:52.1424096Z       /home/runner/work/coder/coder/coderd/tracing/httpmw.go:71 +0x84c
2025-04-02T05:52:52.1424375Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1424730Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1425123Z   github.com/coder/coder/v2/coderd/tracing.StatusWriterMiddleware.func1()
2025-04-02T05:52:52.1425592Z       /home/runner/work/coder/coder/coderd/tracing/status_writer.go:39 +0xf1
2025-04-02T05:52:52.1425899Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1426252Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1426594Z   github.com/coder/coder/v2/coderd.New.Recover.func22.1()
2025-04-02T05:52:52.1426990Z       /home/runner/work/coder/coder/coderd/httpmw/recover.go:44 +0x144
2025-04-02T05:52:52.1427276Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1427631Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1428043Z   github.com/go-chi/chi/v5.(*Mux).ServeHTTP()
2025-04-02T05:52:52.1428436Z       /home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:90 +0x67e
2025-04-02T05:52:52.1428812Z   github.com/coder/coder/v2/coderd/coderdtest.NewOptions.func3()
2025-04-02T05:52:52.1429261Z       /home/runner/work/coder/coder/coderd/coderdtest/coderdtest.go:415 +0x94
2025-04-02T05:52:52.1429574Z   net/http.HandlerFunc.ServeHTTP()
2025-04-02T05:52:52.1429936Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2294 +0x47
2025-04-02T05:52:52.1430231Z   net/http.serverHandler.ServeHTTP()
2025-04-02T05:52:52.1430598Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:3301 +0x2a1
2025-04-02T05:52:52.1430878Z   net/http.(*conn).serve()
2025-04-02T05:52:52.1431225Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2102 +0x1304
2025-04-02T05:52:52.1431522Z   net/http.(*Server).Serve.gowrap3()
2025-04-02T05:52:52.1431875Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:3454 +0x4f
2025-04-02T05:52:52.1432069Z 
2025-04-02T05:52:52.1432156Z Goroutine 4515 (running) created at:
2025-04-02T05:52:52.1432357Z   testing.(*T).Run()
2025-04-02T05:52:52.1432688Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1851 +0x8f2
2025-04-02T05:52:52.1433090Z   github.com/coder/coder/v2/enterprise/cli_test.TestProvisionerDaemon_PSK()
2025-04-02T05:52:52.1433619Z       /home/runner/work/coder/coder/enterprise/cli/provisionerdaemonstart_test.go:66 +0x68
2025-04-02T05:52:52.1433953Z   testing.tRunner()
2025-04-02T05:52:52.1434284Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1792 +0x225
2025-04-02T05:52:52.1434571Z   testing.(*T).Run.gowrap1()
2025-04-02T05:52:52.1434964Z       /opt/hostedtoolcache/go/1.24.1/x64/src/testing/testing.go:1851 +0x44
2025-04-02T05:52:52.1435164Z 
2025-04-02T05:52:52.1435245Z Goroutine 18042 (running) created at:
2025-04-02T05:52:52.1435460Z   net/http.(*Server).Serve()
2025-04-02T05:52:52.1435804Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:3454 +0x8c9
2025-04-02T05:52:52.1436106Z   net/http/httptest.(*Server).goServe.func1()
2025-04-02T05:52:52.1436505Z       /opt/hostedtoolcache/go/1.24.1/x64/src/net/http/httptest/server.go:311 +0xb3
2025-04-02T05:52:52.1436786Z ==================
@sreya sreya added the flake label Apr 2, 2025
@johnstcn
Copy link
Member

johnstcn commented Apr 2, 2025

Potentially related: lib/pq#1021
See also: coder/coder#6201

@brettkolodny brettkolodny self-assigned this Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants