Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

fatal error: concurrent map writes #365

Open
mahjonp opened this issue Feb 19, 2021 · 0 comments
Open

fatal error: concurrent map writes #365

mahjonp opened this issue Feb 19, 2021 · 0 comments
Assignees
Labels
type/bug Something isn't working

Comments

@mahjonp
Copy link
Contributor

mahjonp commented Feb 19, 2021

Bug Report

$ bin/cdc-bank -namespace mahjonp3 --storage-class local-storage
2021/02/19 21:00:11 fixture.go:241: [info] Git Commit Hash: 399391b8b0b44799d3c74c29156f00d7d7ad89cb
2021/02/19 21:00:11 fixture.go:242: [info] UTC Build Time: 2021-02-19 12:59:47
2021/02/19 21:00:19 matrix.go:24: [info] Not TiDB cluster, skip Matrix.
2021/02/19 21:00:19 operation.go:163: [info] Apply tidb configmap
2021/02/19 21:00:19 operation.go:163: [info] Apply tidb configmap
2021/02/19 21:00:19 operation.go:167: [info] Apply pd configmap
2021/02/19 21:00:19 operation.go:167: [info] Apply pd configmap
2021/02/19 21:00:19 operation.go:171: [info] Apply tikv configmap
2021/02/19 21:00:19 operation.go:171: [info] Apply tikv configmap
fatal error: concurrent map writes

goroutine 406 [running]:
runtime.throw(0x2949286, 0x15)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/panic.go:1116 +0x72 fp=0xc00078ec50 sp=0xc00078ec20 pc=0x1038e92
runtime.mapassign(0x273b6a0, 0xc00031fef0, 0xc000a988d0, 0xc000156750)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/map.go:585 +0x5c5 fp=0xc00078ecd0 sp=0xc00078ec50 pc=0x1012265
reflect.mapassign(0x273b6a0, 0xc00031fef0, 0xc000a988d0, 0xc000a8c640)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/map.go:1319 +0x3f fp=0xc00078ed00 sp=0xc00078ecd0 pc=0x106aaff
github.com/modern-go/reflect2.(*UnsafeMapType).UnsafeSetIndex(...)
        /Users/manjunpeng/go/pkg/mod/github.com/modern-go/[email protected]/unsafe_map.go:76
github.com/json-iterator/go.(*mapDecoder).Decode(0xc00013b360, 0xc000122e08, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_map.go:180 +0x1a5 fp=0xc00078ed80 sp=0xc00078ed00 pc=0x188c145
github.com/json-iterator/go.(*placeholderDecoder).Decode(0xc000513460, 0xc000122e08, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect.go:324 +0x47 fp=0xc00078eda8 sp=0xc00078ed80 pc=0x1885087
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc0007b3440, 0xc000122e08, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78 fp=0xc00078ee30 sp=0xc00078eda8 pc=0x189c138
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc0007b34e0, 0xc000122d00, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78 fp=0xc00078eeb8 sp=0xc00078ee30 pc=0x189c138
github.com/json-iterator/go.(*generalStructDecoder).decodeOneField(0xc000808560, 0xc000122d00, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:552 +0x217 fp=0xc00078ef30 sp=0xc00078eeb8 pc=0x1899757
github.com/json-iterator/go.(*generalStructDecoder).Decode(0xc000808560, 0xc000122d00, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:508 +0x85 fp=0xc00078efa0 sp=0xc00078ef30 pc=0x1899245
github.com/json-iterator/go.(*OptionalDecoder).Decode(0xc000808580, 0xc000148b38, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_optional.go:39 +0x95 fp=0xc00078efd0 sp=0xc00078efa0 pc=0x1893355
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc000958460, 0xc000148b18, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78 fp=0xc00078f058 sp=0xc00078efd0 pc=0x189c138
github.com/json-iterator/go.(*generalStructDecoder).decodeOneField(0xc000958b80, 0xc000148b18, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:552 +0x217 fp=0xc00078f0d0 sp=0xc00078f058 pc=0x1899757
github.com/json-iterator/go.(*generalStructDecoder).Decode(0xc000958b80, 0xc000148b18, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:508 +0x85 fp=0xc00078f140 sp=0xc00078f0d0 pc=0x1899245
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc000a9c300, 0xc000148a00, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78 fp=0xc00078f1c8 sp=0xc00078f140 pc=0x189c138
github.com/json-iterator/go.(*fiveFieldsStructDecoder).Decode(0xc0004ba900, 0xc000148a00, 0xc000156750)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:743 +0xcb fp=0xc00078f230 sp=0xc00078f1c8 pc=0x189a7cb
github.com/json-iterator/go.(*Iterator).ReadVal(0xc000156750, 0x292b760, 0xc000148a00)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect.go:79 +0xc2 fp=0xc00078f2a0 sp=0xc00078f230 pc=0x1882f22
github.com/json-iterator/go.(*frozenConfig).Unmarshal(0xc00013dd60, 0xc000366000, 0x127a, 0x1e00, 0x292b760, 0xc000148a00, 0x0, 0x0)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/config.go:348 +0xb7 fp=0xc00078f300 sp=0xc00078f2a0 pc=0x1878cb7
k8s.io/apimachinery/pkg/runtime/serializer/json.(*Serializer).Decode(0xc0005200a0, 0xc000366000, 0x127a, 0x1e00, 0x0, 0x2b67be0, 0xc000148a00, 0xc000000000000020, 0xc0009a15e0, 0x18d90e6, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/serializer/json/json.go:263 +0x602 fp=0xc00078f628 sp=0xc00078f300 pc=0x18b1b82
k8s.io/apimachinery/pkg/runtime.WithoutVersionDecoder.Decode(0x2b56920, 0xc0005200a0, 0xc000366000, 0x127a, 0x1e00, 0x0, 0x2b67be0, 0xc000148a00, 0xc000228f00, 0x0, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/helper.go:252 +0x97 fp=0xc00078f6c0 sp=0xc00078f628 pc=0x1559797
k8s.io/apimachinery/pkg/runtime.(*WithoutVersionDecoder).Decode(0xc000512120, 0xc000366000, 0x127a, 0x1e00, 0x0, 0x2b67be0, 0xc000148a00, 0x0, 0x0, 0x18de2e0, ...)
        <autogenerated>:1 +0x9f fp=0xc00078f738 sp=0xc00078f6c0 pc=0x156571f
k8s.io/client-go/rest.Result.Into(0xc000366000, 0x127a, 0x1e00, 0xc00011ee50, 0x10, 0x0, 0x0, 0xc8, 0x2b589c0, 0xc000512120, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/rest/request.go:1182 +0xba fp=0xc00078f7f8 sp=0xc00078f738 pc=0x18db71a
sigs.k8s.io/controller-runtime/pkg/client.(*typedClient).Get(0xc0002d8750, 0x2b9ec60, 0xc000050078, 0x7ffeefbff9a8, 0x8, 0xc000514280, 0x13, 0x2b67be0, 0xc000148a00, 0xc000148a00, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/typed_client.go:145 +0x1d2 fp=0xc00078f8d8 sp=0xc00078f7f8 pc=0x1e73f52
sigs.k8s.io/controller-runtime/pkg/client.(*client).Get(0xc0002d8750, 0x2b9ec60, 0xc000050078, 0x7ffeefbff9a8, 0x8, 0xc000514280, 0x13, 0x2b67be0, 0xc000148a00, 0x0, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/client.go:170 +0x137 fp=0xc00078f940 sp=0xc00078f8d8 pc=0x1e6fe17
sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.CreateOrUpdate(0x2b9ec60, 0xc000050078, 0x2bb49a0, 0xc0002d8750, 0x2b67be0, 0xc000148a00, 0xc00078fa98, 0xc0001f3a68, 0x10047f8, 0x28f37a0, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/controller/controllerutil/controllerutil.go:142 +0xf0 fp=0xc00078f9e8 sp=0xc00078f940 pc=0x1f7e5d0
github.com/pingcap/tipocket/pkg/test-infra/tidb.(*Ops).Apply(0xc0001683c0, 0xc000050f40, 0x2a0a0c8)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/tidb/operation.go:182 +0x2fa fp=0xc00078ff50 sp=0xc00078f9e8 pc=0x211bbda
github.com/pingcap/tipocket/pkg/test-infra.(*groupCluster).Apply.func1(0x0, 0x0)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/clusters.go:36 +0x2f fp=0xc00078ff78 sp=0xc00078ff50 pc=0x2527caf
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001cadb0, 0xc00046e100)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x59 fp=0xc00078ffd0 sp=0xc00078ff78 pc=0x21193d9
runtime.goexit()
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc00078ffd8 sp=0xc00078ffd0 pc=0x10715a1
created by golang.org/x/sync/errgroup.(*Group).Go
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc0001cadc0)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0001cadb8)
        /usr/local/Cellar/go/1.15.5/libexec/src/sync/waitgroup.go:130 +0x65
golang.org/x/sync/errgroup.(*Group).Wait(0xc0001cadb0, 0xc00046e100, 0x2116525)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/pingcap/tipocket/pkg/test-infra.(*groupCluster).Apply(0xc000117b00, 0x9, 0x0)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/clusters.go:39 +0x113
github.com/pingcap/tipocket/pkg/test-infra.(*compositeCluster).Apply(0xc000117ca0, 0x7ffeefbff9a8, 0x8)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/clusters.go:100 +0x65
github.com/pingcap/tipocket/pkg/cluster.(*K8sProvider).SetUp(0xc0000104c8, 0x2b9ec20, 0xc0006a24c0, 0x2b9ee60, 0xc000117ca0, 0x0, 0x0, 0x0, 0x7ffeefbff9a8, 0x8, ...)
        /Users/manjunpeng/Workspaces/tipocket/pkg/cluster/k8s.go:33 +0x149
github.com/pingcap/tipocket/cmd/util.(*Suit).Run(0xc000899780, 0x2b9ec60, 0xc000050070)
        /Users/manjunpeng/Workspaces/tipocket/cmd/util/suit.go:80 +0x23f
main.main()
        /Users/manjunpeng/Workspaces/tipocket/cmd/cdc-bank/main.go:68 +0x5fa

goroutine 18 [chan receive]:
k8s.io/klog.(*loggingT).flushDaemon(0x384ad00)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/klog.go:1010 +0x8b
created by k8s.io/klog.init.0
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/klog.go:411 +0xd8

goroutine 19 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x384ade0)
        /Users/manjunpeng/go/pkg/mod/k8s.io/klog/[email protected]/klog.go:1107 +0x8b
created by k8s.io/klog/v2.init.0
        /Users/manjunpeng/go/pkg/mod/k8s.io/klog/[email protected]/klog.go:416 +0xd8

goroutine 53 [IO wait]:
internal/poll.runtime_pollWait(0x2c47d7d8, 0x72, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000146018, 0x72, 0x0, 0x0, 0x292fda8)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000146000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_unix.go:394 +0x1fc
net.(*netFD).accept(0xc000146000, 0xc0000be420, 0xc000093de8, 0xc000100000)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc0005a4180, 0xc000093e08, 0x1010478, 0x30)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc0005a4180, 0x27edec0, 0xc0000be420, 0x269fd60, 0x381df60)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc0002b21c0, 0x2b9ab60, 0xc0005a4180, 0x0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/http/server.go:2937 +0x266
net/http.(*Server).ListenAndServe(0xc0002b21c0, 0xc0002b21c0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/http/server.go:2866 +0xb7
net/http.ListenAndServe(...)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/http/server.go:3120
github.com/pingcap/tipocket/pkg/test-infra/fixture.init.0.func1()
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/fixture/fixture.go:354 +0x74
created by github.com/pingcap/tipocket/pkg/test-infra/fixture.init.0
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/fixture/fixture.go:353 +0x22ac

goroutine 67 [IO wait]:
internal/poll.runtime_pollWait(0x2c47d6f0, 0x72, 0x2b591e0)
        /usr/local/Cellar/go/1.15.5/libexec/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000020418, 0x72, 0x2b59100, 0x37a7c38, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000020400, 0xc00033a000, 0x2506, 0x2506, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000020400, 0xc00033a000, 0x2506, 0x2506, 0x203000, 0x12c50db, 0xc00021e160)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc00027a000, 0xc00033a000, 0x2506, 0x2506, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/net/net.go:182 +0x8e
crypto/tls.(*atLeastReader).Read(0xc0003f8a60, 0xc00033a000, 0x2506, 0x2506, 0x1a, 0x2501, 0xc0001f1710)
        /usr/local/Cellar/go/1.15.5/libexec/src/crypto/tls/conn.go:779 +0x62
bytes.(*Buffer).ReadFrom(0xc00021e280, 0x2b54700, 0xc0003f8a60, 0x100d6e5, 0x26efee0, 0x28ae780)
        /usr/local/Cellar/go/1.15.5/libexec/src/bytes/buffer.go:204 +0xb1
crypto/tls.(*Conn).readFromUntil(0xc00021e000, 0x2c7c0008, 0xc00027a000, 0x5, 0xc00027a000, 0x9)
        /usr/local/Cellar/go/1.15.5/libexec/src/crypto/tls/conn.go:801 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc00021e000, 0x0, 0x0, 0xc0001f1d18)
        /usr/local/Cellar/go/1.15.5/libexec/src/crypto/tls/conn.go:608 +0x115
crypto/tls.(*Conn).readRecord(...)
        /usr/local/Cellar/go/1.15.5/libexec/src/crypto/tls/conn.go:576
crypto/tls.(*Conn).Read(0xc00021e000, 0xc000456000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.15.5/libexec/src/crypto/tls/conn.go:1252 +0x15f
bufio.(*Reader).Read(0xc00010e420, 0xc0002b23b8, 0x9, 0x9, 0xc0001f1d18, 0x2a0a000, 0x158f90b)
        /usr/local/Cellar/go/1.15.5/libexec/src/bufio/bufio.go:227 +0x222
io.ReadAtLeast(0x2b54540, 0xc00010e420, 0xc0002b23b8, 0x9, 0x9, 0x9, 0xc00007e110, 0x0, 0x2b54940)
        /usr/local/Cellar/go/1.15.5/libexec/src/io/io.go:314 +0x87
io.ReadFull(...)
        /usr/local/Cellar/go/1.15.5/libexec/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0002b23b8, 0x9, 0x9, 0x2b54540, 0xc00010e420, 0x0, 0x0, 0xc00055e240, 0x0)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x89
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0002b2380, 0xc00055e240, 0x0, 0x0, 0x0)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:492 +0xa5
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0001f1fa8, 0x0, 0x0)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:1794 +0xd8
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000242a80)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:1716 +0x6f
created by golang.org/x/net/http2.(*Transport).newClientConn
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:695 +0x66e

goroutine 361 [chan receive]:
go.etcd.io/etcd/pkg/logutil.(*MergeLogger).outputLoop(0xc000117320)
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:173 +0x3b3
created by go.etcd.io/etcd/pkg/logutil.NewMergeLogger
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:91 +0x85

goroutine 371 [chan receive]:
go.etcd.io/etcd/pkg/logutil.(*MergeLogger).outputLoop(0xc00000fc20)
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:173 +0x3b3
created by go.etcd.io/etcd/pkg/logutil.NewMergeLogger
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:91 +0x85

goroutine 301 [chan receive]:
go.etcd.io/etcd/pkg/logutil.(*MergeLogger).outputLoop(0xc000116fa0)
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:173 +0x3b3
created by go.etcd.io/etcd/pkg/logutil.NewMergeLogger
        /Users/manjunpeng/go/pkg/mod/go.etcd.io/[email protected]/pkg/logutil/merge_logger.go:91 +0x85

goroutine 405 [runnable]:
k8s.io/apimachinery/pkg/api/resource.(*Quantity).UnmarshalJSON(0xc000a61000, 0xc000b143a0, 0x3, 0x20, 0xc000a61000, 0x2647ea0)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/pkg/api/resource/quantity.go:656 +0x158
github.com/json-iterator/go.(*unmarshalerDecoder).Decode(0xc0008359e0, 0xc0007cba50, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_marshaler.go:199 +0xb3
github.com/json-iterator/go.(*referenceDecoder).Decode(0xc0008359f0, 0xc000a61000, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_optional.go:128 +0x68
github.com/json-iterator/go.(*mapDecoder).Decode(0xc00042e410, 0xc0007dc2c8, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_map.go:179 +0x164
github.com/json-iterator/go.(*placeholderDecoder).Decode(0xc0008358f0, 0xc0007dc2c8, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect.go:324 +0x47
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc0002617c0, 0xc0007dc2c8, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc000261840, 0xc0007dc1c0, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78
github.com/json-iterator/go.(*generalStructDecoder).decodeOneField(0xc00032fd80, 0xc0007dc1c0, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:552 +0x217
github.com/json-iterator/go.(*generalStructDecoder).Decode(0xc00032fd80, 0xc0007dc1c0, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:508 +0x85
github.com/json-iterator/go.(*OptionalDecoder).Decode(0xc00032fda0, 0xc000148640, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_optional.go:39 +0x95
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc00054ee20, 0xc000148618, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78
github.com/json-iterator/go.(*generalStructDecoder).decodeOneField(0xc00054f500, 0xc000148618, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:552 +0x217
github.com/json-iterator/go.(*generalStructDecoder).Decode(0xc00054f500, 0xc000148618, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:508 +0x85
github.com/json-iterator/go.(*structFieldDecoder).Decode(0xc000b11040, 0xc000148500, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:1054 +0x78
github.com/json-iterator/go.(*fiveFieldsStructDecoder).Decode(0xc00052f140, 0xc000148500, 0xc0000f7290)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect_struct_decoder.go:737 +0x33e
github.com/json-iterator/go.(*Iterator).ReadVal(0xc0000f7290, 0x292b760, 0xc000148500)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/reflect.go:79 +0xc2
github.com/json-iterator/go.(*frozenConfig).Unmarshal(0xc00013dd60, 0xc0005de000, 0x122a, 0x1e00, 0x292b760, 0xc000148500, 0x0, 0x0)
        /Users/manjunpeng/go/pkg/mod/github.com/json-iterator/[email protected]/config.go:348 +0xb7
k8s.io/apimachinery/pkg/runtime/serializer/json.(*Serializer).Decode(0xc0005200a0, 0xc0005de000, 0x122a, 0x1e00, 0x0, 0x2b67be0, 0xc000148500, 0xc000000000000020, 0xc0009a55e0, 0x18d90e6, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/serializer/json/json.go:263 +0x602
k8s.io/apimachinery/pkg/runtime.WithoutVersionDecoder.Decode(0x2b56920, 0xc0005200a0, 0xc0005de000, 0x122a, 0x1e00, 0x0, 0x2b67be0, 0xc000148500, 0xc000229200, 0x0, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/helper.go:252 +0x97
k8s.io/client-go/rest.Result.Into(0xc0005de000, 0x122a, 0x1e00, 0xc00011ee50, 0x10, 0x0, 0x0, 0xc8, 0x2b589c0, 0xc000834740, ...)
        /Users/manjunpeng/go/pkg/mod/k8s.io/[email protected]/rest/request.go:1182 +0xba
sigs.k8s.io/controller-runtime/pkg/client.(*typedClient).Get(0xc0002d8750, 0x2b9ec60, 0xc000050078, 0x7ffeefbff9a8, 0x8, 0xc0005141c0, 0x11, 0x2b67be0, 0xc000148500, 0xc000148500, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/typed_client.go:145 +0x1d2
sigs.k8s.io/controller-runtime/pkg/client.(*client).Get(0xc0002d8750, 0x2b9ec60, 0xc000050078, 0x7ffeefbff9a8, 0x8, 0xc0005141c0, 0x11, 0x2b67be0, 0xc000148500, 0x0, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/client.go:170 +0x137
sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.CreateOrUpdate(0x2b9ec60, 0xc000050078, 0x2bb49a0, 0xc0002d8750, 0x2b67be0, 0xc000148500, 0xc00069fa98, 0x0, 0x0, 0x0, ...)
        /Users/manjunpeng/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/controller/controllerutil/controllerutil.go:142 +0xf0
github.com/pingcap/tipocket/pkg/test-infra/tidb.(*Ops).Apply(0xc0001681e0, 0x0, 0x1)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/tidb/operation.go:182 +0x2fa
github.com/pingcap/tipocket/pkg/test-infra.(*groupCluster).Apply.func1(0xc00029a7c0, 0x1582fe5)
        /Users/manjunpeng/Workspaces/tipocket/pkg/test-infra/clusters.go:36 +0x2f
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0001cadb0, 0xc00046e0e0)
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
        /Users/manjunpeng/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66
@mahjonp mahjonp added the type/bug Something isn't working label Feb 19, 2021
@mahjonp mahjonp self-assigned this Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant