10000 flake: leak in logFollower · Issue #7791 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
flake: leak in logFollower #7791
Closed
@datadog-coder-official

Description

@datadog-coder-official

See example failure here.

Error logs:

goleak: Errors on successful test run: found unexpected goroutines:

[344](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:345)[Goroutine 175667 in state chan send, with github.com/coder/coder/coderd.(*logFollower).listener on top of the stack:

[345](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:346)goroutine 175667 [chan send]:

[346](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:347)github.com/coder/coder/coderd.(*logFollower).listener(0xc013655ea0, {0xc012d53f48?, 0x48d9de?}, {0xc0248b7110, 0x26, 0x30}, {0x0, 0x0})

[347](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:348) /home/runner/actions-runner/_work/coder/coder/coderd/provisionerjobs.go:418 +0x12a

[348](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:349)github.com/coder/coder/coderd/database.(*msgQueue).run(0xc0315ae000)

[349](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:350) /home/runner/actions-runner/_work/coder/coder/coderd/database/pubsub.go:97 +0x243

[350](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:351)created by github.com/coder/coder/coderd/database.newMsgQueue

[351](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:352) /home/runner/actions-runner/_work/coder/coder/coderd/database/pubsub.go:69 +0x1a5

[352](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:353)]

[353](https://github.com/coder/coder/actions/runs/5150396317/jobs/9274475775#step:5:354)FAIL github.com/coder/coder/cli 73.890s

@spikecurtis — seems likely related to #7712. Can you take a look at this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0