Skip to content
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

Concurrent writes failure #431

Closed
leecalcote opened this issue May 25, 2022 · 1 comment
Closed

Concurrent writes failure #431

leecalcote opened this issue May 25, 2022 · 1 comment
Assignees
Labels
kind/bug Something isn't working

Comments

@leecalcote
Copy link
Member

Current Behavior

Failure to deploy bookinfoashish with the following error in the UI and the adapter log below.

Screen Shot 2022-05-25 at 11 53 45 AM

Screenshots/Logs

➜  meshery-istio git:(master) make run
go mod tidy; \
	DEBUG=true GOPROXY=direct GOSUMDB=off go run main.go
INFO[2022-05-25T11:51:34-05:00] Adaptor Listening at port: 10000              app=istio-adapter
INFO[2022-05-25T11:51:34-05:00] Registering static workloads with Meshery Server...  app=istio-adapter
INFO[2022-05-25T11:51:34-05:00] Registering latest components with Meshery Server  app=istio-adapter
INFO[2022-05-25T11:51:34-05:00] Components available statically for version 1.14.0-beta.1. Skipping dynamic component registeration  app=istio-adapter
INFO[2022-05-25T11:51:35-05:00] Successfully registered static components with Meshery Server.  app=istio-adapter
INFO[2022-05-25T11:51:37-05:00] Creating instance                             app=istio-adapter
INFO[2022-05-25T11:51:37-05:00] setting current context as docker-desktop     app=istio-adapter
INFO[2022-05-25T11:51:37-05:00] Listing Operations                            app=istio-adapter
INFO[2022-05-25T11:51:39-05:00] Creating instance                             app=istio-adapter
INFO[2022-05-25T11:51:39-05:00] setting current context as docker-desktop     app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] Creating instance                             app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] Creating instance                             app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] setting current context as docker-desktop     app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] Process OAM components                        app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] setting current context as docker-desktop     app=istio-adapter
INFO[2022-05-25T11:52:27-05:00] Process OAM components                        app=istio-adapter
INFO[2022-05-25T11:53:37-05:00] Creating instance                             app=istio-adapter
INFO[2022-05-25T11:53:37-05:00] Creating instance                             app=istio-adapter
fatal error: concurrent map writes

goroutine 228 [running]:
runtime.throw({0x5f2aeff?, 0x6276568?})
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/panic.go:992 +0x71 fp=0xc00067d6a0 sp=0xc00067d670 pc=0x40395b1
runtime.mapassign_faststr(0x5bbd420, 0xc000925c50, {0xc00061c1d0, 0xe})
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/map_faststr.go:295 +0x38b fp=0xc00067d708 sp=0xc00067d6a0 pc=0x401774b
k8s.io/client-go/tools/clientcmd/api.FlattenConfig(0xc0003152c0)
	/Users/lee/code/go/bin/pkg/mod/k8s.io/client-go@v0.23.5/tools/clientcmd/api/helpers.go:129 +0x139 fp=0xc00067d838 sp=0xc00067d708 pc=0x4dadbb9
github.com/layer5io/meshery-adapter-library/adapter.(*Adapter).validateKubeconfig(0xc00054e280, {0xc000a6c800?, 0x162c, 0xc0009a4080?})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/configure.go:64 +0xbb fp=0xc00067d860 sp=0xc00067d838 pc=0x554511b
github.com/layer5io/meshery-adapter-library/adapter.(*Adapter).CreateInstance(0xc00054e280, {0xc000a6c800, 0x162c, 0x1800}, {0xc0004ea0a0, 0xe}, 0xc00054a128)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/configure.go:17 +0x45 fp=0xc00067d8a0 sp=0xc00067d860 pc=0x5544de5
github.com/layer5io/meshery-adapter-library/adapter.(*adapterLogger).CreateInstance(0xc00007ad00, {0xc000a6c800, 0x162c, 0x1800}, {0xc0004ea0a0, 0xe}, 0x203000?)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/logger.go:52 +0xbc fp=0xc00067d900 sp=0xc00067d8a0 pc=0x5546c7c
github.com/layer5io/meshery-adapter-library/api/grpc.(*Service).CreateMeshInstance(0xc000800080?, {0x54de445?, 0xc000a6b000?}, 0x0?)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/api/grpc/handlers.go:28 +0x46 fp=0xc00067d948 sp=0xc00067d900 pc=0x5942a46
github.com/layer5io/meshery-adapter-library/meshes._MeshService_CreateMeshInstance_Handler.func1({0x6271ed8, 0xc000ad22d0}, {0x5d4c000?, 0xc0001125f0})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/meshes/meshops_grpc.pb.go:203 +0x78 fp=0xc00067d988 sp=0xc00067d948 pc=0x55cc238
github.com/grpc-ecosystem/go-grpc-middleware/recovery.UnaryServerInterceptor.func1({0x6271ed8?, 0xc000ad22d0?}, {0x5d4c000?, 0xc0001125f0?}, 0x890c1f8?, 0xc000800060?)
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/recovery/interceptors.go:33 +0xc4 fp=0xc00067da18 sp=0xc00067d988 pc=0x593b6c4
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x6271ed8?, 0xc000ad22d0?}, {0x5d4c000?, 0xc0001125f0?})
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25 +0x3a fp=0xc00067da58 sp=0xc00067da18 pc=0x593b4ba
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1({0x6271ed8, 0xc000ad22d0}, {0x5d4c000, 0xc0001125f0}, 0xc000a74af8?, 0x5be57e0?)
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:34 +0xbf fp=0xc00067dab0 sp=0xc00067da58 pc=0x593b35f
github.com/layer5io/meshery-adapter-library/meshes._MeshService_CreateMeshInstance_Handler({0x5d98400?, 0xc00054a0a0}, {0x6271ed8, 0xc000ad22d0}, 0xc00039e0c0, 0xc00063baa0)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/meshes/meshops_grpc.pb.go:205 +0x138 fp=0xc00067db08 sp=0xc00067dab0 pc=0x55cc0f8
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0006ce380, {0x6278ac8, 0xc0005256c0}, 0xc000916240, 0xc00063bc80, 0x747e7c0, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1282 +0xccf fp=0xc00067de48 sp=0xc00067db08 pc=0x550aaef
google.golang.org/grpc.(*Server).handleStream(0xc0006ce380, {0x6278ac8, 0xc0005256c0}, 0xc000916240, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1619 +0xa1b fp=0xc00067df68 sp=0xc00067de48 pc=0x550f11b
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:921 +0x98 fp=0xc00067dfe0 sp=0xc00067df68 pc=0x5508618
runtime.goexit()
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00067dfe8 sp=0xc00067dfe0 pc=0x406a861
created by google.golang.org/grpc.(*Server).serveStreams.func1
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:919 +0x28a

goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0xf719408, 0x72)
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc0004c4f00?, 0x4?, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Accept(0xc0004c4f00)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:614 +0x22c
net.(*netFD).accept(0xc0004c4f00)
	/usr/local/Cellar/go/1.18.1/libexec/src/net/fd_unix.go:172 +0x35
net.(*TCPListener).accept(0xc000437b60)
	/usr/local/Cellar/go/1.18.1/libexec/src/net/tcpsock_posix.go:139 +0x28
net.(*TCPListener).Accept(0xc000437b60)
	/usr/local/Cellar/go/1.18.1/libexec/src/net/tcpsock.go:288 +0x3d
google.golang.org/grpc.(*Server).Serve(0xc0006ce380, {0x6270468, 0xc000437b60})
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:779 +0x362
github.com/layer5io/meshery-adapter-library/api/grpc.Start(0xc00054a0a0, {0x0, 0x0})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/api/grpc/grpc.go:97 +0x29a
main.main()
	/Users/lee/code/meshery-istio/main.go:115 +0x6e5

goroutine 6 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x0?)
	/Users/lee/code/go/bin/pkg/mod/k8s.io/klog/v2@v2.30.0/klog.go:1181 +0x6a
created by k8s.io/klog/v2.init.0
	/Users/lee/code/go/bin/pkg/mod/k8s.io/klog/v2@v2.30.0/klog.go:420 +0xf6

goroutine 14 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0xc000370180?)
	/Users/lee/code/go/bin/pkg/mod/github.com/golang/glog@v1.0.0/glog.go:882 +0x6a
created by github.com/golang/glog.init.0
	/Users/lee/code/go/bin/pkg/mod/github.com/golang/glog@v1.0.0/glog.go:410 +0x1bf

goroutine 131 [IO wait]:
internal/poll.runtime_pollWait(0xf718f58, 0x72)
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc0007ff080?, 0xc00065e000?, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc0007ff080, {0xc00065e000, 0x47e0, 0x47e0})
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc0007ff080, {0xc00065e000?, 0xc00007a3c0?, 0xc00065e005?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000a16000, {0xc00065e000?, 0x47e0?, 0xc00007a3c0?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/net.go:183 +0x45
crypto/tls.(*atLeastReader).Read(0xc000a5b188, {0xc00065e000?, 0x0?, 0x140?})
	/usr/local/Cellar/go/1.18.1/libexec/src/crypto/tls/conn.go:784 +0x3d
bytes.(*Buffer).ReadFrom(0xc0004073f8, {0x624d700, 0xc000a5b188})
	/usr/local/Cellar/go/1.18.1/libexec/src/bytes/buffer.go:204 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000407180, {0x2fb3e2d8?, 0xc000a16000}, 0x47e0?)
	/usr/local/Cellar/go/1.18.1/libexec/src/crypto/tls/conn.go:806 +0xe5
crypto/tls.(*Conn).readRecordOrCCS(0xc000407180, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/crypto/tls/conn.go:613 +0x116
crypto/tls.(*Conn).readRecord(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/crypto/tls/conn.go:581
crypto/tls.(*Conn).Read(0xc000407180, {0xc00096d000, 0x1000, 0x800000000?})
	/usr/local/Cellar/go/1.18.1/libexec/src/crypto/tls/conn.go:1284 +0x16f
bufio.(*Reader).Read(0xc00080a4e0, {0xc000974040, 0x9, 0x4040389?})
	/usr/local/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:236 +0x1b4
io.ReadAtLeast({0x624d520, 0xc00080a4e0}, {0xc000974040, 0x9, 0x9}, 0x9)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:331 +0x9a
io.ReadFull(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:350
golang.org/x/net/http2.readFrameHeader({0xc000974040?, 0x9?, 0xc0004e5df0?}, {0x624d520?, 0xc00080a4e0?})
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000974000)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:498 +0x95
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0004e5f98)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/transport.go:2124 +0x130
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000968000)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/transport.go:2020 +0x6f
created by golang.org/x/net/http2.(*Transport).newClientConn
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/transport.go:727 +0xa65

goroutine 29 [select, 2 minutes]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc000102b60)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:1125 +0x233
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:335 +0x1878

goroutine 28 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc000803680, 0x1)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:407 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000b2ad80)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:534 +0x85
google.golang.org/grpc/internal/transport.NewServerTransport.func2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:326 +0xc6
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:323 +0x1833

goroutine 36 [chan receive, 2 minutes]:
main.registerCapabilitiesDynamically({0x5f0d683, 0x5}, {0x62759e0, 0xc000374f28})
	/Users/lee/code/meshery-istio/main.go:169 +0x4e
created by main.main
	/Users/lee/code/meshery-istio/main.go:111 +0x655

goroutine 41 [chan receive, 1 minutes]:
github.com/layer5io/meshery-adapter-library/api/grpc.(*Service).StreamEvents(0xc00054a0a0, 0x5cdb3e0?, {0x6277168, 0xc0008fcb80})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/api/grpc/handlers.go:100 +0x52
github.com/layer5io/meshery-adapter-library/meshes._MeshService_StreamEvents_Handler({0x5d98400?, 0xc00054a0a0}, {0x6275b90, 0xc0002640c0})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/meshes/meshops_grpc.pb.go:285 +0xd0
google.golang.org/grpc.(*Server).processStreamingRPC(0xc0006ce380, {0x6278ac8, 0xc000102b60}, 0xc0008838c0, 0xc00063bc80, 0x7471840, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1541 +0xece
google.golang.org/grpc.(*Server).handleStream(0xc0006ce380, {0x6278ac8, 0xc000102b60}, 0xc0008838c0, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1623 +0x9d6
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:921 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:919 +0x28a

goroutine 30 [IO wait]:
internal/poll.runtime_pollWait(0xf719228, 0x72)
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc0008f3980?, 0xc000930000?, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc0008f3980, {0xc000930000, 0x8000, 0x8000})
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc0008f3980, {0xc000930000?, 0x406866e?, 0x403c427?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000011f88, {0xc000930000?, 0x4f9c376f5e?, 0x8909008?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0xc00080b7a0, {0xc00092a040, 0x9, 0xc000100000?})
	/usr/local/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:236 +0x1b4
io.ReadAtLeast({0x624d520, 0xc00080b7a0}, {0xc00092a040, 0x9, 0x9}, 0x9)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:331 +0x9a
io.ReadFull(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:350
golang.org/x/net/http2.readFrameHeader({0xc00092a040?, 0x9?, 0x406c100?}, {0x624d520?, 0xc00080b7a0?})
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00092a000)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc000102b60, 0x656e6e6f63227b3a?, 0x756f656d69547463?)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:605 +0xb2
google.golang.org/grpc.(*Server).serveStreams(0xc0006ce380, {0x6278ac8?, 0xc000102b60})
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:905 +0x142
google.golang.org/grpc.(*Server).handleRawConn.func1()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:847 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:846 +0x185

goroutine 262 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc000b70500, 0x1)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:407 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000314fc0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:534 +0x85
google.golang.org/grpc/internal/transport.NewServerTransport.func2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:326 +0xc6
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:323 +0x1833

goroutine 301 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc0001029c0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:1125 +0x233
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:335 +0x1878

goroutine 263 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc0005256c0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:1125 +0x233
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:335 +0x1878

goroutine 300 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0001567d0, 0x1)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:407 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0003bca20)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:534 +0x85
google.golang.org/grpc/internal/transport.NewServerTransport.func2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:326 +0xc6
created by google.golang.org/grpc/internal/transport.NewServerTransport
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:323 +0x1833

goroutine 265 [runnable]:
gopkg.in/yaml%2ev2.yaml_parser_fetch_stream_start(0xc00033c300)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/scannerc.go:992 +0x1c5
gopkg.in/yaml%2ev2.yaml_parser_fetch_next_token(0xc00033c300)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/scannerc.go:660 +0x772
gopkg.in/yaml%2ev2.yaml_parser_fetch_more_tokens(0xc00033c300)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/scannerc.go:642 +0x19b
gopkg.in/yaml%2ev2.peek_token(...)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/parserc.go:47
gopkg.in/yaml%2ev2.yaml_parser_parse_stream_start(0xc00033c300, 0xc00033c510?)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/parserc.go:175 +0x4b
gopkg.in/yaml%2ev2.yaml_parser_state_machine(0x203000?, 0xc00033c300?)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/parserc.go:98 +0x65
gopkg.in/yaml%2ev2.yaml_parser_parse(0x0?, 0x40114e5?)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/parserc.go:72 +0x8c
gopkg.in/yaml%2ev2.(*parser).expect(0xc00033c300, 0x1)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/decode.go:84 +0x3c
gopkg.in/yaml%2ev2.(*parser).init(...)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/decode.go:69
gopkg.in/yaml%2ev2.(*parser).parse(0xc00033c300)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/decode.go:142 +0x30
gopkg.in/yaml%2ev2.unmarshal({0xc000513000, 0x162c, 0x1800}, {0x5a1cd60?, 0xc0003c4600}, 0x0)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:142 +0x305
gopkg.in/yaml%2ev2.Unmarshal(...)
	/Users/lee/code/go/bin/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:81
github.com/layer5io/meshery-adapter-library/adapter.(*Adapter).createKubeconfig(0xc00054e280, {0xc000513000, 0x162c, 0x1800})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/configure.go:77 +0x5f
github.com/layer5io/meshery-adapter-library/adapter.(*Adapter).CreateInstance(0xc00054e280, {0xc000513000, 0x162c, 0x1800}, {0xc000461f80, 0xe}, 0xc00054a128)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/configure.go:22 +0x67
github.com/layer5io/meshery-adapter-library/adapter.(*adapterLogger).CreateInstance(0xc00007ad00, {0xc000513000, 0x162c, 0x1800}, {0xc000461f80, 0xe}, 0x203000?)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/adapter/logger.go:52 +0xbc
github.com/layer5io/meshery-adapter-library/api/grpc.(*Service).CreateMeshInstance(0xc000820b60?, {0x54de445?, 0xc000511800?}, 0x0?)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/api/grpc/handlers.go:28 +0x46
github.com/layer5io/meshery-adapter-library/meshes._MeshService_CreateMeshInstance_Handler.func1({0x6271ed8, 0xc000925b60}, {0x5d4c000?, 0xc000b70780})
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/meshes/meshops_grpc.pb.go:203 +0x78
github.com/grpc-ecosystem/go-grpc-middleware/recovery.UnaryServerInterceptor.func1({0x6271ed8?, 0xc000925b60?}, {0x5d4c000?, 0xc000b70780?}, 0x2fbb7108?, 0xc000820b40?)
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/recovery/interceptors.go:33 +0xc4
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0x6271ed8?, 0xc000925b60?}, {0x5d4c000?, 0xc000b70780?})
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25 +0x3a
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1({0x6271ed8, 0xc000925b60}, {0x5d4c000, 0xc000b70780}, 0xc0004e8af8?, 0x5be57e0?)
	/Users/lee/code/go/bin/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:34 +0xbf
github.com/layer5io/meshery-adapter-library/meshes._MeshService_CreateMeshInstance_Handler({0x5d98400?, 0xc00054a0a0}, {0x6271ed8, 0xc000925b60}, 0xc000315260, 0xc00063baa0)
	/Users/lee/code/go/bin/pkg/mod/github.com/layer5io/meshery-adapter-library@v0.5.4/meshes/meshops_grpc.pb.go:205 +0x138
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0006ce380, {0x6278ac8, 0xc0001029c0}, 0xc00080d560, 0xc00063bc80, 0x747e7c0, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1282 +0xccf
google.golang.org/grpc.(*Server).handleStream(0xc0006ce380, {0x6278ac8, 0xc0001029c0}, 0xc00080d560, 0x0)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:1619 +0xa1b
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:921 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:919 +0x28a

goroutine 302 [runnable]:
internal/poll.runtime_pollWait(0xf7194f8, 0x72)
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000981900?, 0xc0002aa000?, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc000981900, {0xc0002aa000, 0x8000, 0x8000})
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000981900, {0xc0002aa000?, 0x89005b8?, 0x18?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000114ad0, {0xc0002aa000?, 0x5cbff00?, 0x164400010001?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0xc0003bc9c0, {0xc0006cc200, 0x9, 0xc000a5b2a8?})
	/usr/local/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:236 +0x1b4
io.ReadAtLeast({0x624d520, 0xc0003bc9c0}, {0xc0006cc200, 0x9, 0x9}, 0x9)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:331 +0x9a
io.ReadFull(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:350
golang.org/x/net/http2.readFrameHeader({0xc0006cc200?, 0x9?, 0xc00004e0a0?}, {0x624d520?, 0xc0003bc9c0?})
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0006cc1c0)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc0001029c0, 0x2?, 0x13?)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:605 +0xb2
google.golang.org/grpc.(*Server).serveStreams(0xc0006ce380, {0x6278ac8?, 0xc0001029c0})
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:905 +0x142
google.golang.org/grpc.(*Server).handleRawConn.func1()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:847 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:846 +0x185

goroutine 264 [IO wait]:
internal/poll.runtime_pollWait(0xf719318, 0x72)
	/usr/local/Cellar/go/1.18.1/libexec/src/runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000981880?, 0xc000170000?, 0x0)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc000981880, {0xc000170000, 0x8000, 0x8000})
	/usr/local/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0xc000981880, {0xc000170000?, 0x40587c6?, 0x406c100?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc000114ac8, {0xc000170000?, 0xd505a73ae7b?, 0x100000001?})
	/usr/local/Cellar/go/1.18.1/libexec/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0xc000314f60, {0xc00092a120, 0x9, 0x1cd0db4e35?})
	/usr/local/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:236 +0x1b4
io.ReadAtLeast({0x624d520, 0xc000314f60}, {0xc00092a120, 0x9, 0x9}, 0x9)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:331 +0x9a
io.ReadFull(...)
	/usr/local/Cellar/go/1.18.1/libexec/src/io/io.go:350
golang.org/x/net/http2.readFrameHeader({0xc00092a120?, 0x9?, 0xc000b70550?}, {0x624d520?, 0xc000314f60?})
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00092a0e0)
	/Users/lee/code/go/bin/pkg/mod/golang.org/x/net@v0.0.0-20220412020605-290c469a71a5/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc0005256c0, 0x2?, 0xc00096c000?)
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:605 +0xb2
google.golang.org/grpc.(*Server).serveStreams(0xc0006ce380, {0x6278ac8?, 0xc0005256c0})
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:905 +0x142
google.golang.org/grpc.(*Server).handleRawConn.func1()
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:847 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
	/Users/lee/code/go/bin/pkg/mod/google.golang.org/grpc@v1.45.0/server.go:846 +0x185
exit status 2
make: *** [run] Error 1

Environment

  • Meshery Server Version: stable-v0.6.0-rc.5r

Contributor Guides and Resources

@leecalcote leecalcote added the kind/bug Something isn't working label May 25, 2022
@Revolyssup
Copy link
Contributor

Closed by multi context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants