diff --git a/cps/gdriveutils.py b/cps/gdriveutils.py index 489bc6f5..1c5dec05 100644 --- a/cps/gdriveutils.py +++ b/cps/gdriveutils.py @@ -89,7 +89,7 @@ class Singleton: except AttributeError: self._instance = self._decorated() return self._instance - except ImportError as e: + except (ImportError, NameError) as e: log.debug(e) return None diff --git a/cps/oauth_bb.py b/cps/oauth_bb.py index 000a7376..620ff10e 100644 --- a/cps/oauth_bb.py +++ b/cps/oauth_bb.py @@ -100,25 +100,26 @@ def logout_oauth_user(): if ub.oauth_support: oauthblueprints = [] - if not g.ubsession.query(ub.OAuthProvider).count(): + oauth_session = ub.Scoped_Session() + if not oauth_session.query(ub.OAuthProvider).count(): oauthProvider = ub.OAuthProvider() oauthProvider.provider_name = "github" oauthProvider.active = False - g.ubsession.add(oauthProvider) + oauth_session.add(oauthProvider) try: - g.ubsession.commit() + oauth_session.commit() except OperationalError: - g.ubsession.rollback() + oauth_session.rollback() oauthProvider = ub.OAuthProvider() oauthProvider.provider_name = "google" oauthProvider.active = False - g.ubsession.add(oauthProvider) + oauth_session.add(oauthProvider) try: - g.ubsession.commit() + oauth_session.commit() except OperationalError: - g.ubsession.rollback() + oauth_session.rollback() - oauth_ids = g.ubsession.query(ub.OAuthProvider).all() + oauth_ids = oauth_session.query(ub.OAuthProvider).all() ele1 = dict(provider_name='github', id=oauth_ids[0].id, active=oauth_ids[0].active, @@ -148,7 +149,7 @@ if ub.oauth_support: scope=element['scope'] ) element['blueprint'] = blueprint - element['blueprint'].backend = OAuthBackend(ub.OAuth, g.ubsession, str(element['id']), + element['blueprint'].backend = OAuthBackend(ub.OAuth, oauth_session, str(element['id']), user=current_user, user_required=True) app.register_blueprint(blueprint, url_prefix="/login") if element['active']: @@ -192,7 +193,7 @@ if ub.oauth_support: session[provider_id + "_oauth_token"] = token # Find this OAuth token in the database, or create it - query = g.ubsession.query(ub.OAuth).filter_by( + query = oauth_session.query(ub.OAuth).filter_by( provider=provider_id, provider_user_id=provider_user_id, ) @@ -207,11 +208,11 @@ if ub.oauth_support: token=token, ) try: - g.ubsession.add(oauth_entry) - g.ubsession.commit() + oauth_session.add(oauth_entry) + oauth_session.commit() except Exception as e: log.exception(e) - g.ubsession.rollback() + oauth_session.rollback() # Disable Flask-Dance's default behavior for saving the OAuth token # Value differrs depending on flask-dance version diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index e96fa1ac..4133a3ff 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2020-12-02 15:51:36
+Start Time: 2020-12-08 08:19:58
Stop Time: 2020-12-02 18:01:04
+Stop Time: 2020-12-08 10:00:52
Duration: 1h 41 min
+Duration: 1h 15 min
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 176, in test_convert_email + self.setup_server(True, {'mail_password': '10234', 'mail_use_ssl':'None'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 613, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 216, in test_convert_failed_and_email + self.setup_server(True, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 618, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 254, in test_convert_only + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 138, in test_convert_parameter + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 408, in test_email_failed + self.setup_server(False, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 618, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 368, in test_email_only + self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 613, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=51115): Max retries exceeded with url: /session/4416b754-c213-43fc-862d-5d5a04d968ec/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify.py", line 157, in test_convert_only + self.assertEqual(ret[-1]['result'], 'Finished') +AssertionError: 'Failed' != 'Finished' +- Failed ++ Finished+
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 212, in test_convert_only - self.assertEqual(ret[-1]['result'], 'Finished') -AssertionError: 'Started' != 'Finished' -- Started -+ Finished+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 107, in test_convert_deactivate + self.fill_basic_config({'config_kepubifypath': ""}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 281, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 197, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 168, in test_convert_only + self.create_user('solo', {'password': '123', 'email': 'a@b.com', 'edit_role':1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 850, in create_user + return cls.change_user(config) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="edit_role"]+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 122, in test_convert_wrong_excecutable + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 649, in test_title_sort - self.edit_book(1, content={'book_title': u'A bok'}) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1397, in edit_book - ele.send_keys(Keys.CONTROL, "a") -AttributeError: 'bool' object has no attribute 'send_keys'-
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 300, in test_edit_author + self.assertEqual('Unknown', values['author'][0]) +IndexError: list index out of range+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 437, in test_edit_category + self.assertEqual(u'Alf|alfa', values['tag'][0]) +IndexError: list index out of range+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 570, in test_edit_comments + self.assertEqual(u'bogomirä 人物', values['comment']) +AssertionError: 'bogomirä 人物' != '' +- bogomirä 人物 +++
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 763, in test_upload_book_epub + self.fill_basic_config({'config_uploading':1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 281, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 197, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 826, in test_watch_metadata + self.assertTrue(button) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 565, in test_book_download + data = self.inital_sync() + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 120, in inital_sync + self.assertEqual(data[0]['NewEntitlement']['BookMetadata']['DownloadUrls'][1]['Size'], 6720) +AssertionError: 8250 != 6720+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 261, in test_sync_changed_book + self.assertEqual(1, len(data)) +AssertionError: 1 != 0+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 295, in test_sync_shelf + self.assertEqual(0, len(data)) +AssertionError: 0 != 1+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 246, in test_sync_upload + self.assertEqual(1, len(data)) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ldap.py", line 294, in test_LDAP_import_memberfield + self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) +AssertionError: False is not true+
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 59, in test_txt_reader - self.assertTrue('hörte' in content.text, 'Encoding of textfile viewer is not respected properly') -AssertionError: False is not true : Encoding of textfile viewer is not respected properly+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_oauth.py", line 94, in test_oauth_about + self.assertTrue(self.goto_page('nav_about')) +AssertionError: False is not true +
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_oauth.py", line 43, in test_visible_oauth + self.fill_basic_config({'config_login_type':'Use OAuth'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 281, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 197, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=50367): Max retries exceeded with url: /session/c130726e-2b8c-46f9-8256-107c2479a630/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_oauth.py", line 33, in tearDownClass + cls.stop_calibre_web() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 369, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=50367): Max retries exceeded with url: /session/c130726e-2b8c-46f9-8256-107c2479a630/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 23, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir':TEST_DB}, login=False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 171, in startup + inst.driver.get(host) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&u=http%3A//127.0.0.1%3A8083/&c=UTF-8&d=Firefox%20kann%20keine%20Verbindung%20zu%20dem%20Server%20unter%20127.0.0.1%3A8083%20aufbauen.+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 40, in tearDownClass + cls.driver.switch_to.window(cls.current_handle) +AttributeError: type object 'TestReader' has no attribute 'current_handle'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 43, in tearDownClass + cls.login('admin', 'admin123') + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 64, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 35, in tearDownClass + cls.stop_calibre_web() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 369, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_updater.py", line 33, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB}, env=my_env) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 171, in startup + inst.driver.get(host) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&u=http%3A//127.0.0.1%3A8083/&c=UTF-8&d=Firefox%20kann%20keine%20Verbindung%20zu%20dem%20Server%20unter%20127.0.0.1%3A8083%20aufbauen.+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 27, in tearDownClass + cls.stop_calibre_web() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 369, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 31, in tearDownClass + cls.stop_calibre_web() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 369, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 142, in test_comic_reader + self.get_book_details(3) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 33, in tearDown + new_handle = cls.driver.current_window_handle + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 711, in current_window_handle + return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/window (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 63, in test_epub_reader + self.get_book_details(8) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 33, in tearDown + new_handle = cls.driver.current_window_handle + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 711, in current_window_handle + return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/window (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 87, in test_pdf_reader + self.get_book_details(13) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 33, in tearDown + new_handle = cls.driver.current_window_handle + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 711, in current_window_handle + return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/window (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 190, in test_sound_listener + self.fill_basic_config({'config_uploading': 1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 281, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 197, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 33, in tearDown + new_handle = cls.driver.current_window_handle + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 711, in current_window_handle + return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/window (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 50, in test_txt_reader + self.get_book_details(1) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 33, in tearDown + new_handle = cls.driver.current_window_handle + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 711, in current_window_handle + return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=44337): Max retries exceeded with url: /session/cf22f27d-d1e3-4573-9924-26dabfb5719a/window (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 188, in test_forgot_password + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 68, in test_limit_domain + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 58, in test_register_no_server + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 204, in test_registering_only_email + if not self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 122, in test_registering_user + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 138, in test_registering_user_fail + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 156, in test_user_change_password + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=36397): Max retries exceeded with url: /session/31c68f83-b980-47bb-9e84-de056286614b/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 351, in test_add_shelf_from_search + self.create_shelf('search', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 227, in test_arrange_shelf + self.create_shelf('order', True) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 211, in test_delete_book_of_shelf + self.create_shelf('Delete', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 60, in test_private_shelf + self.create_shelf('Pü 执',False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 266, in test_public_private_shelf + self.create_shelf('shelf_public', True) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 100, in test_public_shelf + self.create_shelf('Gü 执',True) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 154, in test_rename_shelf + self.create_shelf('Lolo', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 309, in test_shelf_action_non_shelf_edit_role + self.edit_user('admin', {'edit_shelf_role': 0, 'email': 'e@fe.de'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 640, in edit_user + user = cls.driver.find_elements_by_xpath("//table[@id='table_user']/tbody/tr/td/a") + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 410, in find_elements_by_xpath + return self.find_elements(by=By.XPATH, value=xpath) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1005, in find_elements + return self.execute(Command.FIND_ELEMENTS, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/elements (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 376, in test_shelf_anonymous + self.fill_basic_config({'config_anonbrowse': 1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 281, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 197, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Takes too long+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 302, in test_shelf_long_name + self.create_shelf('Halllalalalal1l1ll2332434llsfllsdfglsdflglfdglfdlgldfsglsdlgrtfgsdfvxccbbsgtsvxv', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 42, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=45495): Max retries exceeded with url: /session/eca123ab-aefa-47be-902a-e3e6cb540fef/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 628, in test_allow_column_restriction + self.fill_view_config({'config_restricted_column':"Custom Text 人物 *'()&"}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 564, in test_allow_tag_restriction + restricts = self.list_restrictions(RESTRICT_TAG_TEMPLATE) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 514, in list_restrictions + WebDriverWait(self.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 303, in test_archived_format_template + self.fill_view_config({'show_32768':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 332, in test_author_user_template + self.fill_view_config({'show_64':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 130, in test_best_user_template + self.fill_view_config({'show_128':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 216, in test_category_user_template + self.fill_view_config({'show_8':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 672, in test_deny_column_restriction + self.fill_view_config({'config_restricted_column':"Custom Text 人物 *'()&"}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 595, in test_deny_tag_restriction + restricts = self.list_restrictions(RESTRICT_TAG_TEMPLATE) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 514, in list_restrictions + WebDriverWait(self.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 448, in test_detail_random_user_template + self.fill_view_config({'Show_detail_random':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 390, in test_download_user_template + self.fill_view_config({'show_65536': 0 }) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 274, in test_format_user_template + self.fill_view_config({'show_16384':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 101, in test_hot_user_template + self.fill_view_config({'show_16':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 159, in test_language_user_template + self.fill_view_config({'show_2':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 542, in test_limit_book_languages + self.edit_user('admin', {'default_language': 'Norwegian Bokmål' }) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 640, in edit_user + user = cls.driver.find_elements_by_xpath("//table[@id='table_user']/tbody/tr/td/a") + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 410, in find_elements_by_xpath + return self.find_elements(by=By.XPATH, value=xpath) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1005, in find_elements + return self.execute(Command.FIND_ELEMENTS, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/elements (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 419, in test_list_user_template + self.fill_view_config({'show_131072': 0 }) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 245, in test_publisher_user_template + self.fill_view_config({'show_4096':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 39, in test_random_user_template + self.fill_view_config({'show_32':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 361, in test_read_user_template + self.fill_view_config({'show_256': 0 }) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 67, in test_recent_user_template + self.fill_view_config({'show_4':0,'show_8':0, 'show_16':0, 'show_32':0, 'show_64':0, 'show_128':0, + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 188, in test_series_user_template + self.fill_view_config({'show_4':0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 532, in test_ui_language_settings + self.edit_user('admin', {'locale': 'Deutsch'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 640, in edit_user + user = cls.driver.find_elements_by_xpath("//table[@id='table_user']/tbody/tr/td/a") + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 410, in find_elements_by_xpath + return self.find_elements(by=By.XPATH, value=xpath) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1005, in find_elements + return self.execute(Command.FIND_ELEMENTS, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/elements (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 34, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 87, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38501): Max retries exceeded with url: /session/a943054d-9981-4636-9553-3575b0abb673/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 43, in test_about + self.assertTrue(self.check_element_on_page((By.ID, 'libs'))) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 423, in test_admin_SMTP_Settings + submit = self.check_element_on_page((By.NAME, "submit")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 437, in test_admin_add_user + self.driver.find_element_by_id("back").click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 412, in test_admin_change_password + self.change_current_user_password("1234") + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 189, in change_current_user_password + cls.driver.find_element_by_id("top_user").click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 367, in test_admin_change_visibility_archived + self.change_user({'show_32768': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 397, in test_admin_change_visibility_authors - self.verify_order("nav_author", 2, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) -TypeError: 'FirefoxWebElement' object is not subscriptable+ File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 402, in test_admin_change_visibility_category + self.change_user({'show_8': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 362, in test_admin_change_visibility_file_formats - self.verify_order("nav_format", 1, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) -TypeError: 'FirefoxWebElement' object is not subscriptable+ File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 254, in test_admin_change_visibility_hot + self.change_user({'show_16': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 249, in test_admin_change_visibility_language - self.verify_order("nav_lang", 0, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) -TypeError: 'FirefoxWebElement' object is not subscriptable+ File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 322, in test_admin_change_visibility_publisher - self.verify_order("nav_publisher", 0, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) -IndexError: list index out of range+ File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 273, in test_admin_change_visibility_random + self.change_user({'show_32': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 188, in test_admin_change_visibility_rated - self.verify_order("nav_rated", order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 173, in test_admin_change_visibility_rated + self.change_user({'show_128': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 327, in test_admin_change_visibility_rating + self.change_user({'show_8192': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 193, in test_admin_change_visibility_read + self.change_user({'show_256': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 285, in test_admin_change_visibility_series + self.change_user({'show_4': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 725, in test_allow_columns + self.fill_view_config({'config_restricted_column': "Custom Text 人物 *'()&"}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 584, in test_allow_tags + self.create_shelf('allow', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 920, in test_archive_books + details = self.get_book_details(5) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 877, in test_authors_max_settings + self.create_shelf('Author', False) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 787, in create_shelf + ele = self.check_element_on_page((By.ID,'title')) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 458, in test_change_title + self.fill_view_config({'config_calibre_web_title': 'Lü 执'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 286, in fill_view_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.CLASS_NAME, "discover"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 39, in test_checked_logged_in + self.assertTrue(self.check_element_on_page((By.NAME, 'query'))) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 827, in test_hide_custom_column + self.get_book_details(5) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1196, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 779, in test_link_column_to_read_status + self.assertTrue(search['cust_columns']['Custom Bool 1 Ä']) TypeError: 'bool' object is not subscriptable
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 342, in test_admin_change_visibility_rating - self.verify_order("nav_rate", 0, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1117, in verify_order - list_elements[index].click() - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute - self.error_handler.check_response(response) - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.ElementNotInteractableException: Message: Element could not be scrolled into view-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 229, in test_admin_change_visibility_read - self.verify_order("nav_unread", 0, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1113, in verify_order - if not len(list_elements): -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 302, in test_admin_change_visibility_series - self.verify_order("nav_serie", 0, order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1128, in verify_order - book_id = int(books[1][index]['id']) -IndexError: list index out of range-
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 49, in test_random_books_available + self.assertTrue(self.check_element_on_page((By.ID, "books_rand"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 666, in test_restrict_columns + self.edit_book(10, custom_content={"Custom Text 人物 *'()&": 'test'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1352, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 510, in test_restrict_tags + self.assertEqual(len(elements['include_tags']), 1) +TypeError: 'bool' object is not subscriptable+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 964, in test_save_views_recent + self.check_element_on_page((By.ID, "desc")).click() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/adapters.py", line 439, in send + resp = conn.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 500, in test_search_functions + r.post('http://127.0.0.1:8083/login', data=payload) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/sessions.py", line 590, in post + return self.request('POST', url, data=data, json=json, **kwargs) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/sessions.py", line 542, in request + resp = self.send(prep, **send_kwargs) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/sessions.py", line 655, in send + r = adapter.send(request, **kwargs) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/adapters.py", line 516, in send + raise ConnectionError(e, request=request) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 472, in test_search_order + self.search('book') + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1554, in search + field = self.check_element_on_page((By.ID, "query")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 465, in test_search_string + field = self.check_element_on_page((By.ID, "query")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 632, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 99, in test_user_email_available + self.driver.find_element_by_id("top_user").click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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 "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, 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 "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 116, in test_user_visibility_sidebar + self.change_user({'show_32': 0}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 889, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=38863): Max retries exceeded with url: /session/b9d1cbd6-b1d3-4001-8461-77315a9f97c9/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))