Skip to content

test flake: Fail in goroutine after TestProvisionerd/InstantClose has completed #9340

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

Closed
johnstcn opened this issue Aug 25, 2023 · 0 comments · Fixed by #9709
Closed

test flake: Fail in goroutine after TestProvisionerd/InstantClose has completed #9340

johnstcn opened this issue Aug 25, 2023 · 0 comments · Fixed by #9709
Assignees
Labels
s4 Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Comments

@johnstcn
Copy link
Member

# on main@3b1ecd3c2
$ go test -race -count=100 ./provisionerd/
panic: Fail in goroutine after TestProvisionerd/InstantClose has completed

goroutine 1605 [running]:
testing.(*common).Fail(0xc00064f6c0)
        /nix/store/l9n531fcx4grk3wvfbigya3p66scj61h-go-1.20.6/share/go/src/testing/testing.go:933 +0x1a8
testing.(*common).Error(0xc00064f6c0, {0xc0008ddc60, 0x1, 0x1})
        /nix/store/l9n531fcx4grk3wvfbigya3p66scj61h-go-1.20.6/share/go/src/testing/testing.go:1043 +0x8f
github.com/coder/coder/v2/provisionerd_test.createProvisionerDaemonClient(0xc00064f6c0, 0xc00003a2a0, {0x0, 0x0, 0x0, 0x0, 0x0})
        /home/cian/src/coder/coder/provisionerd/provisionerd_test.go:1157 +0x94d
github.com/coder/coder/v2/provisionerd_test.TestProvisionerd.func2.2({0xc00068a960?, 0x1020eb0?})
        /home/cian/src/coder/coder/provisionerd/provisionerd_test.go:62 +0x7f
github.com/coder/coder/v2/provisionerd.(*Server).connect(0xc0000f8310, {0x1020eb0?, 0xc00068a960})
        /home/cian/src/coder/coder/provisionerd/provisionerd.go:178 +0x24d
created by github.com/coder/coder/v2/provisionerd.New
        /home/cian/src/coder/coder/provisionerd/provisionerd.go:101 +0x876
FAIL    github.com/coder/coder/v2/provisionerd  1.989s
FAIL

@johnstcn johnstcn added flake s4 Internal bugs (e.g. test flakes), extreme edge cases, and bug risks labels Aug 25, 2023
@sreya sreya self-assigned this Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s4 Internal bugs (e.g. test flakes), extreme edge cases, and bug risks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants