2024-03-28 00:26:33
|
ERROR
|
server
|
odoo.addons.bus.tests.test_assetsbundle:31
ERROR: BusWebTests.test_bundle_sends_bus
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/usr/local/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 447, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='127.0.0.1', port=8069): Read timed out. (read timeout=12)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/addons/bus/tests/test_assetsbundle.py", line 31, in test_bundle_sends_bus
self.assertEqual(self.url_open('/web/assets/any/web.assets_web.min.css', allow_redirects=False).status_code, 200)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tests/common.py", line 1707, in url_open
return self.opener.get(url, timeout=timeout, headers=headers, allow_redirects=allow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tests/common.py", line 1646, in request
return super().request(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tests/common.py", line 319, in <lambda>
lambda s, r, **kwargs: cls._request_handler(s, r, **kwargs),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tests/common.py", line 272, in _request_handler
return _super_send(s, r, **kw)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8069): Read timed out. (read timeout=12)
|
2024-03-28 00:26:33
|
ERROR
|
server
|
odoo.http:2231
Exception during request handling.
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/cache.py", line 99, in lookup
r = d[key]
~^^^^^
File "<decorator-gen-5>", line 2, in __getitem__
File "/data/build/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: ('ir.config_parameter', <function IrConfigParameter._get_param at 0x7fa6db359ee0>, 'base.image_autoresize_extensions')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
^^^^^^^^^
File "/data/build/odoo/odoo/sql_db.py", line 493, in __getattr__
raise psycopg2.InterfaceError("Cursor already closed")
psycopg2.InterfaceError: Cursor already closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/http.py", line 1785, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/service/model.py", line 133, in retrying
result = func()
^^^^^^
File "/data/build/odoo/odoo/http.py", line 1812, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/http.py", line 1929, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/http.py", line 742, in route_wrapper
result = endpoint(self, *args, **params_ok)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/addons/web/controllers/binary.py", line 128, in content_assets
attachment = bundle.css()
^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/assetsbundle.py", line 575, in css
return self.save_attachment(extension, css)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/assetsbundle.py", line 309, in save_attachment
attachment = ira.with_user(SUPERUSER_ID).create(values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<decorator-gen-61>", line 2, in create
File "/data/build/odoo/odoo/api.py", line 414, in _model_create_multi
return create(self, [arg])
^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_attachment.py", line 637, in create
values = self._check_contents(values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_attachment.py", line 371, in _check_contents
values = self._postprocess_contents(values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_attachment.py", line 326, in _postprocess_contents
supported_subtype = ICP('base.image_autoresize_extensions', 'png,jpeg,bmp,tiff').split(',')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_config_parameter.py", line 69, in get_param
return self._get_param(key) or default
^^^^^^^^^^^^^^^^^^^^
File "<decorator-gen-67>", line 2, in _get_param
File "/data/build/odoo/odoo/tools/cache.py", line 104, in lookup
value = d[key] = self.method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/addons/base/models/ir_config_parameter.py", line 77, in _get_param
self.env.cr.execute("SELECT value FROM ir_config_parameter WHERE key = %s", [key])
File "/data/build/odoo/odoo/sql_db.py", line 547, in execute
return self._cursor.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/sql_db.py", line 335, in execute
_logger.error("bad query: %s\nERROR: %s", tools.ustr(self._obj.query or query), e)
^^^^^^^^^
File "/data/build/odoo/odoo/sql_db.py", line 493, in __getattr__
raise psycopg2.InterfaceError("Cursor already closed")
psycopg2.InterfaceError: Cursor already closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
^^^^^^^^^
File "/data/build/odoo/odoo/sql_db.py", line 493, in __getattr__
raise psycopg2.InterfaceError("Cursor already closed")
psycopg2.InterfaceError: Cursor already closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/http.py", line 2209, in __call__
response = request._serve_db()
^^^^^^^^^^^^^^^^^^^
File "/data/build/odoo/odoo/http.py", line 1781, in _serve_db
with contextlib.closing(self.registry.cursor()) as cr:
File "/usr/local/lib/python3.11/contextlib.py", line 348, in __exit__
self.thing.close()
File "/data/build/odoo/odoo/sql_db.py", line 551, in close
self.rollback()
File "/data/build/odoo/odoo/sql_db.py", line 579, in rollback
self._savepoint.rollback()
File "/data/build/odoo/odoo/sql_db.py", line 92, in rollback
self._cr.execute(SQL('ROLLBACK TO SAVEPOINT %s', self._name))
File "/data/build/odoo/odoo/sql_db.py", line 335, in execute
_logger.error("bad query: %s\nERROR: %s", tools.ustr(self._obj.query or query), e)
^^^^^^^^^
File "/data/build/odoo/odoo/sql_db.py", line 493, in __getattr__
raise psycopg2.InterfaceError("Cursor already closed")
psycopg2.InterfaceError: Cursor already closed
|