diff --git a/cps/admin.py b/cps/admin.py index 45f4cd9b..41f21bfb 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -614,6 +614,7 @@ def _configuration_ldap_helper(to_save, gdriveError): reboot_required |= _config_string(to_save, "config_ldap_user_object") reboot_required |= _config_string(to_save, "config_ldap_group_object_filter") reboot_required |= _config_string(to_save, "config_ldap_group_members_field") + reboot_required |= _config_string(to_save, "config_ldap_member_user_object") reboot_required |= _config_checkbox(to_save, "config_ldap_openldap") reboot_required |= _config_int(to_save, "config_ldap_encryption") reboot_required |= _config_string(to_save, "config_ldap_cacert_path") diff --git a/cps/tasks/convert.py b/cps/tasks/convert.py index 39d42dcd..75542b38 100644 --- a/cps/tasks/convert.py +++ b/cps/tasks/convert.py @@ -112,7 +112,6 @@ class TaskConvert(CalibreTask): if check == 0: cur_book = local_db.get_book(book_id) if os.path.isfile(file_path + format_new_ext): - # check if format is already there and replace it if so, problem with gdrive kepub upload (why?) new_format = db.Data(name=cur_book.data[0].name, book_format=self.settings['new_book_format'].upper(), book=book_id, uncompressed_size=os.path.getsize(file_path + format_new_ext)) diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 4133a3ff..4cbce657 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2020-12-08 08:19:58
+Start Time: 2020-12-08 13:56:36
Stop Time: 2020-12-08 10:00:52
+Stop Time: 2020-12-08 16:13:33
Duration: 1h 15 min
+Duration: 1h 48 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+ self.assertEqual(len(ret), len(ret2), "Reconvert of book started") +AssertionError: 2 != 3 : Reconvert of book started
Traceback (most recent call last): - 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"]+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 208, in test_convert_only + self.assertEqual(len(ret), len(ret2), "Reconvert of book started") +AssertionError: 2 != 3 : Reconvert of book started
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_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+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 844, in test_watch_metadata + self.assertNotIn('series', book) +AssertionError: 'series' unexpectedly found in {'reader': ['epub'], 'title': 'testbook', 'author': ['John Döe'], 'rating': 0, 'languages': ['English'], 'identifier': [], 'cover': '/cover/5?edit=14db778b-76ee-4bdf-baac-371aa555331f', 'tag': [], 'publisher': ['Randomhäus'], 'comment': '\n', 'add_shelf': [], 'del_shelf': [], 'edit_enable': True, 'kindle': None, 'kindlebtn': None, 'download': ['EPUB (6.7 kB)'], 'read': False, 'archived': False, 'series_all': 'Book 1.0 of test', 'series_index': '1.0', 'series': 'test', 'cust_columns': []}
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 426, in _make_request + six.raise_from(e, None) + File "+", line 3, in raise_from + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request + httplib_response = conn.getresponse() + File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse + response.begin() + File "/usr/lib/python3.8/http/client.py", line 307, in begin + version, status, reason = self._read_status() + File "/usr/lib/python3.8/http/client.py", line 276, in _read_status + raise RemoteDisconnected("Remote end closed connection without" +http.client.RemoteDisconnected: Remote end closed connection without response + +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 403, in increment + raise six.reraise(type(error), error, _stacktrace) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise + raise value.with_traceback(tb) + 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 426, in _make_request + six.raise_from(e, None) + File " ", line 3, in raise_from + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request + httplib_response = conn.getresponse() + File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse + response.begin() + File "/usr/lib/python3.8/http/client.py", line 307, in begin + version, status, reason = self._read_status() + File "/usr/lib/python3.8/http/client.py", line 276, in _read_status + raise RemoteDisconnected("Remote end closed connection without" +urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 539, in test_sync_reading_state + r = newSession.put(self.kobo_adress + '/v1/library/8f1b72c1-e9a4-4212-b538-8e4f4837d201/state', + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/sessions.py", line 602, in put + return self.request('PUT', url, data=data, **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 498, in send + raise ConnectionError(err, request=request) +requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
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+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 272, in test_sync_shelf + 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/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 426, in _make_request + six.raise_from(e, None) + File "+", line 3, in raise_from + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request + httplib_response = conn.getresponse() + File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse + response.begin() + File "/usr/lib/python3.8/http/client.py", line 307, in begin + version, status, reason = self._read_status() + File "/usr/lib/python3.8/http/client.py", line 276, in _read_status + raise RemoteDisconnected("Remote end closed connection without" +http.client.RemoteDisconnected: Remote end closed connection without response + +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 403, in increment + raise six.reraise(type(error), error, _stacktrace) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise + raise value.with_traceback(tb) + 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 426, in _make_request + six.raise_from(e, None) + File " ", line 3, in raise_from + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request + httplib_response = conn.getresponse() + File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse + response.begin() + File "/usr/lib/python3.8/http/client.py", line 307, in begin + version, status, reason = self._read_status() + File "/usr/lib/python3.8/http/client.py", line 276, in _read_status + raise RemoteDisconnected("Remote end closed connection without" +urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 223, in test_sync_unchanged + r = newSession.get(self.kobo_adress+'/v1/initialization', headers=TestKoboSync.header) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/requests/sessions.py", line 555, in get + return self.request('GET', url, **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 498, in send + raise ConnectionError(err, request=request) +requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
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+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 236, in test_sync_upload + 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_kobo_sync.py", line 49, 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 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="admin_stop"]
Traceback (most recent call last): - 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/test_reader.py", line 60, 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+
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'))
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'))
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_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/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 381, in test_admin_change_visibility_authors - self.change_user({'show_64': 0, 'email': 'a@f.de'}) - 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 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/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 347, in test_admin_change_visibility_file_formats - self.change_user({'show_16384': 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 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/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 234, in test_admin_change_visibility_language - self.change_user({'show_2': 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 307, in test_admin_change_visibility_publisher - self.change_user({'show_4096': 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 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/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/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'))