Updated requirements

Updated testresults
This commit is contained in:
Ozzie Isaacs 2024-02-10 19:49:02 +01:00
parent 4864254e37
commit 2bfb02c448
3 changed files with 261 additions and 270 deletions

View File

@ -1,7 +1,7 @@
# GDrive Integration
google-api-python-client>=1.7.11,<2.108.0
gevent>20.6.0,<24.0.0
greenlet>=0.4.17,<2.1.0
greenlet>=0.4.17,<3.1.0
httplib2>=0.9.2,<0.23.0
oauth2client>=4.0.0,<4.1.4
uritemplate>=3.0.0,<4.2.0
@ -38,8 +38,8 @@ faust-cchardet>=2.1.18,<2.1.20
py7zr>=0.15.0,<0.21.0
# Comics
natsort>=2.2.0,<8.4.0
natsort>=2.2.0,<8.5.0
comicapi>=2.2.0,<3.3.0
# Kobo integration
jsonschema>=3.2.0,<4.20.0
jsonschema>=3.2.0,<4.22.0

View File

@ -68,7 +68,7 @@ include = cps/services*
gdrive =
google-api-python-client>=1.7.11,<2.108.0
gevent>20.6.0,<24.0.0
greenlet>=0.4.17,<2.1.0
greenlet>=0.4.17,<3.1.0
httplib2>=0.9.2,<0.23.0
oauth2client>=4.0.0,<4.1.4
uritemplate>=3.0.0,<4.2.0
@ -99,8 +99,8 @@ metadata =
faust-cchardet>=2.1.18,<2.1.20
py7zr>=0.15.0,<0.21.0
comics =
natsort>=2.2.0,<8.4.0
natsort>=2.2.0,<8.5.0
comicapi>=2.2.0,<3.3.0
kobo =
jsonschema>=3.2.0,<4.20.0
jsonschema>=3.2.0,<4.22.0

View File

@ -37,20 +37,20 @@
<div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3" style="margin-top:50px;">
<p class='text-justify attribute'><strong>Start Time: </strong>2024-01-17 20:30:42</p>
<p class='text-justify attribute'><strong>Start Time: </strong>2024-02-10 19:51:08</p>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3">
<p class='text-justify attribute'><strong>Stop Time: </strong>2024-01-18 03:25:01</p>
<p class='text-justify attribute'><strong>Stop Time: </strong>2024-02-11 02:37:31</p>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-6 col-sm-offset-3">
<p class='text-justify attribute'><strong>Duration: </strong>5h 47 min</p>
<p class='text-justify attribute'><strong>Duration: </strong>5h 36 min</p>
</div>
</div>
</div>
@ -234,12 +234,12 @@
<tr id="su" class="failClass">
<tr id="su" class="errorClass">
<td>TestBackupMetadata</td>
<td class="text-center">21</td>
<td class="text-center">20</td>
<td class="text-center">1</td>
<td class="text-center">16</td>
<td class="text-center">0</td>
<td class="text-center">5</td>
<td class="text-center">0</td>
<td class="text-center">
<a onclick="showClassDetail('c2', 21)">Detail</a>
@ -320,35 +320,11 @@
<tr id="ft2.9" class="none bg-danger">
<tr id='pt2.9' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_book_series_index</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_ft2.9')">FAIL</a>
</div>
<!--css div popup start-->
<div id="div_ft2.9" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_ft2.9').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 132, in test_backup_change_book_series_index
self.assertEqual(metadata[&#39;series&#39;][&#39;content&#39;], &#34;tEst&#34;)
AssertionError: &#39;test&#39; != &#39;tEst&#39;
- test
? ^
+ tEst
? ^</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
@ -416,154 +392,161 @@ AssertionError: &#39;test&#39; != &#39;tEst&#39;
<tr id='pt2.17' class='hiddenRow bg-success'>
<tr id="et2.17" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_float</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id='pt2.18' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_int</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id='pt2.19' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_rating</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id='pt2.20' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_text</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id='pt2.21' class='hiddenRow bg-success'>
<td>
<div class='testcase'>TestBackupMetadata - test_upload_book</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
<tr id="su" class="errorClass">
<td>TestBackupMetadataGdrive</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">
<a onclick="showClassDetail('c3', 1)">Detail</a>
</td>
</tr>
<tr id="et3.1" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadataGdrive - test_backup_gdrive</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et3.1')">ERROR</a>
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.17')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et3.1" class="popup_window test_output" style="display:block;">
<div id="div_et2.17" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et3.1').style.display='none'"><span
onclick="document.getElementById('div_et2.17').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 174, in _new_conn
conn = connection.create_connection(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py&#34;, line 95, in create_connection
raise err
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py&#34;, line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 703, in urlopen
httplib_response = self._make_request(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1038, in _send_output
self.send(msg)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 976, in send
self.connect()
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 205, in connect
conn = self._new_conn()
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: &lt;urllib3.connection.HTTPConnection object at 0x7fbaf3c23910&gt;: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py&#34;, line 105, in test_backup_gdrive
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 359, in test_backup_change_custom_float
self.queue_metadata_backup()
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 1630, in queue_metadata_backup
self.check_element_on_page((By.ID, &#34;metadata_backup&#34;)).click()
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 751, in check_element_on_page
el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element))
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py&#34;, line 86, in until
value = method(self._driver)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py&#34;, line 69, in _predicate
return driver.find_element(*locator)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 830, in find_element
return self.execute(Command.FIND_ELEMENT, {&#34;using&#34;: by, &#34;value&#34;: value})[&#34;value&#34;]
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 438, in execute
response = self.command_executor.execute(driver_command, params)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py&#34;, line 290, in execute
return self._request(command_info[0], url, body=data)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py&#34;, line 311, in _request
response = self._conn.request(method, url, body=body, headers=headers)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py&#34;, line 78, in request
return self.request_encode_body(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py&#34;, line 170, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py&#34;, line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 787, in urlopen
retries = retries.increment(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py&#34;, line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=&#39;localhost&#39;, port=36553): Max retries exceeded with url: /session/21a363dd-f6ec-48cc-95a7-772f18f01f8d/element (Caused by NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection object at 0x7fbaf3c23910&gt;: Failed to establish a new connection: [Errno 111] Connection refused&#39;))</pre>
AttributeError: &#39;bool&#39; object has no attribute &#39;click&#39;</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="et2.18" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_int</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.18')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et2.18" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et2.18').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 392, in test_backup_change_custom_int
self.queue_metadata_backup()
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 1630, in queue_metadata_backup
self.check_element_on_page((By.ID, &#34;metadata_backup&#34;)).click()
AttributeError: &#39;bool&#39; object has no attribute &#39;click&#39;</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="et2.19" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_rating</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.19')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et2.19" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et2.19').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 425, in test_backup_change_custom_rating
self.queue_metadata_backup()
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 1630, in queue_metadata_backup
self.check_element_on_page((By.ID, &#34;metadata_backup&#34;)).click()
AttributeError: &#39;bool&#39; object has no attribute &#39;click&#39;</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="et2.20" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadata - test_backup_change_custom_text</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.20')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et2.20" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et2.20').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 452, in test_backup_change_custom_text
self.queue_metadata_backup()
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 1630, in queue_metadata_backup
self.check_element_on_page((By.ID, &#34;metadata_backup&#34;)).click()
AttributeError: &#39;bool&#39; object has no attribute &#39;click&#39;</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="et2.21" class="none bg-info">
<td>
<div class='testcase'>TestBackupMetadata - test_upload_book</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et2.21')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et2.21" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et2.21').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 595, in test_upload_book
self.fill_basic_config({&#39;config_uploading&#39;: 1})
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 399, in fill_basic_config
cls._fill_basic_config(elements)
File &#34;/home/ozzie/Development/calibre-web-test/test/helper_ui.py&#34;, line 304, in _fill_basic_config
WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, &#34;config_port&#34;)))
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py&#34;, line 95, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5
NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:509:5
dom.find/&lt;/&lt;@chrome://remote/content/shared/DOM.sys.mjs:136:16</pre>
</div>
<div class="clearfix"></div>
</div>
@ -581,6 +564,64 @@ urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=&#39;localhost&#39;, p
<td class="text-center">0</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">
<a onclick="showClassDetail('c3', 1)">Detail</a>
</td>
</tr>
<tr id="et3.1" class="none bg-info">
<td>
<div class='testcase'>tearDownClass (test_backup_metadata)</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et3.1')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et3.1" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et3.1').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py&#34;, line 39, in tearDownClass
cls.driver.get(&#34;http://127.0.0.1:&#34; + PORTS[0])
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 449, in get
self.execute(Command.GET, {&#34;url&#34;: url})
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 440, in execute
self.error_handler.check_response(response)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py&#34;, line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&amp;u=http%3A//127.0.0.1%3A8083/&amp;c=UTF-8&amp;d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%20127.0.0.1%3A8083.
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5
UnknownError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:800:5
checkReadyState@chrome://remote/content/marionette/navigate.sys.mjs:58:24
onNavigation@chrome://remote/content/marionette/navigate.sys.mjs:324:39
emit@resource://gre/modules/EventEmitter.sys.mjs:154:20
receiveMessage@chrome://remote/content/marionette/actors/MarionetteEventsParent.sys.mjs:33:25</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id="su" class="passClass">
<td>TestBackupMetadataGdrive</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">0</td>
<td class="text-center">
<a onclick="showClassDetail('c4', 1)">Detail</a>
</td>
@ -588,91 +629,11 @@ urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=&#39;localhost&#39;, p
<tr id="et4.1" class="none bg-info">
<tr id='pt4.1' class='hiddenRow bg-success'>
<td>
<div class='testcase'>tearDownClass (test_backup_metadata_gdrive)</div>
</td>
<td colspan='6'>
<div class="text-center">
<a class="popup_link text-center" onfocus='blur()' onclick="showTestDetail('div_et4.1')">ERROR</a>
</div>
<!--css div popup start-->
<div id="div_et4.1" class="popup_window test_output" style="display:block;">
<div class='close_button pull-right'>
<button type="button" class="close" aria-label="Close" onfocus="this.blur();"
onclick="document.getElementById('div_et4.1').style.display='none'"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="text-left pull-left">
<pre class="text-left">Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 174, in _new_conn
conn = connection.create_connection(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py&#34;, line 95, in create_connection
raise err
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py&#34;, line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 703, in urlopen
httplib_response = self._make_request(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 1038, in _send_output
self.send(msg)
File &#34;/usr/lib/python3.10/http/client.py&#34;, line 976, in send
self.connect()
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 205, in connect
conn = self._new_conn()
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py&#34;, line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: &lt;urllib3.connection.HTTPConnection object at 0x7fbaf3c22e90&gt;: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File &#34;/home/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py&#34;, line 78, in tearDownClass
cls.driver.get(&#34;http://127.0.0.1:&#34;+ PORTS[0])
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 449, in get
self.execute(Command.GET, {&#34;url&#34;: url})
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py&#34;, line 438, in execute
response = self.command_executor.execute(driver_command, params)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py&#34;, line 290, in execute
return self._request(command_info[0], url, body=data)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py&#34;, line 311, in _request
response = self._conn.request(method, url, body=body, headers=headers)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py&#34;, line 78, in request
return self.request_encode_body(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py&#34;, line 170, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py&#34;, line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 815, in urlopen
return self.urlopen(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py&#34;, line 787, in urlopen
retries = retries.increment(
File &#34;/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py&#34;, line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=&#39;localhost&#39;, port=36553): Max retries exceeded with url: /session/21a363dd-f6ec-48cc-95a7-772f18f01f8d/url (Caused by NewConnectionError(&#39;&lt;urllib3.connection.HTTPConnection object at 0x7fbaf3c22e90&gt;: Failed to establish a new connection: [Errno 111] Connection refused&#39;))</pre>
</div>
<div class="clearfix"></div>
</div>
<!--css div popup end-->
<div class='testcase'>TestBackupMetadataGdrive - test_backup_gdrive</div>
</td>
<td colspan='6' align='center'>PASS</td>
</tr>
@ -5612,9 +5573,9 @@ AssertionError: False is not true</pre>
<tr id='total_row' class="text-center bg-grey">
<td>Total</td>
<td>478</td>
<td>463</td>
<td>2</td>
<td>3</td>
<td>460</td>
<td>1</td>
<td>7</td>
<td>10</td>
<td>&nbsp;</td>
</tr>
@ -5643,7 +5604,7 @@ AssertionError: False is not true</pre>
<tr>
<th>Platform</th>
<td>Linux 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64</td>
<td>Linux 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64</td>
<td>Basic</td>
</tr>
@ -5751,7 +5712,7 @@ AssertionError: False is not true</pre>
<tr>
<th>pytz</th>
<td>2023.3.post1</td>
<td>2024.1</td>
<td>Basic</td>
</tr>
@ -5793,7 +5754,37 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestBackupMetadataGdrive</td>
</tr>
<tr>
<th>httplib2</th>
<td>0.22.0</td>
<td>TestBackupMetadataGdrive</td>
</tr>
<tr>
<th>oauth2client</th>
<td>4.1.3</td>
<td>TestBackupMetadataGdrive</td>
</tr>
<tr>
<th>PyDrive2</th>
<td>1.19.0</td>
<td>TestBackupMetadataGdrive</td>
</tr>
<tr>
<th>PyYAML</th>
<td>6.0.1</td>
<td>TestBackupMetadataGdrive</td>
</tr>
<tr>
<th>google-api-python-client</th>
<td>2.117.0</td>
<td>TestCliGdrivedb</td>
</tr>
@ -5823,7 +5814,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestEbookConvertCalibreGDrive</td>
</tr>
@ -5853,7 +5844,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestEbookConvertGDriveKepubify</td>
</tr>
@ -5907,7 +5898,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestEditAuthorsGdrive</td>
</tr>
@ -5943,7 +5934,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestEditBooksOnGdrive</td>
</tr>
@ -5985,7 +5976,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestEmbedMetadataGdrive</td>
</tr>
@ -6015,7 +6006,7 @@ AssertionError: False is not true</pre>
<tr>
<th>google-api-python-client</th>
<td>2.114.0</td>
<td>2.117.0</td>
<td>TestSetupGdrive</td>
</tr>
@ -6051,19 +6042,19 @@ AssertionError: False is not true</pre>
<tr>
<th>python-Levenshtein</th>
<td>0.23.0</td>
<td>0.24.0</td>
<td>TestGoodreads</td>
</tr>
<tr>
<th>jsonschema</th>
<td>4.21.0</td>
<td>4.21.1</td>
<td>TestKoboSync</td>
</tr>
<tr>
<th>jsonschema</th>
<td>4.21.0</td>
<td>4.21.1</td>
<td>TestKoboSyncBig</td>
</tr>
@ -6075,7 +6066,7 @@ AssertionError: False is not true</pre>
<tr>
<th>jsonschema</th>
<td>4.21.0</td>
<td>4.21.1</td>
<td>TestLdapLogin</td>
</tr>
@ -6105,7 +6096,7 @@ AssertionError: False is not true</pre>
</div>
<script>
drawCircle(463, 2, 3, 10);
drawCircle(460, 1, 7, 10);
showCase(5);
</script>