time="2018-07-22T09:42:38Z" level=info msg="Setting state of check PodRestartChecker namespace kube-system to true []"
time="2018-07-22T09:42:38Z" level=info msg="Setting state of check PodRestartChecker namespace datadog-agent to true []"
time="2018-07-22T09:42:38Z" level=info msg="Setting state of check PodStatusChecker namespace openshift-infra to true []"
time="2018-07-22T09:42:38Z" level=info msg="Setting state of check PodStatusChecker namespace kube-system to true []"
time="2018-07-22T09:42:38Z" level=info msg="Setting state of check PodRestartChecker namespace openshift-infra to true []"
fatal error: concurrent map read and map write
goroutine 28 [running]:
runtime.throw(0x1132123, 0x21)
/usr/local/go/src/runtime/panic.go:619 +0x81 fp=0xc420d91218 sp=0xc420d911f8 pc=0x42b491
runtime.mapaccess2(0xfdbdc0, 0xc4202db020, 0xc420d912d8, 0xc420337438, 0x1061b01)
/usr/local/go/src/runtime/hashmap.go:409 +0x225 fp=0xc420d91260 sp=0xc420d91218 pc=0x409345
k8s.io/apimachinery/pkg/runtime.(*Scheme).ObjectKinds(0xc42026b0a0, 0x1207080, 0xc4200d36c0, 0x2a, 0x25, 0xffffffffffffffff, 0xffffffffffffffff, 0x1201cc0, 0xc4208c0b70)
/go/src/k8s.io/apimachinery/pkg/runtime/scheme.go:260 +0x25d fp=0xc420d91338 sp=0xc420d91260 pc=0x7279ed
k8s.io/apimachinery/pkg/runtime.(*parameterCodec).EncodeParameters(0xc4200d2e40, 0x1207080, 0xc4200d36c0, 0x1123bf6, 0x11, 0x111b501, 0x2, 0x111b32c, 0x0, 0x1842a90)
/go/src/k8s.io/apimachinery/pkg/runtime/codec.go:178 +0x62 fp=0xc420d91430 sp=0xc420d91338 pc=0x716e72
k8s.io/client-go/rest.(*Request).SpecificallyVersionedParams(0xc42065b380, 0x1207080, 0xc4200d36c0, 0x1207540, 0xc4200d2e40, 0x1123bf6, 0x11, 0x111b501, 0x2, 0xc42065b380)
/go/src/k8s.io/client-go/rest/request.go:327 +0xaf fp=0xc420d91538 sp=0xc420d91430 pc=0xd16b0f
k8s.io/client-go/rest.(*Request).VersionedParams(0xc42065b380, 0x1207080, 0xc4200d36c0, 0x1207540, 0xc4200d2e40, 0xf921e0)
/go/src/k8s.io/client-go/rest/request.go:320 +0x83 fp=0xc420d91598 sp=0xc420d91538 pc=0xd16a33
github.com/Comcast/kuberhealthy/khstatecrd.(*KuberhealthyStateClient).Get(0xc420886b20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x111d592, 0x8, ...)
/go/src/github.com/Comcast/kuberhealthy/khstatecrd/functions.go:70 +0x168 fp=0xc420d91678 sp=0xc420d91598 pc=0xd4f5a8
main.ensureCRDExists(0xc420024810, 0x2a, 0xc420886b20, 0x2, 0xc420047a60)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/crd.go:77 +0x187 fp=0xc420d91ba8 sp=0xc420d91678 pc=0xee5d17
main.(*Kuberhealthy).storeCheckState(0xc420425360, 0xc420024810, 0x2a, 0x1, 0x18717c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:255 +0xb8 fp=0xc420d91c70 sp=0xc420d91ba8 pc=0xee8458
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d43f0, 0x121dce0, 0xc4204345c0)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:237 +0x6a5 fp=0xc420d91fc0 sp=0xc420d91c70 pc=0xee8035
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420d91fc8 sp=0xc420d91fc0 pc=0x457fe1
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7f04e193df00, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420432e18, 0x72, 0xc4200d2000, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420432e18, 0xffffffffffffff00, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc420432e00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc420432e00, 0xc420c8ab20, 0xc4200c7c20, 0x402c58)
/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42000e720, 0xc4200c7c50, 0x401bb7, 0xc420c8ab20)
/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).AcceptTCP(0xc42000e720, 0xc4200c7c98, 0xc4200c7ca0, 0x18)
/usr/local/go/src/net/tcpsock.go:246 +0x49
net/http.tcpKeepAliveListener.Accept(0xc42000e720, 0x11989a0, 0xc420c8aaa0, 0x1218b60, 0xc42044a5d0)
/usr/local/go/src/net/http/server.go:3216 +0x2f
net/http.(*Server).Serve(0xc420415520, 0x1216960, 0xc42000e720, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2770 +0x1a5
net/http.(*Server).ListenAndServe(0xc420415520, 0xc420415520, 0x2)
/usr/local/go/src/net/http/server.go:2711 +0xa9
net/http.ListenAndServe(0x7ffc7470d6ab, 0x5, 0x0, 0x0, 0xc420048800, 0x4348d4)
/usr/local/go/src/net/http/server.go:2969 +0x7a
main.(*Kuberhealthy).StartWebServer(0xc420425360)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:288 +0x166
main.main()
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/main.go:156 +0x5fd
goroutine 5 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0x18532a0)
/go/src/github.com/golang/glog/glog.go:882 +0x8b
created by github.com/golang/glog.init.0
/go/src/github.com/golang/glog/glog.go:410 +0x203
goroutine 6 [syscall, 230 minutes]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
goroutine 8 [chan receive, 230 minutes]:
main.listenForInterrupts()
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/main.go:163 +0xb7
created by main.main
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/main.go:100 +0x4a
goroutine 19 [select, 230 minutes, locked to thread]:
runtime.gopark(0x1199000, 0x0, 0x111c592, 0x6, 0x18, 0x1)
/usr/local/go/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc42009ef50, 0xc4203e8060)
/usr/local/go/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1
goroutine 9 [select, 230 minutes]:
main.(*Kuberhealthy).Start(0xc420425360)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:93 +0x131
created by main.main
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/main.go:153 +0x5ed
goroutine 34 [chan receive]:
main.(*Kuberhealthy).masterStatusMonitor(0xc420425360, 0xc420456000, 0xc420456060)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:193 +0x14d
created by main.(*Kuberhealthy).Start
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:89 +0xa9
goroutine 21 [chan receive, 4 minutes]:
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d4000, 0x121dc20, 0xc42043e300)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:241 +0x6ce
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 85 [IO wait]:
internal/poll.runtime_pollWait(0x7f04e193de30, 0x72, 0xc4201cb850)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42003a318, 0x72, 0xffffffffffffff00, 0x1202fe0, 0x17f16f8)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42003a318, 0xc420828000, 0x8000, 0x8000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42003a300, 0xc420828000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42003a300, 0xc420828000, 0x8000, 0x8000, 0xc4201cba30, 0x80c802, 0x111b9bd)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc420190070, 0xc420828000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc4200f6ff0, 0x7f04e18ea800, 0xc420190070, 0x5, 0xc420190070, 0x10000000111b9bd)
/usr/local/go/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc42003c700, 0x1199017, 0xc42003c820, 0x10)
/usr/local/go/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc42003c700, 0xc4203d6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1156 +0x100
bufio.(*Reader).Read(0xc4200d64e0, 0xc420258498, 0x9, 0x9, 0x3, 0xc4201cbc70, 0x405985)
/usr/local/go/src/bufio/bufio.go:216 +0x238
io.ReadAtLeast(0x1200880, 0xc4200d64e0, 0xc420258498, 0x9, 0x9, 0x9, 0xc420925880, 0xc4201cbd30, 0x4056b7)
/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x1200880, 0xc4200d64e0, 0xc420258498, 0x9, 0x9, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:327 +0x58
k8s.io/apimachinery/vendor/golang.org/x/net/http2.readFrameHeader(0xc420258498, 0x9, 0x9, 0x1200880, 0xc4200d64e0, 0x0, 0x0, 0x1, 0xc4201cbdf8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc420258460, 0xc4203ce780, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/frame.go:492 +0xa4
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*clientConnReadLoop).run(0xc4201cbfb0, 0x1197bf8, 0xc4204997b0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:1428 +0x8e
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).readLoop(0xc4201101a0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:1354 +0x76
created by k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).newClientConn
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:579 +0x651
goroutine 22 [select]:
github.com/Comcast/kuberhealthy/checks/podRestarts.(*Checker).Run(0xc420434400, 0xc420048700, 0x2, 0xc4203b12f0)
/go/src/github.com/Comcast/kuberhealthy/checks/podRestarts/podRestarts.go:78 +0x1b9
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d40e0, 0x121dc80, 0xc420434400)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:220 +0x190
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 23 [select]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).RoundTrip(0xc4201101a0, 0xc420cca700, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:879 +0x809
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTripOpt(0xc420351680, 0xc420cca700, 0x0, 0x40bf80, 0x111bf00, 0xc420de6b00)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:351 +0x156
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTrip(0xc420351680, 0xc420cca700, 0x0, 0xc42002cc88, 0xc420028ab0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:313 +0x3a
k8s.io/apimachinery/vendor/golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0xc420351680, 0xc420cca700, 0xc420de6b00, 0x5, 0xc42037f4c8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/configure_transport.go:75 +0x39
net/http.(*Transport).RoundTrip(0xc4203940f0, 0xc420cca700, 0xd, 0xc420c00380, 0x376)
/usr/local/go/src/net/http/transport.go:380 +0xc36
k8s.io/client-go/transport.(*bearerAuthRoundTripper).RoundTrip(0xc420e59780, 0xc420cca700, 0xa, 0xc420cc4680, 0x34)
/go/src/k8s.io/client-go/transport/round_trippers.go:284 +0x17c
k8s.io/client-go/transport.(*userAgentRoundTripper).RoundTrip(0xc420e597a0, 0xc420cca600, 0xc420e597a0, 0x0, 0x0)
/go/src/k8s.io/client-go/transport/round_trippers.go:162 +0x10c
net/http.send(0xc420cca500, 0x1201780, 0xc420e597a0, 0x0, 0x0, 0x0, 0xc42055e348, 0x0, 0xc4209d5230, 0x1)
/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc420028870, 0xc420cca500, 0x0, 0x0, 0x0, 0xc42055e348, 0x0, 0x1, 0x0)
/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc420028870, 0xc420cca500, 0x0, 0x7e, 0x0)
/usr/local/go/src/net/http/client.go:615 +0x28d
k8s.io/client-go/rest.(*Request).request(0xc4207fe000, 0xc4209d54d0, 0x0, 0x0)
/go/src/k8s.io/client-go/rest/request.go:687 +0x34b
k8s.io/client-go/rest.(*Request).Do(0xc4207fe000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/rest/request.go:759 +0xb7
github.com/Comcast/kuberhealthy/khstatecrd.(*KuberhealthyStateClient).Get(0xc420e59820, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x111d592, 0x8, ...)
/go/src/github.com/Comcast/kuberhealthy/khstatecrd/functions.go:71 +0x176
main.ensureCRDExists(0xc420cc06c0, 0x29, 0xc420e59820, 0x2, 0xc420047a60)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/crd.go:77 +0x187
main.(*Kuberhealthy).storeCheckState(0xc420425360, 0xc420cc06c0, 0x29, 0x1, 0x18717c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:255 +0xb8
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d4150, 0x121dc80, 0xc420434440)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:237 +0x6a5
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 24 [runnable]:
k8s.io/client-go/rest.buildUserAgent(0x7ffc7470d68e, 0xc, 0x112b26b, 0x6, 0x111bf5a, 0x5, 0x111be38, 0x5, 0x111ee36, 0x7, ...)
/go/src/k8s.io/client-go/rest/config.go:296 +0x124
k8s.io/client-go/rest.DefaultKubernetesUserAgent(0x1216560, 0xc420c73980)
/go/src/k8s.io/client-go/rest/config.go:301 +0x187
github.com/Comcast/kuberhealthy/khstatecrd.Client(0x1123bf6, 0x11, 0x111b501, 0x2, 0xc420047a60, 0xd, 0x80, 0xc4207c66f0, 0x2b)
/go/src/github.com/Comcast/kuberhealthy/khstatecrd/api.go:49 +0x1c7
main.(*Kuberhealthy).storeCheckState(0xc420425360, 0xc4207c66f0, 0x2b, 0x1, 0x18717c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:249 +0x75
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d41c0, 0x121dc80, 0xc4204344c0)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:237 +0x6a5
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 25 [select]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).RoundTrip(0xc4201101a0, 0xc4206ace00, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:879 +0x809
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTripOpt(0xc420351680, 0xc4206ace00, 0x0, 0x40bf80, 0x111bf00, 0xc420102b80)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:351 +0x156
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTrip(0xc420351680, 0xc4206ace00, 0x0, 0xc420833788, 0xc42054fd10)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:313 +0x3a
k8s.io/apimachinery/vendor/golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0xc420351680, 0xc4206ace00, 0xc420102b80, 0x5, 0xc42037f4c8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/configure_transport.go:75 +0x39
net/http.(*Transport).RoundTrip(0xc4203940f0, 0xc4206ace00, 0xd, 0xc420ce6380, 0x376)
/usr/local/go/src/net/http/transport.go:380 +0xc36
k8s.io/client-go/transport.(*bearerAuthRoundTripper).RoundTrip(0xc420539400, 0xc4206ace00, 0xa, 0xc4208e5bc0, 0x34)
/go/src/k8s.io/client-go/transport/round_trippers.go:284 +0x17c
k8s.io/client-go/transport.(*userAgentRoundTripper).RoundTrip(0xc420539420, 0xc4206acd00, 0xc420539420, 0x0, 0x0)
/go/src/k8s.io/client-go/transport/round_trippers.go:162 +0x10c
net/http.send(0xc4206acc00, 0x1201780, 0xc420539420, 0x0, 0x0, 0x0, 0xc42000ebc8, 0x0, 0xc4209d9230, 0x1)
/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc42053ad50, 0xc4206acc00, 0x0, 0x0, 0x0, 0xc42000ebc8, 0x0, 0x1, 0x0)
/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc42053ad50, 0xc4206acc00, 0x0, 0x7c, 0x0)
/usr/local/go/src/net/http/client.go:615 +0x28d
k8s.io/client-go/rest.(*Request).request(0xc420c1b680, 0xc4209d94d0, 0x0, 0x0)
/go/src/k8s.io/client-go/rest/request.go:687 +0x34b
k8s.io/client-go/rest.(*Request).Do(0xc420c1b680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/rest/request.go:759 +0xb7
github.com/Comcast/kuberhealthy/khstatecrd.(*KuberhealthyStateClient).Get(0xc4205394a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x111d592, 0x8, ...)
/go/src/github.com/Comcast/kuberhealthy/khstatecrd/functions.go:71 +0x176
main.ensureCRDExists(0xc420ea20c0, 0x27, 0xc4205394a0, 0x2, 0xc420047a60)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/crd.go:77 +0x187
main.(*Kuberhealthy).storeCheckState(0xc420425360, 0xc420ea20c0, 0x27, 0x1, 0x18717c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:255 +0xb8
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d4230, 0x121dc80, 0xc420434500)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:237 +0x6a5
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 26 [select]:
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run(0xc420434540, 0xc420048700, 0x2, 0xc4206ee010)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:84 +0x1b9
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d42a0, 0x121dce0, 0xc420434540)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:220 +0x190
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 27 [select]:
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run(0xc420434580, 0xc420048700, 0x2, 0xc420540010)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:84 +0x1b9
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d4380, 0x121dce0, 0xc420434580)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:220 +0x190
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 29 [select]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).RoundTrip(0xc4201101a0, 0xc420ccaa00, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:879 +0x809
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTripOpt(0xc420351680, 0xc420ccaa00, 0x0, 0x40bf80, 0x111bf00, 0xc420de6e00)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:351 +0x156
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTrip(0xc420351680, 0xc420ccaa00, 0x0, 0xc42002d8e8, 0xc420029650)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:313 +0x3a
k8s.io/apimachinery/vendor/golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0xc420351680, 0xc420ccaa00, 0xc420de6e00, 0x5, 0xc42037f4c8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/configure_transport.go:75 +0x39
net/http.(*Transport).RoundTrip(0xc4203940f0, 0xc420ccaa00, 0xd, 0xc420c00a80, 0x376)
/usr/local/go/src/net/http/transport.go:380 +0xc36
k8s.io/client-go/transport.(*bearerAuthRoundTripper).RoundTrip(0xc420021020, 0xc420ccaa00, 0xa, 0xc420cc4b00, 0x34)
/go/src/k8s.io/client-go/transport/round_trippers.go:284 +0x17c
k8s.io/client-go/transport.(*userAgentRoundTripper).RoundTrip(0xc420021040, 0xc420cca900, 0xc420021040, 0x0, 0x0)
/go/src/k8s.io/client-go/transport/round_trippers.go:162 +0x10c
net/http.send(0xc420cca800, 0x1201780, 0xc420021040, 0x0, 0x0, 0x0, 0xc42055e408, 0x0, 0xc420c77230, 0x1)
/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc420029350, 0xc420cca800, 0x0, 0x0, 0x0, 0xc42055e408, 0x0, 0x1, 0x0)
/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc420029350, 0xc420cca800, 0x0, 0x7b, 0x0)
/usr/local/go/src/net/http/client.go:615 +0x28d
k8s.io/client-go/rest.(*Request).request(0xc4207fe480, 0xc420c774d0, 0x0, 0x0)
/go/src/k8s.io/client-go/rest/request.go:687 +0x34b
k8s.io/client-go/rest.(*Request).Do(0xc4207fe480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/rest/request.go:759 +0xb7
github.com/Comcast/kuberhealthy/khstatecrd.(*KuberhealthyStateClient).Get(0xc4200211a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x111d592, 0x8, ...)
/go/src/github.com/Comcast/kuberhealthy/khstatecrd/functions.go:71 +0x176
main.ensureCRDExists(0xc420cc0b70, 0x26, 0xc4200211a0, 0x2, 0xc420047a60)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/crd.go:77 +0x187
main.(*Kuberhealthy).storeCheckState(0xc420425360, 0xc420cc0b70, 0x26, 0x1, 0x18717c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:255 +0xb8
main.(*Kuberhealthy).runCheck(0xc420425360, 0xc4200d4460, 0x121dce0, 0xc420434600)
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:237 +0x6a5
created by main.(*Kuberhealthy).StartChecks
/go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy/kuberhealthy.go:112 +0xe4
goroutine 27298 [runnable]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*clientStream).awaitRequestCancel(0xc42061fcc0, 0xc420dc4500)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:243
created by k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*clientConnReadLoop).handleResponse
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:1620 +0x77e
goroutine 26116 [runnable]:
encoding/json.stateInString(0xc42010c260, 0x10ade39, 0x0)
/usr/local/go/src/encoding/json/scanner.go:336 +0x100
encoding/json.checkValid(0xc420db8000, 0x6bcf, 0x7e00, 0xc42010c260, 0x1016900, 0x1)
/usr/local/go/src/encoding/json/scanner.go:29 +0xb0
encoding/json.Unmarshal(0xc420db8000, 0x6bcf, 0x7e00, 0xf612e0, 0xc42018c120, 0x5b54518e, 0xc420bae830)
/usr/local/go/src/encoding/json/decode.go:102 +0x66
k8s.io/apimachinery/pkg/runtime/serializer/json.SimpleMetaFactory.Interpret(0xc420db8000, 0x6bcf, 0x7e00, 0xc420baeb00, 0xd1e18f, 0x1871400)
/go/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go:55 +0x7a
k8s.io/apimachinery/pkg/runtime/serializer/json.(*Serializer).Decode(0xc4200d2d40, 0xc420db8000, 0x6bcf, 0x7e00, 0x0, 0x1205a80, 0xc42084c070, 0xc420db2c70, 0xd16b6b, 0xc4206e2100, ...)
/go/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go:171 +0x273
k8s.io/apimachinery/pkg/runtime/serializer/versioning.DirectDecoder.Decode(0x1200d00, 0xc4200d2d40, 0xc420db8000, 0x6bcf, 0x7e00, 0x0, 0x1205a80, 0xc42084c070, 0x0, 0x0, ...)
/go/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go:265 +0x97
k8s.io/client-go/rest.Result.Into(0xc420db8000, 0x6bcf, 0x7e00, 0xc420492db0, 0x10, 0x0, 0x0, 0xc8, 0x12026e0, 0xc420393e80, ...)
/go/src/k8s.io/client-go/rest/request.go:1061 +0xb6
k8s.io/client-go/kubernetes/typed/core/v1.(*pods).List(0xc4208b2080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go:85 +0x1a2
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).podFailures(0xc420434580, 0x42d26b, 0xc420876ee0, 0x453ed0, 0xc420cd0d80, 0x4)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:126 +0xbe
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).doChecks(0xc420434580, 0x0, 0x0)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:103 +0x40
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run.func1(0xc420434580, 0xc420642000)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:79 +0x2b
created by github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:78 +0x9f
goroutine 27282 [select]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).RoundTrip(0xc4201101a0, 0xc420dc4200, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:879 +0x809
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTripOpt(0xc420351680, 0xc420dc4200, 0x0, 0x40bf80, 0x111bf00, 0xc420916080)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:351 +0x156
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTrip(0xc420351680, 0xc420dc4200, 0x0, 0xc42063c448, 0xc420544720)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:313 +0x3a
k8s.io/apimachinery/vendor/golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0xc420351680, 0xc420dc4200, 0xc420916080, 0x5, 0xc42037f4c8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/configure_transport.go:75 +0x39
net/http.(*Transport).RoundTrip(0xc4203940f0, 0xc420dc4200, 0xd, 0xc420db6380, 0x376)
/usr/local/go/src/net/http/transport.go:380 +0xc36
k8s.io/client-go/transport.(*bearerAuthRoundTripper).RoundTrip(0xc420411a00, 0xc420dc4200, 0xa, 0xc4204164c0, 0x34)
/go/src/k8s.io/client-go/transport/round_trippers.go:284 +0x17c
k8s.io/client-go/transport.(*userAgentRoundTripper).RoundTrip(0xc420411a20, 0xc420dc4100, 0xc420411a20, 0x0, 0x0)
/go/src/k8s.io/client-go/transport/round_trippers.go:162 +0x10c
net/http.send(0xc420dc4000, 0x1201780, 0xc420411a20, 0x0, 0x0, 0x0, 0xc42088a018, 0x0, 0xc4200c32a0, 0x1)
/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc4203cf9e0, 0xc420dc4000, 0x0, 0x0, 0x0, 0xc42088a018, 0x0, 0x1, 0x0)
/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc4203cf9e0, 0xc420dc4000, 0x0, 0x38, 0x0)
/usr/local/go/src/net/http/client.go:615 +0x28d
k8s.io/client-go/rest.(*Request).request(0xc420e38000, 0xc420bab540, 0x0, 0x0)
/go/src/k8s.io/client-go/rest/request.go:687 +0x34b
k8s.io/client-go/rest.(*Request).Do(0xc420e38000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/rest/request.go:759 +0xb7
k8s.io/client-go/kubernetes/typed/core/v1.(*pods).List(0xc42089a0c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go:84 +0x149
github.com/Comcast/kuberhealthy/checks/podRestarts.(*Checker).doChecks(0xc420434400, 0x0, 0x0)
/go/src/github.com/Comcast/kuberhealthy/checks/podRestarts/podRestarts.go:124 +0xbb
github.com/Comcast/kuberhealthy/checks/podRestarts.(*Checker).Run.func1(0xc420434400, 0xc4204560c0)
/go/src/github.com/Comcast/kuberhealthy/checks/podRestarts/podRestarts.go:73 +0x2b
created by github.com/Comcast/kuberhealthy/checks/podRestarts.(*Checker).Run
/go/src/github.com/Comcast/kuberhealthy/checks/podRestarts/podRestarts.go:72 +0x9f
goroutine 27283 [runnable]:
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*ClientConn).RoundTrip(0xc4201101a0, 0xc420dc4500, 0x0, 0x0, 0x0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:879 +0x809
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTripOpt(0xc420351680, 0xc420dc4500, 0x0, 0x40bf80, 0x111bf00, 0xc4209160c0)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:351 +0x156
k8s.io/apimachinery/vendor/golang.org/x/net/http2.(*Transport).RoundTrip(0xc420351680, 0xc420dc4500, 0x0, 0xc42063c9a8, 0xc420544900)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/transport.go:313 +0x3a
k8s.io/apimachinery/vendor/golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0xc420351680, 0xc420dc4500, 0xc4209160c0, 0x5, 0xc42037f4c8)
/go/src/k8s.io/apimachinery/vendor/golang.org/x/net/http2/configure_transport.go:75 +0x39
net/http.(*Transport).RoundTrip(0xc4203940f0, 0xc420dc4500, 0xd, 0xc420db6700, 0x376)
/usr/local/go/src/net/http/transport.go:380 +0xc36
k8s.io/client-go/transport.(*bearerAuthRoundTripper).RoundTrip(0xc420411a00, 0xc420dc4500, 0xa, 0xc4204164c0, 0x34)
/go/src/k8s.io/client-go/transport/round_trippers.go:284 +0x17c
k8s.io/client-go/transport.(*userAgentRoundTripper).RoundTrip(0xc420411a20, 0xc420dc4400, 0xc420411a20, 0x0, 0x0)
/go/src/k8s.io/client-go/transport/round_trippers.go:162 +0x10c
net/http.send(0xc420dc4300, 0x1201780, 0xc420411a20, 0x0, 0x0, 0x0, 0xc42088a038, 0x0, 0xc4200c8978, 0x1)
/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc4203cf9e0, 0xc420dc4300, 0x0, 0x0, 0x0, 0xc42088a038, 0x0, 0x1, 0x0)
/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc4203cf9e0, 0xc420dc4300, 0x0, 0x38, 0x0)
/usr/local/go/src/net/http/client.go:615 +0x28d
k8s.io/client-go/rest.(*Request).request(0xc420e38180, 0xc420d94c18, 0x0, 0x0)
/go/src/k8s.io/client-go/rest/request.go:687 +0x34b
k8s.io/client-go/rest.(*Request).Do(0xc420e38180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/rest/request.go:759 +0xb7
k8s.io/client-go/kubernetes/typed/core/v1.(*pods).List(0xc42089a360, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go:84 +0x149
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).podFailures(0xc420434540, 0x80000, 0x80000, 0x80000, 0xc420669c80, 0x4)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:126 +0xbe
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).doChecks(0xc420434540, 0x0, 0x0)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:103 +0x40
github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run.func1(0xc420434540, 0xc420456180)
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:79 +0x2b
created by github.com/Comcast/kuberhealthy/checks/podStatus.(*Checker).Run
/go/src/github.com/Comcast/kuberhealthy/checks/podStatus/podStatus.go:78 +0x9f