Error reported in test:
|
|
[2017-02-20 10:30:16,626] - [rest_client:2842] INFO - query params : scan_consistency=REQUEST_PLUS&creds=%5B%5D&statement=select+meta%28default%29.id+from+default
|
[2017-02-20 10:34:16,657] - [rest_client:790] ERROR - http://172.23.121.127:8093/query?scan_consistency=REQUEST_PLUS&creds=%5B%5D&statement=select+meta%28default%29.id+from+default error 500 reason: unknown {
|
"requestID": "5142ef4d-f54e-40b0-9a23-cde55df35e70",
|
"signature": {
|
"id": "json"
|
},
|
"results": [
|
],
|
"errors": [
|
{
|
"code": 5000,
|
"msg": "Index scan timed out from 172.23.105.173:9101 - cause: Index scan timed out from 172.23.105.173:9101"
|
}
|
],
|
"status": "errors",
|
"metrics": {
|
"elapsedTime": "4m0.018889329s",
|
"executionTime": "4m0.01883702s",
|
"resultCount": 0,
|
"resultSize": 0,
|
"errorCount": 1
|
}
|
}
|
ERROR
|
|
======================================================================
|
ERROR: test_delete_keys_clause (tuqquery.tuq_dml.DMLQueryTests)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "pytests/tuqquery/tuq_dml.py", line 646, in test_delete_keys_clause
|
self._keys_are_deleted(keys_to_delete)
|
File "pytests/tuqquery/tuq_dml.py", line 1326, in _keys_are_deleted
|
actual_result = self.run_cbq_query()
|
File "pytests/tuqquery/tuq.py", line 4057, in run_cbq_query
|
raise CBQError(result, server.ip)
|
CBQError: CBQError: host 172.23.121.127: ERROR:{u'status': u'errors', u'errors': [{u'msg': u'Index scan timed out from 172.23.105.173:9101 - cause: Index scan timed out from 172.23.105.173:9101', u'code': 5000}], u'results': [], u'metrics': {u'elapsedTime': u'4m0.018889329s', u'executionTime': u'4m0.01883702s', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}, u'requestID': u'5142ef4d-f54e-40b0-9a23-cde55df35e70', u'signature': {u'id': u'json'}}
|
|
----------------------------------------------------------------------
|
Ran 1 test in 328.167s
|
|
FAILED (errors=1)
|
|
|
Test which failed:
|
./testrunner -i /tmp/n1ql_set4.ini get-cbcollect-info=False,gsi_type=forestdb,primary_indx_type=GSI,doc-per-day=6,standard_buckets=1,nodes_init=3,get-cbcollect-info=True -t tuqquery.tuq_dml.DMLQueryTests.test_delete_keys_clause,skip_load=True,items=20
|
|
What the test does?
|
|
Inserts values into standard_bucket0 and default and then deletes 1 value from both buckets using USE KEYS:
|
[2017-02-20 10:30:16,562] - [rest_client:2842] INFO - query params : scan_consistency=REQUEST_PLUS&creds=%5B%5D&statement=delete+from+default++use+keys+%5B%27automation75fae0%27%2C+%27automation75fae1%27%2C+%27automation75fae2%27%5D
|
[2017-02-20 10:30:16,588] - [tuq:4059] INFO - TOTAL ELAPSED TIME: 15.157967ms
|
[2017-02-20 10:30:16,589] - [tuq:3985] INFO - ----------------------------------------------------------------------------------------------------
|
[2017-02-20 10:30:16,597] - [rest_client:2842] INFO - query params : scan_consistency=REQUEST_PLUS&creds=%5B%5D&statement=delete+from+standard_bucket0++use+keys+%5B%27automation75fae0%27%2C+%27automation75fae1%27%2C+%27automation75fae2%27%5D
|
[2017-02-20 10:30:16,617] - [tuq:4059] INFO - TOTAL ELAPSED TIME: 9.72784ms
|
Checks for keys deleted ...
|
|
Then it queries on meta as:
|
select meta(default).id from default;
|
|
Test fails on above query.
|
Attaching logs from the test run.
|
|
This is a regression seen from 5.0.0-2028
|