Closed
Description
https://github.com/coder/coder/runs/5646611663?check_suite_focus=true
==================
WARNING: DATA RACE
Read at 0x00c0023ae194 by goroutine 389:
runtime.slicecopy()
/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/slice.go:284 +0x0
bufio.(*Writer).Write()
/opt/hostedtoolcache/go/1.17.7/x64/src/bufio/bufio.go:651 +0x33d
nhooyr.io/websocket.(*Conn).writeFramePayload()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:356 +0x46d
nhooyr.io/websocket.(*Conn).writeFrame()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:310 +0xa1c
nhooyr.io/websocket.(*Conn).write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:129 +0x2d1
nhooyr.io/websocket.(*Conn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:42 +0x8d
nhooyr.io/websocket.(*netConn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/netconn.go:84 +0xaf
github.com/hashicorp/yamux.(*Session).send()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:430 +0x3da
github.com/hashicorp/yamux.newSession·dwrap·2()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x39
Previous write at 0x00c0023ae194 by goroutine 522:
github.com/hashicorp/yamux.header.encode()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/const.go:177 +0x5c
github.com/hashicorp/yamux.(*Stream).write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:201 +0x3cd
github.com/hashicorp/yamux.(*Stream).Write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:158 +0x18c
storj.io/drpc/drpcwire.(*Writer).Flush()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcwire/writer.go:85 +0xb9
storj.io/drpc/drpcstream.(*Stream).sendPacket()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:263 +0x231
storj.io/drpc/drpcstream.(*Stream).Close()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:474 +0x194
storj.io/drpc/drpcconn.(*Conn).Invoke.func1()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:80 +0x3d
storj.io/drpc/drpcconn.(*Conn).Invoke()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:94 +0x3e1
github.com/coder/coder/provisionersdk.(*multiplexedDRPC).Invoke()
/home/runner/work/coder/coder/provisionersdk/transport.go:69 +0x352
github.com/coder/coder/provisionerd/proto.(*drpcProvisionerDaemonClient).UpdateJob()
/home/runner/work/coder/coder/provisionerd/proto/provisionerd_drpc.pb.go:68 +0xe2
github.com/coder/coder/provisionerd.(*Server).runJob.func1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:233 +0x3b3
Goroutine 389 (running) created at:
github.com/hashicorp/yamux.newSession()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x8d0
github.com/hashicorp/yamux.Client()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/mux.go:113 +0x207
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:41 +0x525
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon-fm()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:23 +0x59
github.com/coder/coder/provisionerd.(*Server).connect()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:111 +0x231
github.com/coder/coder/provisionerd.New·dwrap·1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:78 +0x58
Goroutine 522 (running) created at:
github.com/coder/coder/provisionerd.(*Server).runJob()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:224 +0x184
github.com/coder/coder/provisionerd.(*Server).acquireJob·dwrap·4()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:220 +0x64
==================
==================
WARNING: DATA RACE
Read at 0x00c0023ae195 by goroutine 389:
runtime.slicecopy()
/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/slice.go:284 +0x0
bufio.(*Writer).Write()
/opt/hostedtoolcache/go/1.17.7/x64/src/bufio/bufio.go:651 +0x33d
nhooyr.io/websocket.(*Conn).writeFramePayload()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:356 +0x46d
nhooyr.io/websocket.(*Conn).writeFrame()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:310 +0xa1c
nhooyr.io/websocket.(*Conn).write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:129 +0x2d1
nhooyr.io/websocket.(*Conn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:42 +0x8d
nhooyr.io/websocket.(*netConn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/netconn.go:84 +0xaf
github.com/hashicorp/yamux.(*Session).send()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:430 +0x3da
github.com/hashicorp/yamux.newSession·dwrap·2()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x39
Previous write at 0x00c0023ae195 by goroutine 522:
github.com/hashicorp/yamux.header.encode()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/const.go:178 +0x7c
github.com/hashicorp/yamux.(*Stream).write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:201 +0x3cd
github.com/hashicorp/yamux.(*Stream).Write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:158 +0x18c
storj.io/drpc/drpcwire.(*Writer).Flush()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcwire/writer.go:85 +0xb9
storj.io/drpc/drpcstream.(*Stream).sendPacket()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:263 +0x231
storj.io/drpc/drpcstream.(*Stream).Close()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:474 +0x194
storj.io/drpc/drpcconn.(*Conn).Invoke.func1()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:80 +0x3d
storj.io/drpc/drpcconn.(*Conn).Invoke()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:94 +0x3e1
github.com/coder/coder/provisionersdk.(*multiplexedDRPC).Invoke()
/home/runner/work/coder/coder/provisionersdk/transport.go:69 +0x352
github.com/coder/coder/provisionerd/proto.(*drpcProvisionerDaemonClient).UpdateJob()
/home/runner/work/coder/coder/provisionerd/proto/provisionerd_drpc.pb.go:68 +0xe2
github.com/coder/coder/provisionerd.(*Server).runJob.func1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:233 +0x3b3
Goroutine 389 (running) created at:
github.com/hashicorp/yamux.newSession()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x8d0
github.com/hashicorp/yamux.Client()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/mux.go:113 +0x207
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:41 +0x525
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon-fm()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:23 +0x59
github.com/coder/coder/provisionerd.(*Server).connect()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:111 +0x231
github.com/coder/coder/provisionerd.New·dwrap·1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:78 +0x58
Goroutine 522 (running) created at:
github.com/coder/coder/provisionerd.(*Server).runJob()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:224 +0x184
github.com/coder/coder/provisionerd.(*Server).acquireJob·dwrap·4()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:220 +0x64
==================
==================
WARNING: DATA RACE
Read at 0x00c0023ae196 by goroutine 389:
runtime.slicecopy()
/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/slice.go:284 +0x0
bufio.(*Writer).Write()
/opt/hostedtoolcache/go/1.17.7/x64/src/bufio/bufio.go:651 +0x33d
nhooyr.io/websocket.(*Conn).writeFramePayload()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:356 +0x46d
nhooyr.io/websocket.(*Conn).writeFrame()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:310 +0xa1c
nhooyr.io/websocket.(*Conn).write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:129 +0x2d1
nhooyr.io/websocket.(*Conn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:42 +0x8d
nhooyr.io/websocket.(*netConn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/netconn.go:84 +0xaf
github.com/hashicorp/yamux.(*Session).send()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:430 +0x3da
github.com/hashicorp/yamux.newSession·dwrap·2()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x39
Previous write at 0x00c0023ae196 by goroutine 522:
encoding/binary.bigEndian.PutUint16()
/opt/hostedtoolcache/go/1.17.7/x64/src/encoding/binary/binary.go:107 +0xb4
github.com/hashicorp/yamux.header.encode()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/const.go:179 +0x31
github.com/hashicorp/yamux.(*Stream).write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:201 +0x3cd
github.com/hashicorp/yamux.(*Stream).Write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:158 +0x18c
storj.io/drpc/drpcwire.(*Writer).Flush()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcwire/writer.go:85 +0xb9
storj.io/drpc/drpcstream.(*Stream).sendPacket()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:263 +0x231
storj.io/drpc/drpcstream.(*Stream).Close()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:474 +0x194
storj.io/drpc/drpcconn.(*Conn).Invoke.func1()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:80 +0x3d
storj.io/drpc/drpcconn.(*Conn).Invoke()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:94 +0x3e1
github.com/coder/coder/provisionersdk.(*multiplexedDRPC).Invoke()
/home/runner/work/coder/coder/provisionersdk/transport.go:69 +0x352
github.com/coder/coder/provisionerd/proto.(*drpcProvisionerDaemonClient).UpdateJob()
/home/runner/work/coder/coder/provisionerd/proto/provisionerd_drpc.pb.go:68 +0xe2
github.com/coder/coder/provisionerd.(*Server).runJob.func1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:233 +0x3b3
Goroutine 389 (running) created at:
github.com/hashicorp/yamux.newSession()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x8d0
github.com/hashicorp/yamux.Client()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/mux.go:113 +0x207
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:41 +0x525
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon-fm()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:23 +0x59
github.com/coder/coder/provisionerd.(*Server).connect()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:111 +0x231
github.com/coder/coder/provisionerd.New·dwrap·1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:78 +0x58
Goroutine 522 (running) created at:
github.com/coder/coder/provisionerd.(*Server).runJob()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:224 +0x184
github.com/coder/coder/provisionerd.(*Server).acquireJob·dwrap·4()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:220 +0x64
==================
==================
WARNING: DATA RACE
Read at 0x00c0023ae197 by goroutine 389:
runtime.slicecopy()
/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/slice.go:284 +0x0
bufio.(*Writer).Write()
/opt/hostedtoolcache/go/1.17.7/x64/src/bufio/bufio.go:651 +0x33d
nhooyr.io/websocket.(*Conn).writeFramePayload()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:356 +0x46d
nhooyr.io/websocket.(*Conn).writeFrame()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:310 +0xa1c
nhooyr.io/websocket.(*Conn).write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:129 +0x2d1
nhooyr.io/websocket.(*Conn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:42 +0x8d
nhooyr.io/websocket.(*netConn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/netconn.go:84 +0xaf
github.com/hashicorp/yamux.(*Session).send()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:430 +0x3da
github.com/hashicorp/yamux.newSession·dwrap·2()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x39
Previous write at 0x00c0023ae197 by goroutine 522:
encoding/binary.bigEndian.PutUint16()
/opt/hostedtoolcache/go/1.17.7/x64/src/encoding/binary/binary.go:108 +0xcf
github.com/hashicorp/yamux.header.encode()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/const.go:179 +0x31
github.com/hashicorp/yamux.(*Stream).write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:201 +0x3cd
github.com/hashicorp/yamux.(*Stream).Write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:158 +0x18c
storj.io/drpc/drpcwire.(*Writer).Flush()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcwire/writer.go:85 +0xb9
storj.io/drpc/drpcstream.(*Stream).sendPacket()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:263 +0x231
storj.io/drpc/drpcstream.(*Stream).Close()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:474 +0x194
storj.io/drpc/drpcconn.(*Conn).Invoke.func1()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:80 +0x3d
storj.io/drpc/drpcconn.(*Conn).Invoke()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:94 +0x3e1
github.com/coder/coder/provisionersdk.(*multiplexedDRPC).Invoke()
/home/runner/work/coder/coder/provisionersdk/transport.go:69 +0x352
github.com/coder/coder/provisionerd/proto.(*drpcProvisionerDaemonClient).UpdateJob()
/home/runner/work/coder/coder/provisionerd/proto/provisionerd_drpc.pb.go:68 +0xe2
github.com/coder/coder/provisionerd.(*Server).runJob.func1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:233 +0x3b3
Goroutine 389 (running) created at:
github.com/hashicorp/yamux.newSession()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x8d0
github.com/hashicorp/yamux.Client()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/mux.go:113 +0x207
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:41 +0x525
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon-fm()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:23 +0x59
github.com/coder/coder/provisionerd.(*Server).connect()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:111 +0x231
github.com/coder/coder/provisionerd.New·dwrap·1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:78 +0x58
Goroutine 522 (running) created at:
github.com/coder/coder/provisionerd.(*Server).runJob()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:224 +0x184
github.com/coder/coder/provisionerd.(*Server).acquireJob·dwrap·4()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:220 +0x64
==================
==================
WARNING: DATA RACE
Read at 0x00c0023ae198 by goroutine 389:
runtime.slicecopy()
/opt/hostedtoolcache/go/1.17.7/x64/src/runtime/slice.go:284 +0x0
bufio.(*Writer).Write()
/opt/hostedtoolcache/go/1.17.7/x64/src/bufio/bufio.go:651 +0x33d
nhooyr.io/websocket.(*Conn).writeFramePayload()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:356 +0x46d
nhooyr.io/websocket.(*Conn).writeFrame()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:310 +0xa1c
nhooyr.io/websocket.(*Conn).write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:129 +0x2d1
nhooyr.io/websocket.(*Conn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/write.go:42 +0x8d
nhooyr.io/websocket.(*netConn).Write()
/home/runner/go/pkg/mod/nhooyr.io/[email protected]/netconn.go:84 +0xaf
github.com/hashicorp/yamux.(*Session).send()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:430 +0x3da
github.com/hashicorp/yamux.newSession·dwrap·2()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x39
Previous write at 0x00c0023ae19d by goroutine 522:
encoding/binary.bigEndian.PutUint32()
/opt/hostedtoolcache/go/1.17.7/x64/src/encoding/binary/binary.go:119 +0x1a4
github.com/hashicorp/yamux.header.encode()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/const.go:181 +0x[162](https://github.com/coder/coder/runs/5646611663?check_suite_focus=true#step:7:162)
github.com/hashicorp/yamux.(*Stream).write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:201 +0x3cd
github.com/hashicorp/yamux.(*Stream).Write()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/stream.go:158 +0x18c
storj.io/drpc/drpcwire.(*Writer).Flush()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcwire/writer.go:85 +0xb9
storj.io/drpc/drpcstream.(*Stream).sendPacket()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:263 +0x231
storj.io/drpc/drpcstream.(*Stream).Close()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcstream/stream.go:474 +0x194
storj.io/drpc/drpcconn.(*Conn).Invoke.func1()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:80 +0x3d
storj.io/drpc/drpcconn.(*Conn).Invoke()
/home/runner/go/pkg/mod/storj.io/[email protected]/drpcconn/conn.go:94 +0x3e1
github.com/coder/coder/provisionersdk.(*multiplexedDRPC).Invoke()
/home/runner/work/coder/coder/provisionersdk/transport.go:69 +0x352
github.com/coder/coder/provisionerd/proto.(*drpcProvisionerDaemonClient).UpdateJob()
/home/runner/work/coder/coder/provisionerd/proto/provisionerd_drpc.pb.go:68 +0xe2
github.com/coder/coder/provisionerd.(*Server).runJob.func1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:233 +0x3b3
Goroutine 389 (running) created at:
github.com/hashicorp/yamux.newSession()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/session.go:114 +0x8d0
github.com/hashicorp/yamux.Client()
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/mux.go:113 +0x207
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:41 +0x525
github.com/coder/coder/codersdk.(*Client).ListenProvisionerDaemon-fm()
/home/runner/work/coder/coder/codersdk/provisionerdaemons.go:23 +0x59
github.com/coder/coder/provisionerd.(*Server).connect()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:111 +0x231
github.com/coder/coder/provisionerd.New·dwrap·1()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:78 +0x58
Goroutine 522 (running) created at:
github.com/coder/coder/provisionerd.(*Server).runJob()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:224 +0x[184](https://github.com/coder/coder/runs/5646611663?check_suite_focus=true#step:7:184)
github.com/coder/coder/provisionerd.(*Server).acquireJob·dwrap·4()
/home/runner/work/coder/coder/provisionerd/provisionerd.go:[220](https://github.com/coder/coder/runs/5646611663?check_suite_focus=true#step:7:220) +0x64
==================