Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-3891

ofagent and rw-core crash following ONOS restart

    XMLWordPrintable

    Details

      Description

      Ofagent crash

       

      2021-03-03T12:16:43.994006596Z {"level":"debug","ts":"2021-03-03T12:16:43.993Z","caller":"openflow/connection.go:503","msg":"queuing-message","instanceId":"voltha-voltha-ofagent-f758548d9-2zds4","op-id":"4c03925989ffc048","op-name":"openflow-stats","endpoint":"onos-onos-classic-1.onos-onos-classic-hs.default.svc:6653","role":"ofcRoleMaster"}
      2021-03-03T12:16:43.996170739Z panic: runtime error: invalid memory address or nil pointer dereference
      2021-03-03T12:16:43.996182604Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x854d63]
      2021-03-03T12:16:43.996187129Z
      2021-03-03T12:16:43.996190866Z goroutine 164595 [running]:
      2021-03-03T12:16:43.996194664Z github.com/opencord/goloxi/of13.(*FlowStatsEntry).Serialize(0xc000430a80, 0xc00027a4d8, 0x0, 0x0)
      2021-03-03T12:16:43.996198489Z /src/vendor/github.com/opencord/goloxi/of13/common.go:13209 +0x2b3
      2021-03-03T12:16:43.996202510Z github.com/opencord/goloxi/of13.(*FlowStatsReply).Serialize(0xc0008e6820, 0xc00027a4d8, 0xc000503f90, 0xc0005b5f80)
      2021-03-03T12:16:43.996206538Z /src/vendor/github.com/opencord/goloxi/of13/message.go:7786 +0x132
      2021-03-03T12:16:43.996210374Z github.com/opencord/ofagent-go/internal/pkg/openflow.(*OFConnection).doSend(0xc00029c460, 0x1171660, 0xc0007ccbc0, 0x1149c00, 0xc0008e6820, 0xc0001ca6c0, 0x0)
      2021-03-03T12:16:43.996215630Z /src/internal/pkg/openflow/connection.go:449 +0x9d
      2021-03-03T12:16:43.996219693Z github.com/opencord/ofagent-go/internal/pkg/openflow.(*OFConnection).messageSender(0xc00029c460, 0x1171660, 0xc0007ccbc0)
      2021-03-03T12:16:43.996223545Z /src/internal/pkg/openflow/connection.go:480 +0x16b
      2021-03-03T12:16:43.996227264Z created by github.com/opencord/ofagent-go/internal/pkg/openflow.(*OFConnection).Run
      2021-03-03T12:16:43.996231248Z /src/internal/pkg/openflow/connection.go:152 +0xad7
      2021-03-03T12:16:47.575154083Z ___ _____ _ _
      2021-03-03T12:16:47.575214594Z / _ | __/ \ __ _ ___ _ __ | |
      2021-03-03T12:16:47.575224184Z | | | | |_ / _ \ / ' |/ _ \ ' | __|
      2021-03-03T12:16:47.575230200Z | || | _/ ___ \ (| | _/ | | | |
      2021-03-03T12:16:47.575236038Z __/||// __, |__|| ||_|
      2021-03-03T12:16:47.575241665Z |___/

       

      rw-core crash 

       

      = Canceled desc = context canceled","stacktrace":"github.com/opencord/voltha-lib-go/v4/pkg/log.clogger.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v4/pkg/log/log.go:611\ngithub.com/opencord/voltha-go/rw_core/core/device.(*LogicalManager).StreamPacketsOut\n\t/go/src/rw_core/core/device/logical_manager.go:565\ngithub.com/opencord/voltha-protos/v4/go/voltha._VolthaService_StreamPacketsOut_Handler\n\t/go/src/vendor/github.com/opencord/voltha-protos/v4/go/voltha/voltha.pb.go:4075\ngithub.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing.StreamServerInterceptor.func1\n\t/go/src/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing/server_interceptors.go:46\ngoogle.golang.org/grpc.(*Server).processStreamingRPC\n\t/go/src/vendor/google.golang.org/grpc/server.go:1218\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/src/vendor/google.golang.org/grpc/server.go:1291\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/src/vendor/google.golang.org/grpc/server.go:722"}
      2021-03-03T12:16:44.017246648Z panic: runtime error: invalid memory address or nil pointer dereference
      2021-03-03T12:16:44.017262915Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xc70fab]
      2021-03-03T12:16:44.017268421Z
      2021-03-03T12:16:44.017272724Z goroutine 201 [running]:
      2021-03-03T12:16:44.017276963Z github.com/opencord/voltha-go/rw_core/core/device.(*LogicalManager).StreamPacketsOut(0xc0004f6900, 0x112ec00, 0xc00021e680, 0x0, 0x0)
      2021-03-03T12:16:44.017295290Z /go/src/rw_core/core/device/logical_manager.go:566 +0x3ab
      2021-03-03T12:16:44.017300699Z github.com/opencord/voltha-protos/v4/go/voltha._VolthaService_StreamPacketsOut_Handler(0xfcb660, 0xc0003ab580, 0x112c2c0, 0xc0004be880, 0xc000270060, 0x26)
      2021-03-03T12:16:44.017305044Z /go/src/vendor/github.com/opencord/voltha-protos/v4/go/voltha/voltha.pb.go:4075 +0xb0
      2021-03-03T12:16:44.017325288Z github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing.StreamServerInterceptor.func1(0xfcb660, 0xc0003ab580, 0x112c500, 0xc0002d4180, 0xc0004be7a0, 0x101a0d8, 0x11277c0, 0xc00032a660)
      2021-03-03T12:16:44.017340390Z /go/src/vendor/github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing/server_interceptors.go:46 +0x144
      2021-03-03T12:16:44.017368160Z google.golang.org/grpc.(*Server).processStreamingRPC(0xc00051db00, 0x112fe60, 0xc0000df980, 0xc000032900, 0xc0003d3920, 0x17995a0, 0x0, 0x0, 0x0)
      2021-03-03T12:16:44.017377620Z /go/src/vendor/google.golang.org/grpc/server.go:1218 +0x45a
      2021-03-03T12:16:44.017407146Z google.golang.org/grpc.(*Server).handleStream(0xc00051db00, 0x112fe60, 0xc0000df980, 0xc000032900, 0x0)
      2021-03-03T12:16:44.017414846Z /go/src/vendor/google.golang.org/grpc/server.go:1291 +0xd30
      2021-03-03T12:16:44.017437516Z google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00003a1c0, 0xc00051db00, 0x112fe60, 0xc0000df980, 0xc000032900)
      2021-03-03T12:16:44.017452211Z /go/src/vendor/google.golang.org/grpc/server.go:722 +0xbb
      2021-03-03T12:16:44.017458066Z created by google.golang.org/grpc.(*Server).serveStreams.func1
      2021-03-03T12:16:44.017473298Z /go/src/vendor/google.golang.org/grpc/server.go:720 +0xa1

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            andrea Andrea Campanella
            Reporter:
            ggowdra Girish Gowdra
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes