When I run python setup.py test, I get this output. Does anyone get the same error?
-----
No handlers could be found for logger "elasticsearch.trace"
test_add_and_remove (test.integration.test_alias.TestCLIAlias) ... FAIL
ERROR
test_add_only (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_add_only_skip_closed (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_add_only_with_extra_settings (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_add_with_empty_list (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_add_with_empty_remove (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_alias_remove_only (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_extra_options (test.integration.test_alias.TestCLIAlias) ... ERROR
test_no_add_remove (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_no_alias (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_remove_index_not_in_alias (test.integration.test_alias.TestCLIAlias) ... FAIL
ERROR
test_remove_with_empty_add (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_remove_with_empty_list (test.integration.test_alias.TestCLIAlias) ... ERROR
ERROR
test_exclude (test.integration.test_allocation.TestCLIAllocation) ... ERROR
ERROR
more-----
======================================================================
ERROR: test_add_only (test.integration.test_alias.TestCLIAlias)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/opt/synced/test/integration/test_alias.py", line 26, in test_add_only
self.create_index('my_index')
File "/var/opt/synced/test/integration/__init__.py", line 121, in create_index
body={'settings': {'number_of_shards': shards, 'number_of_replicas': 0}}
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/indices.py", line 110, in create
params=params, body=body)
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 327, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 110, in perform_request
self._raise_error(response.status, raw_data)
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/base.py", line 114, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
RequestError: TransportError(400, u'index_already_exists_exception', u'already exists')
-------------------- >> begin captured logging << --------------------
DEBUG urllib3.util.retry from_int:200 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
DEBUG urllib3.connectionpool _make_request:396 http://localhost:9280 "PUT /my_index HTTP/1.1" 400 211
WARNING elasticsearch log_request_fail:88 PUT /my_index [status:400 request:0.001s]
DEBUG elasticsearch log_request_fail:96 > {"settings": {"number_of_replicas": 0, "number_of_shards": 1}}
DEBUG elasticsearch log_request_fail:99 < {"error":{"root_cause":[{"type":"index_already_exists_exception","reason":"already exists","index":"my_index"}],"type":"index_already_exists_exception","reason":"already exists","index":"my_index"},"status":400}
--------------------- >> end captured logging << ---------------------
--- more----