Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48487

[BP 7.0.2 MB-48420] - Eventing - panic observed in debugger tests

    XMLWordPrintable

Details

    Description

      Build - 7.1.0 - 1250

      QE TEST

      ./testrunner -i /tmp/testexec.56477.ini -p get-cbcollect-info=False,get-cbcollect-info=True -t eventing.eventing_lifecycle.EventingLifeCycle.test_eventing_debugger,nodes_init=4,services_init=kv-eventing-index-n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True,get-cbcollect-info=False
      

      FAILURE

      2021-09-12 22:09:29 | ERROR | MainProcess | test_thread | [rest_client._http_request] POST http://172.23.120.115:8091/_p/event/getDebuggerUrl/?name=Function_707694527_test_eventing_debugger body:  headers: {'Content-type': 'application/json', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=='} error: 500 reason: status: 500, content: b'Unexpected server error' b'Unexpected server error' auth: Administrator:password
      

      On 172.23.110.115
      eventing.log

      2021-09-12T22:09:26.565-07:00 [Error] SuperSupervisor::DebuggerCallback [1] value is nil
      2021-09-12T22:09:27.632-07:00 [Error] Consumer::startDebuggerServer [worker_Function_707694527_test_eventing_debugger_1:/tmp/127.0.0.1:8091_1_119358365.sock:43183] Failed to remove frontend.url file, err: remove /opt/couchbase/var/lib/couchbase/data/@eventing/Function_707694527_test_eventing_debugger_frontend.url: no such file or directory
      

      2021/09/12 22:09:29 http: panic serving 172.23.120.115:36451: runtime error: index out of range [3] with length 3
      goroutine 1590 [running]:
      net/http.(*conn).serve.func1(0xc000151900)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:1767 +0x139
      panic(0x143a040, 0xc00186f840)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/runtime/panic.go:679 +0x1b2
      github.com/couchbase/eventing/producer.glob..func8(0xc002027a70, 0x3, 0x3, 0x0, 0x0)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/producer/bucket_ops.go:235 +0x734
      github.com/couchbase/eventing/util.Retry(0x169dd00, 0xc002299960, 0xc00005d960, 0x154cfe8, 0xc002027a70, 0x3, 0x3, 0xc0020e2e60, 0x48)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/util/retry.go:65 +0x12a
      github.com/couchbase/eventing/producer.(*Producer).GetDebuggerURL(0xc00005d880, 0xc002027a40, 0xc0020e2e2b, 0x29, 0xc00244c2c8)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/producer/producer.go:851 +0x213
      github.com/couchbase/eventing/supervisor.(*SuperSupervisor).GetDebuggerURL(0xc0000c1b00, 0xc0020e2e2b, 0x29, 0xc0019ffb01, 0x2, 0x2, 0x2)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/supervisor/exported_functions.go:57 +0x17b
      github.com/couchbase/eventing/service_manager.(*ServiceMgr).getDebuggerURL(0xc000386800, 0x16a7a00, 0xc00209d420, 0xc00018a100)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/service_manager/http_handlers.go:482 +0x22f
      net/http.HandlerFunc.ServeHTTP(0xc000492770, 0x16a7a00, 0xc00209d420, 0xc00018a100)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2007 +0x44
      net/http.(*ServeMux).ServeHTTP(0xc000114400, 0x16a7a00, 0xc00209d420, 0xc00018a100)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2387 +0x1bd
      net/http.serverHandler.ServeHTTP(0xc000032460, 0x16a7a00, 0xc00209d420, 0xc00018a100)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2802 +0xa4
      net/http.(*conn).serve(0xc000151900, 0x16ab4c0, 0xc002155980)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:1890 +0x875
      created by net/http.(*Server).Serve
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2928 +0x384
      

      Last good build - 7.1.0 - 1190.

      Attachments

        Issue Links

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

          Activity

            People

              ankit.prabhu Ankit Prabhu
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty