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

Query test failure in build sanity

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Build: 7.0.0-2170

      ./testrunner -i node_conf.ini -p get-cbcollect-info=True,get-couch-dbinfo=True,skip_cleanup=False -t tuqquery.tuq_dml.DMLQueryTests.test_sanity,force_clean=True,reload_data=False,nodes_init=1,skip_load=True,nodes_init=1

      Error:

      5:00:57 [2020-05-27 05:00:57,460] - [tuq:1263] INFO - RUN QUERY update default set name="new_name" where join_day=1 returning name
      05:00:57 [2020-05-27 05:00:57,461] - [rest_client:3668] INFO - query params : statement=update+default+set+name%3D%22new_name%22+where+join_day%3D1+returning+name&scan_consistency=REQUEST_PLUS
      05:00:57 [2020-05-27 05:00:57,471] - [rest_client:941] ERROR - POST http://172.23.107.190:8093/query?statement=update+default+set+name%3D%22new_name%22+where+join_day%3D1+returning+name&scan_consistency=REQUEST_PLUS body: headers:

      {'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=='}

      error: 404 reason: unknown b'{\n"requestID": "3a20242e-9c2a-426b-886b-36cd75234c9d",\n"errors": [

      {"code":4000,"msg":"No index available on keyspace default that matches your query. Use CREATE INDEX or CREATE PRIMARY INDEX to create an index, or check that your expected index is online."}

      ],\n"status": "fatal",\n"metrics":

      {"elapsedTime": "9.121903ms","executionTime": "9.058117ms","resultCount": 0,"resultSize": 0,"errorCount": 1}

      \n}\n' auth: Administrator:passwor

      From Query logs:

      2020-05-27T05:00:57.273-07:00 [Info] Recieve security change notification. encryption=false
      2020-05-27T05:00:57.274-07:00 [Info] Certificate refreshed successfully
      _time=2020-05-27T05:00:57.286-07:00 _level=WARN _msg=Error loading FTS indexes for keyspace _default. Error n1fty: - cause: authentication error
      2020-05-27T05:00:57.465-07:00 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
      2020-05-27T05:00:57.465-07:00 [Info] GSIC[default/default-_default-_default-1590580857463394636] started ...
      2020-05-27T05:00:57.465-07:00 [Info] Recieve security change notification. encryption=false
      2020-05-27T05:00:57.466-07:00 [Info] Certificate refreshed successfully
      _time=2020-05-27T05:00:57.466-07:00 _level=INFO _msg=n1fty: server: http://127.0.0.1:8091, namespace: default, keyspace: _default
      _time=2020-05-27T05:00:57.471-07:00 _level=WARN _msg=Error loading FTS indexes for keyspace _default. Error n1fty: - cause: authentication error
      2020-05-27T05:00:57.574-07:00 [INFO] Trying with http://127.0.0.1:8091/pools/default/bucketsStreaming/default
      2020-05-27T05:00:57.576-07:00 [Info] serviceChangeNotifier: received PoolChangeNotification
      2020-05-27T05:00:57.579-07:00 [ERROR] Failed to connect to host, unexpected status code: 404. Body Requested resource not found.

      2020-05-27T05:00:57.579-07:00 [INFO] Trying with http://127.0.0.1:8091/pools/default/bucketsStreaming/default
      2020-05-27T05:00:57.585-07:00 [ERROR] Failed to connect to host, unexpected status code: 404. Body Requested resource not found.

      2020-05-27T05:00:57.585-07:00 [INFO] Trying with http://127.0.0.1:8091/pools/default/bucketsStreaming/default
      2020-05-27T05:00:57.588-07:00 [ERROR] Failed to connect to host, unexpected status code: 404. Body Requested resource not found.

      2020-05-27T05:00:57.588-07:00 [INFO] Trying with http://127.0.0.1:8091/pools/default/bucketsStreaming/default
      2020-05-27T05:00:57.604-07:00 [ERROR] Failed to connect to host, unexpected status code: 404. Body Requested resource not found.

      2020-05-27T05:00:57.604-07:00 [ERROR] Maximum failures reached. Exiting loop...
      _time=2020-05-27T05:00:57.604-07:00 _level=INFO _msg=Keyspace default being deleted
      2020-05-27T05:00:57.612-07:00 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
      2020-05-27T05:00:57.612-07:00 [Info] Refreshed Indexer List: [127.0.0.1:9100]
      2020-05-27T05:00:57.615-07:00 [Info] switched currmeta from 41 -> 41 force true
      2020-05-27T05:00:57.627-07:00 [ERROR] Bucket Updater exited with err Max failures reached. Last Error Failed to connect to host. Status 404 Body Requested resource not found.

      Last good build: 7.0.0-2168

      Attachments

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

        Activity

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty