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

TestConcurrentDevices "Still" Failing Intermittently

    XMLWordPrintable

    Details

      Description

      Got the following test failure, which went away after a "recheck".

      Complete run here: https://jenkins.opencord.org/job/verify_voltha-go_unit-test-tests/1413/console

      Possibly related to VOL-2530

      10:11:46 === RUN   TestConcurrentDevices
      10:11:46 {"level":"info","ts":"2020-02-18T15:11:41.967Z","msg":"starting-insecure-grpc-server","instanceId":"1000","caller":"server.Start:115"}
      10:11:46 {"level":"warn","ts":"2020-02-18T15:11:42.131Z","caller":"clientv3/retry_interceptor.go:61","msg":"retrying of unary invoker failed","target":"endpoint://client-1816c3ac-b1a6-4f2b-ad34-af8c85fb8982/127.0.0.1:41888","attempt":0,"error":"rpc error: code = NotFound desc = etcdserver: requested lease not found"}
      10:11:46 {"level":"error","ts":"2020-02-18T15:11:42.132Z","msg":"unable-to-acquire-key-from-kvstore","instanceId":"DB_MODEL","caller":"proxy.Update:299","error":"etcdserver: requested lease not found","stacktrace":"github.com/opencord/voltha-lib-go/v3/pkg/log.Errorw\n\t/app/vendor/github.com/opencord/voltha-lib-go/v3/pkg/log/log.go:739\ngithub.com/opencord/voltha-go/db/model.(*Proxy).Update\n\t/app/db/model/proxy.go:299\ngithub.com/opencord/voltha-go/rw_core/core.(*DeviceAgent).updateDeviceInStoreWithoutLock\n\t/app/rw_core/core/device_agent.go:1349\ngithub.com/opencord/voltha-go/rw_core/core.(*DeviceAgent).updateDeviceStatus\n\t/app/rw_core/core/device_agent.go:1167\ngithub.com/opencord/voltha-go/rw_core/core.(*DATest).updateDeviceConcurrently.func2\n\t/app/rw_core/core/device_agent_test.go:180"}
      10:11:46 --- FAIL: TestConcurrentDevices (1.56s)
      10:11:46     device_agent_test.go:181: 
      10:11:46         	Error Trace:	device_agent_test.go:181
      10:11:46         	            				asm_amd64.s:1337
      10:11:46         	Error:      	Expected nil, but got: &status.statusError{Code:13, Message:"failed-update-device:837d9cf28588cc5451fe52d4", Details:[]*any.Any(nil), XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
      10:11:46         	Test:       	TestConcurrentDevices
      10:11:46     device_agent_test.go:210: 
      10:11:46         	Error Trace:	device_agent_test.go:210
      10:11:46         	            				asm_amd64.s:1337
      10:11:46         	Error:      	Should be true
      10:11:46         	Test:       	TestConcurrentDevices
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              khagerma Kent Hagerman
              Reporter:
              khagerma Kent Hagerman
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes