running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing django_haystack.egg-info/PKG-INFO writing dependency_links to django_haystack.egg-info/dependency_links.txt writing requirements to django_haystack.egg-info/requires.txt writing top-level names to django_haystack.egg-info/top_level.txt listing git files failed - pretending there aren't any reading manifest file 'django_haystack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'django_haystack.egg-info/SOURCES.txt' running build_ext Creating test database for alias 'default'... SKIP: ("solr not running on 'http://localhost:9001/solr/collection1'", SolrError("Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) --------------------- >> end captured logging << --------------------- SKIP: ("solr not running on 'http://localhost:9001/solr/collection1'", SolrError("Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) --------------------- >> end captured logging << --------------------- Skipping ElasticSearch 2 tests: 'elasticsearch>=2.0.0,<3.0.0' not installed. SKIP: 'elasticsearch>=2.0.0,<3.0.0' not installed. -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) haystack: ERROR: Skipping ElasticSearch 2 tests: 'elasticsearch>=2.0.0,<3.0.0' not installed. --------------------- >> end captured logging << --------------------- Skipping ElasticSearch 5 tests: 'elasticsearch>=5.0.0,<6.0.0' not installed. SKIP: 'elasticsearch>=5.0.0,<6.0.0' not installed. -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) haystack: ERROR: Skipping ElasticSearch 2 tests: 'elasticsearch>=2.0.0,<3.0.0' not installed. haystack: ERROR: Skipping ElasticSearch 5 tests: 'elasticsearch>=5.0.0,<6.0.0' not installed. --------------------- >> end captured logging << --------------------- elasticsearch not running on 'http://localhost:9200/' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/python-django-haystack/src/python-django-haystack-3.1.1/test_haystack/elasticsearch7_tests/__init__.py", line 28, in setup es.info() File "/usr/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 139, in _wrapped return func(*args, params=params, headers=headers, **kwargs) File "/usr/lib/python3.10/site-packages/elasticsearch/client/__init__.py", line 268, in info return self.transport.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/transport.py", line 345, in perform_request status, headers_response, data = connection.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request raise ConnectionError("N/A", str(e), e) elasticsearch.exceptions.ConnectionError: ConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) SKIP: ("elasticsearch not running on 'http://localhost:9200/'", ConnectionError('N/A', ': Failed to establish a new connection: [Errno 111] Connection refused', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) haystack: ERROR: Skipping ElasticSearch 2 tests: 'elasticsearch>=2.0.0,<3.0.0' not installed. haystack: ERROR: Skipping ElasticSearch 5 tests: 'elasticsearch>=5.0.0,<6.0.0' not installed. urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (2): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (3): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (4): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None haystack: ERROR: elasticsearch not running on 'http://localhost:9200/' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/python-django-haystack/src/python-django-haystack-3.1.1/test_haystack/elasticsearch7_tests/__init__.py", line 28, in setup es.info() File "/usr/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 139, in _wrapped return func(*args, params=params, headers=headers, **kwargs) File "/usr/lib/python3.10/site-packages/elasticsearch/client/__init__.py", line 268, in info return self.transport.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/transport.py", line 345, in perform_request status, headers_response, data = connection.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request raise ConnectionError("N/A", str(e), e) elasticsearch.exceptions.ConnectionError: ConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) --------------------- >> end captured logging << --------------------- Skipping ElasticSearch 1 tests: 'elasticsearch>=1.0.0,<2.0.0' not installed. SKIP: 'elasticsearch>=1.0.0,<2.0.0' not installed. -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) haystack: ERROR: Skipping ElasticSearch 2 tests: 'elasticsearch>=2.0.0,<3.0.0' not installed. haystack: ERROR: Skipping ElasticSearch 5 tests: 'elasticsearch>=5.0.0,<6.0.0' not installed. urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (2): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (3): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None urllib3.connectionpool: DEBUG: Starting new HTTP connection (4): localhost:9200 elasticsearch: WARNING: GET http://localhost:9200/ [status:N/A request:0.000s] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused elasticsearch: DEBUG: > None haystack: ERROR: elasticsearch not running on 'http://localhost:9200/' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 232, in perform_request response = self.pool.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 507, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/python-django-haystack/src/python-django-haystack-3.1.1/test_haystack/elasticsearch7_tests/__init__.py", line 28, in setup es.info() File "/usr/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 139, in _wrapped return func(*args, params=params, headers=headers, **kwargs) File "/usr/lib/python3.10/site-packages/elasticsearch/client/__init__.py", line 268, in info return self.transport.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/transport.py", line 345, in perform_request status, headers_response, data = connection.perform_request( File "/usr/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request raise ConnectionError("N/A", str(e), e) elasticsearch.exceptions.ConnectionError: ConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(: Failed to establish a new connection: [Errno 111] Connection refused) haystack: ERROR: Skipping ElasticSearch 1 tests: 'elasticsearch>=1.0.0,<2.0.0' not installed. --------------------- >> end captured logging << --------------------- test_general_queries (test_haystack.simple_tests.test_simple_backend.LiveSimpleSearchQuerySetTestCase) ... ok test_general_queries_unicode (test_haystack.simple_tests.test_simple_backend.LiveSimpleSearchQuerySetTestCase) ... ok test_more_like_this (test_haystack.simple_tests.test_simple_backend.LiveSimpleSearchQuerySetTestCase) ... ok test_values_queries (test_haystack.simple_tests.test_simple_backend.LiveSimpleSearchQuerySetTestCase) ... ok test_clear (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_filter_models (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_more_like_this (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_remove (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_score_field_collision (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_search (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_update (test_haystack.simple_tests.test_simple_backend.SimpleSearchBackendTestCase) ... ok test_build_query_all (test_haystack.simple_tests.test_simple_query.SimpleSearchQueryTestCase) ... ok test_build_query_multiple_word (test_haystack.simple_tests.test_simple_query.SimpleSearchQueryTestCase) ... ok test_build_query_single_word (test_haystack.simple_tests.test_simple_query.SimpleSearchQueryTestCase) ... ok test_set_result_class (test_haystack.simple_tests.test_simple_query.SimpleSearchQueryTestCase) ... ok SKIP: ("solr not running on 'http://localhost:9001/solr/collection1'", SolrError("Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) -------------------- >> begin captured logging << -------------------- pysolr: DEBUG: Starting request to 'http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json' (get) with body ''... urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:9001 pysolr: ERROR: Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3.10/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1276, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1322, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1271, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1031, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 969, in send self.connect() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pysolr.py", line 416, in _send_request resp = requests_method( File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.10/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) --------------------- >> end captured logging << --------------------- test_altered_names (test_haystack.test_altered_internal_names.AlteredInternalNamesTestCase) ... SKIP: ("solr not running on 'http://localhost:9001/solr/collection1'", SolrError("Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) test_solr_schema (test_haystack.test_altered_internal_names.AlteredInternalNamesTestCase) ... SKIP: ("solr not running on 'http://localhost:9001/solr/collection1'", SolrError("Failed to connect to server at http://localhost:9001/solr/collection1/select/?q=%2A%3A%2A&wt=json: HTTPConnectionPool(host='localhost', port=9001): Max retries exceeded with url: /solr/collection1/select/?q=%2A%3A%2A&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))")) test_get_app_modules (test_haystack.test_app_loading.AppLoadingTests) ... ok test_get_models_all (test_haystack.test_app_loading.AppLoadingTests) ... ok test_get_models_specific (test_haystack.test_app_loading.AppLoadingTests) ... ok test_hierarchal_app_get_models (test_haystack.test_app_loading.AppLoadingTests) ... ok test_hierarchal_app_specific_model (test_haystack.test_app_loading.AppLoadingTests) ... ok test_load_apps (test_haystack.test_app_loading.AppLoadingTests) ... ok test_simple_view (test_haystack.test_app_loading.AppWithoutModelsTests) ... ok test_index_collection (test_haystack.test_app_using_appconfig.tests.AppConfigTests) ... ok test_load_elasticsearch (test_haystack.test_backends.LoadBackendTestCase) ... ok test_load_nonexistent (test_haystack.test_backends.LoadBackendTestCase) ... ok test_load_simple (test_haystack.test_backends.LoadBackendTestCase) ... ok test_load_solr (test_haystack.test_backends.LoadBackendTestCase) ... ok test_load_whoosh (test_haystack.test_backends.LoadBackendTestCase) ... ok test_discovery (test_haystack.test_discovery.AutomaticDiscoveryTestCase) ... ok test_discovery (test_haystack.test_discovery.ManualDiscoveryTestCase) ... ok test_init (test_haystack.test_fields.BooleanFieldTestCase) ... ok test_prepare (test_haystack.test_fields.BooleanFieldTestCase) ... ok test_init (test_haystack.test_fields.CharFieldTestCase) ... ok test_prepare (test_haystack.test_fields.CharFieldTestCase) ... ok test_init (test_haystack.test_fields.CharFieldWithTemplateTestCase) ... ok test_prepare (test_haystack.test_fields.CharFieldWithTemplateTestCase) ... ok test_convert (test_haystack.test_fields.DateFieldTestCase) ... ok test_init (test_haystack.test_fields.DateFieldTestCase) ... ok test_prepare (test_haystack.test_fields.DateFieldTestCase) ... ok test_prepare_from_string (test_haystack.test_fields.DateFieldTestCase) ... ok test_convert (test_haystack.test_fields.DateTimeFieldTestCase) ... ok test_init (test_haystack.test_fields.DateTimeFieldTestCase) ... ok test_prepare (test_haystack.test_fields.DateTimeFieldTestCase) ... ok test_prepare_from_string (test_haystack.test_fields.DateTimeFieldTestCase) ... ok test_init (test_haystack.test_fields.DecimalFieldTestCase) ... ok test_prepare (test_haystack.test_fields.DecimalFieldTestCase) ... ok test_init (test_haystack.test_fields.EdgeNgramFieldTestCase) ... ok test_prepare (test_haystack.test_fields.EdgeNgramFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetBooleanFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetBooleanFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetCharFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetCharFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetDateFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetDateFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetDateTimeFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetDateTimeFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetFloatFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetFloatFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetIntegerFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetIntegerFieldTestCase) ... ok test_init (test_haystack.test_fields.FacetMultiValueFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FacetMultiValueFieldTestCase) ... ok test_init (test_haystack.test_fields.FloatFieldTestCase) ... ok test_prepare (test_haystack.test_fields.FloatFieldTestCase) ... ok test_init (test_haystack.test_fields.IntegerFieldTestCase) ... ok test_prepare (test_haystack.test_fields.IntegerFieldTestCase) ... ok test_convert_with_list_of_ints (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_convert_with_list_of_strings (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_convert_with_single_int (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_convert_with_single_string (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_init (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_prepare (test_haystack.test_fields.MultiValueFieldTestCase) ... ok test_init (test_haystack.test_fields.NgramFieldTestCase) ... ok test_prepare (test_haystack.test_fields.NgramFieldTestCase) ... ok test_get_iterable_objects_with_django_manytomany_rel (test_haystack.test_fields.SearchFieldTestCase) ... ok test_get_iterable_objects_with_django_onetomany_rel (test_haystack.test_fields.SearchFieldTestCase) ... ok test_get_iterable_objects_with_list_stays_the_same (test_haystack.test_fields.SearchFieldTestCase) ... ok test_get_iterable_objects_with_none (test_haystack.test_fields.SearchFieldTestCase) ... ok test_get_iterable_objects_with_single_non_iterable_object (test_haystack.test_fields.SearchFieldTestCase) ... ok test_prepare_with_null_django_onetomany_rel (test_haystack.test_fields.SearchFieldTestCase) ... ok test_resolve_attributes_lookup_with_deep_relationship (test_haystack.test_fields.SearchFieldTestCase) ... ok test_resolve_attributes_lookup_with_deep_relationship_through_m2m (test_haystack.test_fields.SearchFieldTestCase) ... ok test_resolve_attributes_lookup_with_field_that_points_to_none (test_haystack.test_fields.SearchFieldTestCase) ... ok test_resolve_attributes_lookup_with_field_that_points_to_none_but_has_default (test_haystack.test_fields.SearchFieldTestCase) ... ok test_resolve_attributes_lookup_with_field_that_points_to_none_but_is_allowed_to_be_null (test_haystack.test_fields.SearchFieldTestCase) ... ok test_init_with_selected_facets (test_haystack.test_forms.FacetedSearchFormTestCase) ... ok test_search (test_haystack.test_forms.FacetedSearchFormTestCase) ... ok test_model_choices (test_haystack.test_forms.ModelSearchFormTestCase) ... ok test_model_choices_unicode (test_haystack.test_forms.ModelSearchFormTestCase) ... ok test_models_regression_1 (test_haystack.test_forms.ModelSearchFormTestCase) ... ok test_unbound (test_haystack.test_forms.SearchFormTestCase) ... ok Test getting the search view form kwargs. ... ok Test the generic SearchView form is invalid. ... ok Test the generic SearchView form is valid. ... ok Test the generic SearchView response. ... ok test_basic (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_excludes (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_fields (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_fields_with_override (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_float_integer_fields (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_overriding_field_name_with_get_index_fieldname (test_haystack.test_indexes.ModelSearchIndexTestCase) ... ok test_full_prepare (test_haystack.test_indexes.ModelWithManyToManyFieldAndAttributeLookupSearchIndexTestCase) ... ok test_prepare_with_polymorphic (test_haystack.test_indexes.PolymorphicModelTestCase) ... ok test_build_queryset (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_clear (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_contentfield_present (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_custom_facet_fields (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_custom_index_fieldname (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_custom_model_attr (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_custom_prepare (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_custom_prepare_author (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_get_content_field (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_index_queryset (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_inheritance (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_load_all_queryset (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_no_contentfield_present (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_nullable (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_prepare (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_proper_field_resolution (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_proper_fields (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_read_queryset (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_reindex (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_remove_object (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_thread_safety (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_too_many_contentfields_present (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_update (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_update_object (test_haystack.test_indexes.SearchIndexTestCase) ... ok test_altparser_init (test_haystack.test_inputs.InputTestCase) ... ok test_altparser_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_autoquery_init (test_haystack.test_inputs.InputTestCase) ... ok test_autoquery_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_clean_init (test_haystack.test_inputs.InputTestCase) ... ok test_clean_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_exact_init (test_haystack.test_inputs.InputTestCase) ... ok test_exact_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_not_init (test_haystack.test_inputs.InputTestCase) ... ok test_not_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_raw_init (test_haystack.test_inputs.InputTestCase) ... ok test_raw_prepare (test_haystack.test_inputs.InputTestCase) ... ok test_get_item (test_haystack.test_loading.ConnectionHandlerTestCase) ... ok test_get_unified_index (test_haystack.test_loading.ConnectionHandlerTestCase) ... ok test_init (test_haystack.test_loading.ConnectionHandlerTestCase) ... ok test_actions1 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_actions2 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_actions3 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_actions4 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_init (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_router_override1 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_router_override2 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_router_override3 (test_haystack.test_loading.ConnectionRouterTestCase) ... ok test_all_searchfields (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_basic_get_facet_field_name (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_get_index (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_get_index_fieldname (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_get_indexed_models (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_get_indexes (test_haystack.test_loading.UnifiedIndexTestCase) ... ok test_more_advanced_get_facet_field_name (test_haystack.test_loading.UnifiedIndexTestCase) ... ok clear_index uses all keys when --using is not present ... ok clear_index only applies to indexes specified with --using ... ok test_rebuild_index (test_haystack.test_management_commands.CoreManagementCommandsTestCase) ... ok rebuild_index uses default index when --using is not present ... ok Confirm that command-line option parsing produces the same results as using call_command() directly, ... System check identified some issues: WARNINGS: ?: (admin.W411) 'django.template.context_processors.request' must be enabled in DjangoTemplates (TEMPLATES) in order to use the admin navigation sidebar. core.AFifthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AFourthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ASixthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AnotherMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockTag: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ScoreMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppSecondModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. spatial.Checkin: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. test_app_using_appconfig.MicroBlogPost: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the SimpleTestAppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. System check identified some issues: WARNINGS: ?: (admin.W411) 'django.template.context_processors.request' must be enabled in DjangoTemplates (TEMPLATES) in order to use the admin navigation sidebar. core.AFifthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AFourthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ASixthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AnotherMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockTag: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ScoreMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppSecondModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. spatial.Checkin: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. test_app_using_appconfig.MicroBlogPost: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the SimpleTestAppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. System check identified some issues: WARNINGS: ?: (admin.W411) 'django.template.context_processors.request' must be enabled in DjangoTemplates (TEMPLATES) in order to use the admin navigation sidebar. core.AFifthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AFourthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ASixthMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.AnotherMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ManyToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.MockTag: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyLeftSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.OneToManyRightSideModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. core.ScoreMockModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. discovery.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. hierarchal_app_django.HierarchalAppSecondModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Bar: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. multipleindex.Foo: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. spatial.Checkin: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. test_app_using_appconfig.MicroBlogPost: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the SimpleTestAppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. ok rebuild_index passes --using to clear_index and update_index ... ok update_index uses default index when --using is not present ... ok update_index only applies to indexes specified with --using ... ok test_filter_another_manager (test_haystack.test_managers.CustomManagerTestCase) ... ok test_filter_object_manager (test_haystack.test_managers.CustomManagerTestCase) ... ok test_auto_query (test_haystack.test_managers.ManagerTestCase) ... ok test_autocomplete (test_haystack.test_managers.ManagerTestCase) ... ok test_best_match (test_haystack.test_managers.ManagerTestCase) ... ok test_boost (test_haystack.test_managers.ManagerTestCase) ... ok test_count (test_haystack.test_managers.ManagerTestCase) ... ok test_date_facets (test_haystack.test_managers.ManagerTestCase) ... ok test_distance (test_haystack.test_managers.ManagerTestCase) ... ok test_dwithin (test_haystack.test_managers.ManagerTestCase) ... ok test_exclude (test_haystack.test_managers.ManagerTestCase) ... ok test_facet_counts (test_haystack.test_managers.ManagerTestCase) ... ok test_facets (test_haystack.test_managers.ManagerTestCase) ... ok test_filter (test_haystack.test_managers.ManagerTestCase) ... ok test_filter_and (test_haystack.test_managers.ManagerTestCase) ... ok test_filter_or (test_haystack.test_managers.ManagerTestCase) ... ok test_highlight (test_haystack.test_managers.ManagerTestCase) ... ok test_latest (test_haystack.test_managers.ManagerTestCase) ... ok test_load_all (test_haystack.test_managers.ManagerTestCase) ... ok test_more_like_this (test_haystack.test_managers.ManagerTestCase) ... ok test_narrow (test_haystack.test_managers.ManagerTestCase) ... ok test_none (test_haystack.test_managers.ManagerTestCase) ... ok test_order_by (test_haystack.test_managers.ManagerTestCase) ... ok test_order_by_distance (test_haystack.test_managers.ManagerTestCase) ... ok test_query_facets (test_haystack.test_managers.ManagerTestCase) ... ok test_queryset (test_haystack.test_managers.ManagerTestCase) ... ok test_raw_search (test_haystack.test_managers.ManagerTestCase) ... ok test_values (test_haystack.test_managers.ManagerTestCase) ... ok test_valueslist (test_haystack.test_managers.ManagerTestCase) ... ok test_within (test_haystack.test_managers.ManagerTestCase) ... ok test_content_type (test_haystack.test_models.SearchResultTestCase) ... ok test_get_additional_fields (test_haystack.test_models.SearchResultTestCase) ... ok test_init (test_haystack.test_models.SearchResultTestCase) ... ok test_missing_object (test_haystack.test_models.SearchResultTestCase) ... Object could not be found in database for SearchResult ''. Model could not be found for SearchResult ''. Model could not be found for SearchResult ''. Model could not be found for SearchResult ''. ok test_pickling (test_haystack.test_models.SearchResultTestCase) ... ok test_read_queryset (test_haystack.test_models.SearchResultTestCase) ... Model 'core.afifthmockmodel' not handled by the routers. Object could not be found in database for SearchResult ''. ok test_stored_fields (test_haystack.test_models.SearchResultTestCase) ... ok test_unicode (test_haystack.test_models.SearchResultTestCase) ... ok test_add_boost (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_date_facet (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_field_facet (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_filter (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_highlight (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_model (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_narrow_query (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_order_by (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_query_facet (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_add_stats (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_build_query (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_clear_limits (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_clear_order_by (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_clone (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_get_count (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_log_query (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_more_like_this (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_run (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_set_limits (test_haystack.test_query.BaseSearchQueryTestCase) ... ok test_set_result_class (test_haystack.test_query.BaseSearchQueryTestCase) ... ok Ensure doing a dictionary lookup raises a TypeError so ... ok test_exclude (test_haystack.test_query.EmptySearchQuerySetTestCase) ... ok test_filter (test_haystack.test_query.EmptySearchQuerySetTestCase) ... ok test_get_count (test_haystack.test_query.EmptySearchQuerySetTestCase) ... ok test_slice (test_haystack.test_query.EmptySearchQuerySetTestCase) ... ok test_pickling (test_haystack.test_query.PickleSearchQuerySetTestCase) ... ok test_repr (test_haystack.test_query.SQTestCase) ... ok test_simple_nesting (test_haystack.test_query.SQTestCase) ... ok test_split_expression (test_haystack.test_query.SQTestCase) ... ok test___and__ (test_haystack.test_query.SearchQuerySetTestCase) ... ok test___or__ (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_all (test_haystack.test_query.SearchQuerySetTestCase) ... ok Combining AND queries with OR should give ... ok test_auto_query (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_best_match (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_boost (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_cache_is_full (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_chaining (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_clone (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_count (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_date_facets (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_exclude (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_facet_counts (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_facets (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_filter (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_highlight (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_iter (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_latest (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_len (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_load_all (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_load_all_read_queryset (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_manual_iter (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_models (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_more_like_this (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_narrow (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_none (test_haystack.test_query.SearchQuerySetTestCase) ... ok Combining OR queries with AND should give ... ok test_order_by (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_query_facets (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_raw_search (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_repr (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_result_class (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_slice (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_spelling_override (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_spelling_suggestions (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_stats (test_haystack.test_query.SearchQuerySetTestCase) ... ok test_using (test_haystack.test_query.SearchQuerySetTestCase) ... ok test___and__ (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test___or__ (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_all (test_haystack.test_query.ValuesQuerySetTestCase) ... ok Combining AND queries with OR should give ... ok test_auto_query (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_best_match (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_boost (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_cache_is_full (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_chaining (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_clone (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_count (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_date_facets (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_exclude (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_facet_counts (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_facets (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_filter (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_highlight (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_iter (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_latest (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_len (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_load_all (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_load_all_read_queryset (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_manual_iter (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_models (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_more_like_this (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_narrow (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_none (test_haystack.test_query.ValuesQuerySetTestCase) ... ok Combining OR queries with AND should give ... ok test_order_by (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_query_facets (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_raw_search (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_repr (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_result_class (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_slice (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_spelling_override (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_spelling_suggestions (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_stats (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_using (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_values_sqs (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_valueslist_sqs (test_haystack.test_query.ValuesQuerySetTestCase) ... ok test_custom (test_haystack.test_templatetags.HighlightTestCase) ... ok test_simple (test_haystack.test_templatetags.HighlightTestCase) ... ok test_get_identifier (test_haystack.test_utils.GetFacetFieldNameTestCase) ... ok test_haystack_identifier_method (test_haystack.test_utils.GetFacetFieldNameTestCase) ... ok test_haystack_identifier_method_bad_module (test_haystack.test_utils.GetFacetFieldNameTestCase) ... ok test_haystack_identifier_method_bad_path (test_haystack.test_utils.GetFacetFieldNameTestCase) ... ok test_get_facet_field_name (test_haystack.test_utils.GetIdentifierTestCase) ... ok test_find_highlightable_words (test_haystack.test_utils.HighlighterTestCase) ... ok test_find_window (test_haystack.test_utils.HighlighterTestCase) ... ok test_highlight (test_haystack.test_utils.HighlighterTestCase) ... ok test_render_html (test_haystack.test_utils.HighlighterTestCase) ... ok test_everything_noops_if_settings_are_off (test_haystack.test_utils.LoggingFacadeTestCase) ... ok test_uses_provided_logger_by_default (test_haystack.test_utils.LoggingFacadeTestCase) ... ok test_uses_provided_logger_if_logging_is_on (test_haystack.test_utils.LoggingFacadeTestCase) ... ok test_invalid_page (test_haystack.test_views.BasicSearchViewTestCase) ... ok test_search_no_query (test_haystack.test_views.BasicSearchViewTestCase) ... ok test_search_query (test_haystack.test_views.BasicSearchViewTestCase) ... ok test_default_form (test_haystack.test_views.FacetedSearchViewTestCase) ... ok test_empty_results (test_haystack.test_views.FacetedSearchViewTestCase) ... ok test_list_selected_facets (test_haystack.test_views.FacetedSearchViewTestCase) ... ok test_search_no_query (test_haystack.test_views.FacetedSearchViewTestCase) ... ok test_custom_results_per_page (test_haystack.test_views.ResultsPerPageTestCase) ... ok test_empty_results (test_haystack.test_views.SearchViewTestCase) ... ok test_initial_data (test_haystack.test_views.SearchViewTestCase) ... ok test_invalid_page (test_haystack.test_views.SearchViewTestCase) ... ok test_pagination (test_haystack.test_views.SearchViewTestCase) ... ok test_search_no_query (test_haystack.test_views.SearchViewTestCase) ... ok test_search_query (test_haystack.test_views.SearchViewTestCase) ... ok test_spelling (test_haystack.test_views.SearchViewTestCase) ... ok test_thread_safety (test_haystack.test_views.SearchViewTestCase) ... ok test_round_trip (test_haystack.whoosh_tests.test_forms.transplant_class..C) ... ok test_form_suggestion (test_haystack.whoosh_tests.test_forms.SpellingSuggestionTestCase) ... ok test_round_trip (test_haystack.whoosh_tests.test_forms.SpellingSuggestionTestCase) ... ok test_view_suggestion (test_haystack.whoosh_tests.test_forms.SpellingSuggestionTestCase) ... ok test_altparser_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_altparser_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_autoquery_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_autoquery_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_clean_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_clean_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_exact_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_exact_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_not_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_not_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_raw_init (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_raw_prepare (test_haystack.whoosh_tests.test_inputs.WhooshInputTestCase) ... ok test_autocomplete (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshAutocompleteTestCase) ... ok test_edgengram_regression (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshAutocompleteTestCase) ... ok test_extra_whitespace (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshAutocompleteTestCase) ... ok test_more_like_this (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshMoreLikeThisTestCase) ... ok test_searchquerysets_with_models (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshMultiSearchQuerySetTestCase) ... ok test_ram_storage (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshRamStorageTestCase) ... ok test_round_trip (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshRoundTripTestCase) ... ok test_all_regression (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_cache_is_full (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_count (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_fill_cache (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_iter (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_manual_iter (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_query_generation (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_regression_space_query (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_result_class (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_slice (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_values_slicing (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_various_searchquerysets (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQuerySetTestCase) ... ok test_get_spelling (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQueryTestCase) ... ok test_log_query (test_haystack.whoosh_tests.test_whoosh_backend.LiveWhooshSearchQueryTestCase) ... ok test_boost (test_haystack.whoosh_tests.test_whoosh_backend.WhooshBoostBackendTestCase) ... ok test__from_python (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test__to_python (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_analyzed_fields (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_build_schema (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_clear (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_date_queries (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_delete_index (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_escaped_characters_queries (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_highlight (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_more_like_this (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_non_silent (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_order_by (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_range_queries (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_remove (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_scoring (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_search (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_search_all_models (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_slicing (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_update (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_update_with_SkipDocument_raised (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_verify_type (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... ok test_writable (test_haystack.whoosh_tests.test_whoosh_backend.WhooshSearchBackendTestCase) ... SKIP: testing writability requires Whoosh to use STORAGE=file test_basic_commands (test_haystack.whoosh_tests.test_whoosh_management_commands.ManagementCommandTestCase) ... ok test_multiprocessing (test_haystack.whoosh_tests.test_whoosh_management_commands.ManagementCommandTestCase) ... [INFO/ForkPoolWorker-1] child process calling self.run() [INFO/ForkPoolWorker-2] child process calling self.run() [INFO/ForkPoolWorker-2] process shutting down [INFO/ForkPoolWorker-1] process shutting down [INFO/ForkPoolWorker-1] process exiting with exitcode 0 [INFO/ForkPoolWorker-2] process exiting with exitcode 0 ok test_remove (test_haystack.whoosh_tests.test_whoosh_management_commands.ManagementCommandTestCase) ... ok test_build_query_all (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_boost (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_fuzzy_filter_types (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_in_filter_datetime (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_in_filter_multiple_words (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_in_with_set (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_multiple_filter_types (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_multiple_words_and (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_multiple_words_mixed (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_multiple_words_not (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_multiple_words_or (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_phrase (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_single_word (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_wildcard_filter_types (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_with_contains (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_with_datetime (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_with_endswith (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_with_models (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_build_query_with_sequence_and_filter_not_in (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_clean (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_correct_exact (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_in_filter_values_list (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_narrow_sq (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok test_set_result_class (test_haystack.whoosh_tests.test_whoosh_query.WhooshSearchQueryTestCase) ... ok Destroying test database for alias 'default'... Name Stmts Miss Cover ----------------------------------------------------------------------- haystack/__init__.py 38 35 8% haystack/admin.py 67 67 0% haystack/apps.py 18 18 0% haystack/backends/__init__.py 495 177 64% haystack/backends/elasticsearch7_backend.py 216 182 16% haystack/backends/elasticsearch_backend.py 492 436 11% haystack/backends/simple_backend.py 71 2 97% haystack/backends/solr_backend.py 467 428 8% haystack/backends/whoosh_backend.py 543 68 87% haystack/constants.py 20 20 0% haystack/exceptions.py 20 20 0% haystack/fields.py 290 33 89% haystack/forms.py 74 7 91% haystack/generic_views.py 62 11 82% haystack/indexes.py 222 21 91% haystack/inputs.py 77 39 49% haystack/management/__init__.py 0 0 100% haystack/management/commands/__init__.py 0 0 100% haystack/management/commands/build_solr_schema.py 88 70 20% haystack/management/commands/clear_index.py 28 8 71% haystack/management/commands/rebuild_index.py 21 0 100% haystack/management/commands/update_index.py 190 63 67% haystack/manager.py 67 6 91% haystack/models.py 135 63 53% haystack/query.py 417 131 69% haystack/routers.py 8 0 100% haystack/signals.py 34 34 0% haystack/templatetags/__init__.py 0 0 100% haystack/templatetags/highlight.py 63 3 95% haystack/templatetags/more_like_this.py 58 48 17% haystack/utils/__init__.py 34 14 59% haystack/utils/app_loading.py 22 12 45% haystack/utils/geo.py 30 15 50% haystack/utils/highlighting.py 93 11 88% haystack/utils/loading.py 201 58 71% haystack/utils/log.py 14 7 50% haystack/views.py 113 4 96% ----------------------------------------------------------------------- TOTAL 4788 2111 56% ---------------------------------------------------------------------- Ran 430 tests in 8.817s OK (SKIP=10) [INFO/MainProcess] process shutting down