Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-24528

concurrent map write error in linux ptp daemon

XMLWordPrintable

    • No
    • CNF RAN Sprint 245
    • 1
    • False
    • Hide

      None

      Show
      None
    • 12/6: Identified only in QE lab due to multiple ptpconfig. Dev is looking into the fix

      Description of problem:

         Pods are restarted due to concurrent map write error 
          ptp4l[5418.951]: [ptp4l.4.config] master offset         -4 s2 freq   -1357 path delay       562
      fatal error: concurrent map writesgoroutine 483 [running]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.extractMetrics({0xc00017f070?, 0x48843c?}, {0x1724f03, 0x5}, {0xc0006d2f10, 0x1, 0xc0001e7b70?}, {0xc000710a20, 0x5f})
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/metrics.go:216 +0x3a5
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).processPTPMetrics(0xc00077f080, {0xc000710a20?, 0xc0001e7f20?})
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:745 +0x294
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:682 +0x4d6
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 1 [select]:
      main.main()
          /go/src/github.com/openshift/linuxptp-daemon/cmd/main.go:138 +0x987goroutine 19 [chan receive]:
      github.com/golang/glog.(*loggingT).flushDaemon(0x0?)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/golang/glog/glog.go:882 +0x6a
      created by github.com/golang/glog.init.0
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/golang/glog/glog.go:410 +0x1bfgoroutine 273 [syscall, 75 minutes]:
      syscall.Syscall6(0xc0003fda20?, 0xc000925e30?, 0xc0007c2da6?, 0xc0007c2ec8?, 0x85ce0e?, 0xc00004e190?, 0x9?)
          /usr/lib/golang/src/syscall/syscall_linux.go:91 +0x36
      os.(*Process).blockUntilWaitable(0xc000001680)
          /usr/lib/golang/src/os/wait_waitid.go:32 +0x87
      os.(*Process).wait(0xc000001680)
          /usr/lib/golang/src/os/exec_unix.go:22 +0x28
      os.(*Process).Wait(...)
          /usr/lib/golang/src/os/exec.go:132
      os/exec.(*Cmd).Wait(0xc0003fda20)
          /usr/lib/golang/src/os/exec/exec.go:890 +0x45
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*GPSD).CmdRun(0xc0004b30e0, 0x0?)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/gpsd.go:175 +0x345
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:258 +0x67egoroutine 50 [select]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).Run(0xc0001ce310)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:161 +0x158
      created by main.main
          /go/src/github.com/openshift/linuxptp-daemon/cmd/main.go:112 +0x790goroutine 52 [syscall, 76 minutes]:
      os/signal.signal_recv()
          /usr/lib/golang/src/runtime/sigqueue.go:152 +0x2f
      os/signal.loop()
          /usr/lib/golang/src/os/signal/signal_unix.go:23 +0x19
      created by os/signal.Notify.func1.1
          /usr/lib/golang/src/os/signal/signal.go:151 +0x2agoroutine 27 [select]:
      github.com/openshift/linuxptp-daemon/pkg/event.(*EventHandler).ProcessEvents(0xc0004b4280)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/event/event.go:498 +0x5ad
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).Run
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:157 +0x95goroutine 28 [select, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/event.(*EventHandler).ProcessEvents.func2(0xc0004b4280?)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/event/event.go:473 +0x129
      created by github.com/openshift/linuxptp-daemon/pkg/event.(*EventHandler).ProcessEvents
          /go/src/github.com/openshift/linuxptp-daemon/pkg/event/event.go:466 +0x3begoroutine 29 [select]:
      github.com/openshift/linuxptp-daemon/pkg/event.(*EventHandler).ProcessEvents.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/event/event.go:487 +0x7d
      created by github.com/openshift/linuxptp-daemon/pkg/event.(*EventHandler).ProcessEvents
          /go/src/github.com/openshift/linuxptp-daemon/pkg/event/event.go:485 +0x43bgoroutine 462 [IO wait]:
      internal/poll.runtime_pollWait(0x7efc401f9340, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc000100a80?, 0xc00007b5a0?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc000100a80, {0xc00007b5a0, 0xa60, 0xa60})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      os.(*File).read(...)
          /usr/lib/golang/src/os/file_posix.go:31
      os.(*File).Read(0xc0000c20f8, {0xc00007b5a0?, 0x623f89?, 0xc000330500?})
          /usr/lib/golang/src/os/file.go:118 +0x5e
      bufio.(*Scanner).Scan(0xc000467f50)
          /usr/lib/golang/src/bufio/scan.go:214 +0x876
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:669 +0x2cc
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 461 [IO wait]:
      internal/poll.runtime_pollWait(0x7efc41806678, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc0001007e0?, 0xc00007a780?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc0001007e0, {0xc00007a780, 0x880, 0x880})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      os.(*File).read(...)
          /usr/lib/golang/src/os/file_posix.go:31
      os.(*File).Read(0xc0000c2098, {0xc00007a780?, 0x623f89?, 0xc000330280?})
          /usr/lib/golang/src/os/file.go:118 +0x5e
      bufio.(*Scanner).Scan(0xc0001ebf50)
          /usr/lib/golang/src/bufio/scan.go:214 +0x876
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:669 +0x2cc
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 412 [IO wait, 1 minutes]:
      internal/poll.runtime_pollWait(0x7efc41805fe8, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc0003024e0?, 0xc0000ca642?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc0003024e0, {0xc0000ca642, 0x9be, 0x9be})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      os.(*File).read(...)
          /usr/lib/golang/src/os/file_posix.go:31
      os.(*File).Read(0xc00032a0e0, {0xc0000ca642?, 0x623f89?, 0xc000410500?})
          /usr/lib/golang/src/os/file.go:118 +0x5e
      bufio.(*Scanner).Scan(0xc000116f50)
          /usr/lib/golang/src/bufio/scan.go:214 +0x876
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:669 +0x2cc
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 445 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077e000, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 447 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077e840, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 411 [IO wait]:
      internal/poll.runtime_pollWait(0x7efc41806858, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc000302360?, 0xc0001554bc?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc000302360, {0xc0001554bc, 0xb44, 0xb44})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      os.(*File).read(...)
          /usr/lib/golang/src/os/file_posix.go:31
      os.(*File).Read(0xc00032a0c0, {0xc0001554bc?, 0x623f89?, 0xc000410300?})
          /usr/lib/golang/src/os/file.go:118 +0x5e
      bufio.(*Scanner).Scan(0xc00002df50)
          /usr/lib/golang/src/bufio/scan.go:214 +0x876
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:669 +0x2cc
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 484 [runnable]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.updatePTPMetrics({0x17256e2, 0x6}, {0x1724f03, 0x5}, {0xc00004b236, 0x6}, 0x401c000000000000?, 0x401c000000000000?, 0xc094ec0000000000?, 0x408ab00000000000?)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/metrics.go:176 +0x685
      github.com/openshift/linuxptp-daemon/pkg/daemon.extractMetrics({0xc00017ef80?, 0x53?}, {0x1724f03, 0x5}, {0xc00069fe10, 0x1, 0xc00046bb70?}, {0xc0007869c0, 0x5f})
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/metrics.go:218 +0x431
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).processPTPMetrics(0xc00077edc0, {0xc0007869c0?, 0xc00046bf20?})
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:745 +0x294
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:682 +0x4d6
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 557 [select, 75 minutes]:
      github.com/mdlayher/socket.rwT[...].func2()
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/socket/conn.go:759 +0xc9
      created by github.com/mdlayher/socket.rwT[...]
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/socket/conn.go:756 +0x5adgoroutine 482 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077f080, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 449 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077edc0, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 448 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077eb00, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 556 [IO wait, 75 minutes]:
      internal/poll.runtime_pollWait(0x7efc401f8da0, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc00007d800?, 0xc000076800?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).RawRead(0xc00007d800, 0xc0005ffd60)
          /usr/lib/golang/src/internal/poll/fd_unix.go:766 +0x145
      os.(*rawConn).Read(0xc0000161d0, 0x13de001?)
          /usr/lib/golang/src/os/rawconn.go:31 +0x56
      github.com/mdlayher/socket.rwT[...](0xc00064db00, {{0x1951ce8, 0xc0000b6000}, 0x0, {0x1726432, 0x7}, 0xc00064ddc0})
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/socket/conn.go:776 +0x6b2
      github.com/mdlayher/socket.readT[...](0xc00064dc04?, {0x1951ce8?, 0xc0000b6000?}, {0x1726432?, 0x413f6a?}, 0xc000076b90?)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/socket/conn.go:644 +0xbe
      github.com/mdlayher/socket.(*Conn).Recvmsg(0xc00064db00, {0x1951ce8, 0xc0000b6000}, {0xc000669000, 0x1000, 0x1000}, {0x0, 0x0, 0x0}, 0x2)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/socket/conn.go:562 +0x165
      github.com/mdlayher/netlink.(*conn).Receive(0xc0000161d8)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/netlink/conn_linux.go:130 +0xbb
      github.com/mdlayher/netlink.(*Conn).receive(0xc00064dc00)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/netlink/conn.go:279 +0x6d
      github.com/mdlayher/netlink.(*Conn).lockedReceive(0xc00064dc00)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/netlink/conn.go:238 +0x33
      github.com/mdlayher/netlink.(*Conn).Receive(0x47dcaf?)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/netlink/conn.go:231 +0x99
      github.com/mdlayher/genetlink.(*Conn).Receive(0xc00032a2e8?)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/mdlayher/genetlink/conn.go:150 +0x25
      github.com/openshift/linuxptp-daemon/pkg/dpll.(*DpllConfig).monitorNtf(0x4482e5?, 0xc00060f800?)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/dpll/dpll.go:271 +0x3f
      github.com/openshift/linuxptp-daemon/pkg/dpll.(*DpllConfig).MonitorDpllNetlink.func1()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/dpll/dpll.go:369 +0x65
      created by github.com/openshift/linuxptp-daemon/pkg/dpll.(*DpllConfig).MonitorDpllNetlink
          /go/src/github.com/openshift/linuxptp-daemon/pkg/dpll/dpll.go:367 +0x630goroutine 552 [sleep]:
      time.Sleep(0xee6b280)
          /usr/lib/golang/src/runtime/time.go:195 +0x135
      github.com/openshift/linuxptp-daemon/pkg/dpll.(*DpllConfig).MonitorDpllNetlink(0xc0003fdce0)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/dpll/dpll.go:422 +0x85
      created by github.com/openshift/linuxptp-daemon/pkg/dpll.(*DpllConfig).MonitorDpll
          /go/src/github.com/openshift/linuxptp-daemon/pkg/dpll/dpll.go:475 +0xeagoroutine 446 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc00077e580, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 470 [IO wait]:
      internal/poll.runtime_pollWait(0x7efc41806a38, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc00060c420?, 0xc0000cb752?, 0x1)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc00060c420, {0xc0000cb752, 0x8ae, 0x8ae})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      os.(*File).read(...)
          /usr/lib/golang/src/os/file_posix.go:31
      os.(*File).Read(0xc000106100, {0xc0000cb752?, 0x623f89?, 0xc000410700?})
          /usr/lib/golang/src/os/file.go:118 +0x5e
      bufio.(*Scanner).Scan(0xc00046df50)
          /usr/lib/golang/src/bufio/scan.go:214 +0x876
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun.func3()
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:669 +0x2cc
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:654 +0x4afgoroutine 444 [chan receive, 75 minutes]:
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*ptpProcess).cmdRun(0xc0003fd8c0, 0x1)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:704 +0x70e
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:275 +0x965goroutine 421 [IO wait]:
      internal/poll.runtime_pollWait(0x7efc41806c18, 0x72)
          /usr/lib/golang/src/runtime/netpoll.go:306 +0x89
      internal/poll.(*pollDesc).wait(0xc0004b4580?, 0xc0006c4000?, 0x0)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32
      internal/poll.(*pollDesc).waitRead(...)
          /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
      internal/poll.(*FD).Read(0xc0004b4580, {0xc0006c4000, 0x1000, 0x1000})
          /usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x299
      net.(*netFD).Read(0xc0004b4580, {0xc0006c4000?, 0xc00047c570?, 0x4137de?})
          /usr/lib/golang/src/net/fd_posix.go:55 +0x29
      net.(*conn).Read(0xc0000c26c8, {0xc0006c4000?, 0x441120?, 0xc00010b860?})
          /usr/lib/golang/src/net/net.go:183 +0x45
      bufio.(*Reader).fill(0xc00093f9e0)
          /usr/lib/golang/src/bufio/bufio.go:106 +0xff
      bufio.(*Reader).ReadSlice(0xc00093f9e0, 0x1?)
          /usr/lib/golang/src/bufio/bufio.go:372 +0x2f
      bufio.(*Reader).collectFragments(0xc00047c5a0?, 0x20?)
          /usr/lib/golang/src/bufio/bufio.go:447 +0x74
      bufio.(*Reader).ReadString(0x1493380?, 0x40?)
          /usr/lib/golang/src/bufio/bufio.go:494 +0x2b
      github.com/stratoberry/go-gpsd.watch(0xe?, 0xc000925ec0)
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/stratoberry/go-gpsd/gpsd.go:279 +0x51
      created by github.com/stratoberry/go-gpsd.(*Session).Watch
          /go/src/github.com/openshift/linuxptp-daemon/vendor/github.com/stratoberry/go-gpsd/gpsd.go:229 +0xbegoroutine 374 [syscall, 75 minutes]:
      syscall.Syscall6(0xc0003fdb80?, 0xc0000e2010?, 0xc0007c7da6?, 0xc0007c7ec8?, 0x85ce0e?, 0xc000372880?, 0x9?)
          /usr/lib/golang/src/syscall/syscall_linux.go:91 +0x36
      os.(*Process).blockUntilWaitable(0xc000634150)
          /usr/lib/golang/src/os/wait_waitid.go:32 +0x87
      os.(*Process).wait(0xc000634150)
          /usr/lib/golang/src/os/exec_unix.go:22 +0x28
      os.(*Process).Wait(...)
          /usr/lib/golang/src/os/exec.go:132
      os/exec.(*Cmd).Wait(0xc0003fdb80)
          /usr/lib/golang/src/os/exec/exec.go:890 +0x45
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*gpspipe).CmdRun(0xc0001014a0, 0x54?)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/gpspipe.go:121 +0x285
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.(*Daemon).applyNodePTPProfiles
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/daemon.go:258 +0x67egoroutine 418 [sleep]:
      time.Sleep(0x1dcd6500)
          /usr/lib/golang/src/runtime/time.go:195 +0x135
      github.com/openshift/linuxptp-daemon/pkg/daemon.(*GPSD).MonitorGNSSEventsWithGPSD(0xc0004b30e0)
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/gpsd.go:287 +0x338
      created by github.com/openshift/linuxptp-daemon/pkg/daemon.GPSDSubscriber.Monitor
          /go/src/github.com/openshift/linuxptp-daemon/pkg/daemon/gpsd.go:56 +0xb6
      

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

            jacding@redhat.com Jack Ding
            aputtur@redhat.com Aneesh Puttur
            Bonnie Block Bonnie Block
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: