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

View query tests fail with error on {u'reason': u'{badmatch,eof}', u'from': u'local'}

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0
    • 3.0
    • None
    • Security Level: Public
    • None
    • Untriaged

    Description

      test to repro :
      ./testrunner -i /tmp/centos64.ini max-dupe-result-count=10,get-cbcollect-info=True,num-tries=60,attempt-num=60,get-delays=True -t viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries,limit=10000,docs-per-day=20

      Jenkins : http://qa.sc.couchbase.com/view/3.0.0/job/centos_x64--00_03--view_query-P0/31/consoleFull

      What the test does:

      • Load data
      • Start simultaneously queryng the dataset with start/end_key
      • Verify view results.

      The above tests currently fail during the view-verification phase with following errors.

      During query run (ddoc=test_view-a41ebf1, query=

      {'startkey': '[2008,7,null]', 'connection_timeout': 60000, 'limit': 10000}

      , server=10.3.4.181) error is: Error occured querying view test_view-a41ebf1: {u'reason': u'{badarg,[

      {erlang,list_to_integer,["HTTP/1.1500InternalServerError",16]},\n {lhttpc_client,read_partial_chunked_body,6},\n {lhttpc_client,handle_response_body,4},\n {lhttpc_client,read_response,4},\n {lhttpc_client,execute,9},\n {lhttpc_client,request,9}]}', u'from': u'http://10.3.4.182:8092/_view_merge/?startkey=%5B2008%2C7%2Cnull%5D&limit=10000'}{u'reason': u'{badarg,[{erlang,list_to_integer,["HTTP/1.1500InternalServerError",16]}

      ,\n

      {lhttpc_client,read_partial_chunked_body,6},\n {lhttpc_client,handle_response_body,4},\n {lhttpc_client,read_response,4},\n {lhttpc_client,execute,9},\n {lhttpc_client,request,9}]}', u'from': u'http://10.3.4.183:8092/_view_merge/?startkey=%5B2008%2C7%2Cnull%5D&limit=10000'}{u'reason': u'{badmatch,eof}', u'from': u'local'}
      2014-02-05 09:59:37 | ERROR | MainProcess | query-test_view-a41ebf1 | [viewquerytests.run_queries] DDoc=test_view-a41ebf1; View={"test_view-a41ebf1": {"map": "function (doc) { if(doc.job_title !== undefined) { var myregexp = new RegExp(\"^UI \"); if(doc.job_title.match(myregexp)){ emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}}}"}};:{'startkey': '[2008,7,null]', 'connection_timeout': 60000, 'limit': 10000}: ERROR: Error occured querying view test_view-a41ebf1: {u'reason': u'{badarg,[{erlang,list_to_integer,["HTTP/1.1500InternalServerError",16]},\n {lhttpc_client,read_partial_chunked_body,6}

      ,\n

      {lhttpc_client,handle_response_body,4},\n {lhttpc_client,read_response,4},\n {lhttpc_client,execute,9},\n {lhttpc_client,request,9}]}', u'from': u'http://10.3.4.182:8092/_view_merge/?startkey=%5B2008%2C7%2Cnull%5D&limit=10000'}{u'reason': u'{badarg,[{erlang,list_to_integer,["HTTP/1.1500InternalServerError",16]},\n {lhttpc_client,read_partial_chunked_body,6},\n {lhttpc_client,handle_response_body,4}

      ,\n

      {lhttpc_client,read_response,4}

      ,\n

      {lhttpc_client,execute,9}

      ,\n

      {lhttpc_client,request,9}

      ]}', u'from': u'http://10.3.4.183:8092/_view_merge/?startkey=%5B2008%2C7%2Cnull%5D&limit=10000'}{u'reason': u'

      {badmatch,eof}

      ', u'from': u'local'}

      Adding

      • collect_info from the VMs
      • testlog

      Attachments

        1. 10133_clusterrun.tar
          5.35 MB
        2. bug_10133.tar
          1.32 MB
        3. bug_view1.tar
          1.67 MB
        4. bug_views.tar
          1.48 MB
        5. purge_seq_dbinfo.diff
          2 kB

        Issue Links

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

          Activity

            People

              ketaki Ketaki Gangal (Inactive)
              ketaki Ketaki Gangal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty