Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
master
-
None
-
testrunner HEAD @
{noformat}
commit 7e50a53a2cb7c8a425faf83fb1ccbb0158ab3ec0
Author: prasanna135 <prasanna.gholap@yahoo.co.in>
Date: Mon Mar 20 16:55:38 2017 +0530
Change error message while index building when kv is down
Change-Id: I0f0edf83e62d9eaaedcf296843ecf007f82b1904
Closes-Bug: CBQE-4016
Reviewed-on: http://review.couchbase.org/75426
Reviewed-by: Balakumaran G <balakumaran.gopal@couchbase.com>
Tested-by: Prasanna Gholap <prasanna.gholap@yahoo.co.in>
{noformat}testrunner HEAD @ {noformat} commit 7e50a53a2cb7c8a425faf83fb1ccbb0158ab3ec0 Author: prasanna135 < prasanna.gholap@yahoo.co.in > Date: Mon Mar 20 16:55:38 2017 +0530 Change error message while index building when kv is down Change-Id: I0f0edf83e62d9eaaedcf296843ecf007f82b1904 Closes-Bug: CBQE-4016 Reviewed-on: http://review.couchbase.org/75426 Reviewed-by: Balakumaran G < balakumaran.gopal@couchbase.com > Tested-by: Prasanna Gholap < prasanna.gholap@yahoo.co.in > {noformat}
-
Untriaged
-
Unknown
Description
Towards the end of the test I see an error and a memcached error, yet the test passes. I wouldn't expect any errors in the success case.
./testrunner -i b/resources/dev-4-nodes.ini -t swaprebalance.SwapRebalanceBasicTests.do_test,replica=1,num-buckets=1,num-swap=1,items=1000
|
Output
2017-03-20 13:22:47 | ERROR | MainProcess | Cluster_Thread | [rest_client._http_request] http://192.168.4.6:9002/pools/default/buckets/default?basic_stats=true error 404 reason: status: 404, content: Requested resource not found.
|
Requested resource not found.
|
2017-03-20 13:22:47 | ERROR | MainProcess | Cluster_Thread | [rest_client._http_request] http://192.168.4.6:9002/pools/default/buckets/default?basic_stats=true error 404 reason: status: 404, content: Requested resource not found.
|
Requested resource not found.
|
Exception in thread Cluster_Thread:
|
Traceback (most recent call last):
|
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
|
self.run()
|
File "lib/tasks/taskmanager.py", line 31, in run
|
task.step(self)
|
File "lib/tasks/task.py", line 77, in step
|
self.check(task_manager)
|
File "lib/tasks/task.py", line 583, in check
|
client = self._get_connection(server)
|
File "lib/tasks/task.py", line 618, in _get_connection
|
admin_pass=admin_pass)
|
File "lib/memcached/helper/data_helper.py", line 315, in direct_client
|
client.bucket_select(bucket)
|
File "lib/mc_bin_client.py", line 676, in bucket_select
|
return self._doCmd(memcacheConstants.CMD_SELECT_BUCKET, name, '')
|
File "lib/mc_bin_client.py", line 139, in _doCmd
|
return self._handleSingleResponse(opaque)
|
File "lib/mc_bin_client.py", line 131, in _handleSingleResponse
|
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
|
File "lib/mc_bin_client.py", line 127, in _handleKeyedResponse
|
raise MemcachedError(errcode, rv)
|
MemcachedError: Memcached error #36 'No access': No access for vbucket :0 to mc 192.168.4.6:12004
|
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [bucket_helper.delete_all_buckets_or_assert] deleted bucket : default from 192.168.4.6
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [bucket_helper.wait_for_bucket_deletion] waiting for bucket deletion to complete....
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [rest_client.bucket_exists] node 192.168.4.6 existing buckets : []
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [bucket_helper.delete_all_buckets_or_assert] deleting existing buckets [] on 192.168.4.6
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [bucket_helper.delete_all_buckets_or_assert] deleting existing buckets [] on 192.168.4.6
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [bucket_helper.delete_all_buckets_or_assert] deleting existing buckets [] on 192.168.4.6
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [cluster_helper.cleanup_cluster] rebalancing all nodes in order to remove nodes
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [rest_client.rebalance] rebalance params : password=asdasd&ejectedNodes=n_2%40192.168.4.6%2Cn_3%40192.168.4.6&user=Administrator&knownNodes=n_0%40192.168.4.6%2Cn_2%40192.168.4.6%2Cn_3%40192.168.4.6
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [rest_client.rebalance] rebalance operation started
|
2017-03-20 13:22:48 | INFO | MainProcess | test_thread | [rest_client._rebalance_status_and_progress] rebalance percentage : 0.00 %
|
2017-03-20 13:23:08 | INFO | MainProcess | test_thread | [rest_client.monitorRebalance] rebalance progress took 20.0123560429 seconds
|
2017-03-20 13:23:08 | INFO | MainProcess | test_thread | [rest_client.monitorRebalance] sleep for 10 seconds after rebalance...
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.cleanup_cluster] removed all the nodes from cluster associated with ip:192.168.4.6 port:9000 ssh_username:Administrator ? [(u'n_2@192.168.4.6', 9002), (u'n_3@192.168.4.6', 9003)]
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] waiting for ns_server @ 192.168.4.6:9000
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] ns_server @ 192.168.4.6:9000 is running
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] waiting for ns_server @ 192.168.4.6:9001
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] ns_server @ 192.168.4.6:9001 is running
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] waiting for ns_server @ 192.168.4.6:9002
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] ns_server @ 192.168.4.6:9002 is running
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] waiting for ns_server @ 192.168.4.6:9003
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [cluster_helper.wait_for_ns_servers_or_assert] ns_server @ 192.168.4.6:9003 is running
|
2017-03-20 13:23:18 | INFO | MainProcess | test_thread | [swaprebalance.reset] ============== SwapRebalanceBase cleanup was finished for test #1 do_test ==============
|
ok
|
|
----------------------------------------------------------------------
|
Ran 1 test in 184.637s
|
|
OK
|
summary so far suite swaprebalance.SwapRebalanceBasicTests , pass 1 , fail 0
|
testrunner logs, diags and results are available under /Users/jimwalker/Code/couchbase/source/testrunner/logs/testrunner-17-Mar-20_13-20-14/test_1
|
Run after suite setup for swaprebalance.SwapRebalanceBasicTests.do_test
|