Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-963

GCCCP bootstrap fails in worker thread test

    XMLWordPrintable

Details

    • 1

    Description

      export CNCSTR='couchbase://10.145.220.101?bootstrap_on=cccp'
      DEBUG=couchnode* ./node_modules/.bin/ts-mocha test/workerthread.test.js

      #worker-threads
      2021-11-01T15:00:58.604Z couchnode:lcb:info (instance @ ../deps/lcb/src/instance.cc:521) Version=3.2.1+13-njs, Changeset=204a528618e9a86007b85c109fd46a45c21aa053
      2021-11-01T15:00:58.604Z couchnode:lcb:info (instance @ ../deps/lcb/src/instance.cc:522) Effective connection string: couchbase://10.145.220.101?bootstrap_on=cccp&enable_tracing=on&enable_operation_metrics=on&client_string=couchnode%2F3.2.3-dev%20(node%2F16.10.0%3B%20v8%2F9.3.345.19-node.14%3B%20ssl%2F1.1.1l). Bucket=(null)
      2021-11-01T15:00:58.604Z couchnode:lcb:debug (instance @ ../deps/lcb/src/instance.cc:389) Applying initial cntl enable_tracing=on
      2021-11-01T15:00:58.604Z couchnode:lcb:debug (instance @ ../deps/lcb/src/instance.cc:389) Applying initial cntl enable_operation_metrics=on
      2021-11-01T15:00:58.604Z couchnode:lcb:debug (instance @ ../deps/lcb/src/instance.cc:389) Applying initial cntl client_string=couchnode/3.2.3-dev (node/16.10.0; v8/9.3.345.19-node.14; ssl/1.1.1l)
      2021-11-01T15:00:58.630Z couchnode:lcb:info (instance @ ../deps/lcb/src/instance.cc:212) DNS SRV lookup failed: LCB_ERR_UNKNOWN_HOST (1049). Ignore this if not relying on DNS SRV records
      2021-11-01T15:00:58.630Z couchnode:lcb:debug (instance @ ../deps/lcb/src/instance.cc:155) Adding host 10.145.220.101:8091 to initial HTTP bootstrap list
      2021-11-01T15:00:58.630Z couchnode:lcb:debug (instance @ ../deps/lcb/src/instance.cc:155) Adding host 10.145.220.101:11210 to initial CCCP bootstrap list
      2021-11-01T15:00:58.630Z couchnode:lcb:trace (instance @ ../deps/lcb/src/instance.cc:193) Bootstrap hosts loaded (cccp:1, http:1)
      2021-11-01T15:00:58.631Z couchnode:lcb:info (bootstrap @ ../deps/lcb/src/bootstrap.cc:277) Requested network configuration: heuristic
      2021-11-01T15:00:58.631Z couchnode:lcb:debug (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:94) Preparing providers (this may be called multiple times)
      2021-11-01T15:00:58.631Z couchnode:lcb:debug (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:100) Provider CCCP is ENABLED
      2021-11-01T15:00:58.631Z couchnode:lcb:trace (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:319) Refreshing current cluster map (bucket: (null))
      2021-11-01T15:00:58.631Z couchnode:lcb:info (cccp @ ../deps/lcb/src/bucketconfig/bc_cccp.cc:176) Requesting connection to node 10.145.220.101:11210 for CCCP configuration
      2021-11-01T15:00:58.631Z couchnode:lcb:debug (lcbio_mgr @ ../deps/lcb/src/lcbio/manager.cc:501) <10.145.220.101:11210> (HE=0x7fcf0ec58510) Creating new connection because none are available in the pool
      2021-11-01T15:00:58.631Z couchnode:lcb:trace (lcbio_mgr @ ../deps/lcb/src/lcbio/manager.cc:413) <10.145.220.101:11210> (HE=0x7fcf0ec58510) New pool entry: I=0x7fcf0ec40870
      2021-11-01T15:00:58.631Z couchnode:lcb:info (connection @ ../deps/lcb/src/lcbio/connect.cc:497) <10.145.220.101:11210> (SOCK=6e726a05b2c62d21) Starting. Timeout=2000000us
      2021-11-01T15:00:58.633Z couchnode:lcb:trace (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:305) Attempting to retrieve cluster map via CCCP
          1) should start a worker and complete an operation
      2021-11-01T15:00:58.633Z couchnode:lcb:error (cccp @ ../deps/lcb/src/bucketconfig/bc_cccp.cc:187) <NOHOST:NOPORT> (CTX=0x0,) Could not get configuration: LCB_ERR_TIMEOUT (201)
      2021-11-01T15:00:58.633Z couchnode:lcb:info (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:216) Provider 'CCCP' failed: LCB_ERR_TIMEOUT (201)
      2021-11-01T15:00:58.633Z couchnode:lcb:trace (confmon @ ../deps/lcb/src/bucketconfig/confmon.cc:265) Maximum provider reached. Resetting index
      2021-11-01T15:00:58.633Z couchnode:lcb:error (bootstrap @ ../deps/lcb/src/bootstrap.cc:205) Failed to bootstrap client=0x7fcf0ed2f660. Error=LCB_ERR_NO_MATCHING_SERVER (1010) (Last=LCB_ERR_TIMEOUT (201)), Message="No more bootstrap providers remain"
      2021-11-01T15:00:58.640Z couchnode:lcb:error (connection @ ../deps/lcb/src/lcbio/connect.cc:168) <10.145.220.101:11210> (SOCK=6e726a05b2c62d21) Failed to establish connection: LCB_ERR_TIMEOUT (201), os errno=0
      2021-11-01T15:00:58.640Z couchnode:lcb:debug (lcbio_mgr @ ../deps/lcb/src/lcbio/manager.cc:369) <10.145.220.101:11210> (HE=0x7fcf0ec58510) Received result for I=0x7fcf0ec40870,C=0x0; E=0xc9
       
       
        0 passing (3s)
        1 failing
       
        1) #worker-threads
             should start a worker and complete an operation:
           TimeoutError: timeout
            at Object.translateCppError (lib/bindingutilities.ts:172:14)
            at Object.<anonymous> (lib/connection.ts:241:27)
      
      

      Attachments

        Activity

          People

            brett19 Brett Lawson
            jake.rawsthorne Jake Rawsthorne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty