Description: Scheduled for deletion on 2024-11-04 08:45:13
Commit: enterprise:c2dc35f7  
Subject: [IMP] l10n_uy: Type of doc based on type of ID
Author: Claire (clbr)
Committer: Claire (clbr)
Commit: odoo:8377229a  
Subject: Odoo loader availability in tests.
Author: Richard deMeester
Committer: Richard deMeester
Version: 18.0
Config: Coverage tests with pre-installed modules
Total time: 23m
Stats: Build 110873
Date Level Type Message
2024-11-01 08:21:55 INFO runbot Init build environment with config Coverage tests with pre-installed modules
2024-11-01 08:21:55 Starting step pre_install_modules from config Coverage tests with pre-installed modules
2024-11-01 08:21:55 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-11-01 08:22:16 INFO server odoo.modules.loading:327 1 modules loaded in 7.55s, 9183 queries (+9183 extra)
2024-11-01 08:22:22 INFO server odoo.modules.loading:327 18 modules loaded in 4.86s, 7910 queries (+7910 extra)
2024-11-01 08:22:22 Step pre_install_modules finished in 27s
2024-11-01 08:22:22 Starting step tests_coverage from config Coverage tests with pre-installed modules
2024-11-01 08:22:22 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-11-01 08:23:10 INFO server odoo.modules.loading:327 1 modules loaded in 40.34s, 2 queries (+26271 extra)
2024-11-01 08:23:10 ERROR server odoo.addons.base.models.ir_model:2098 Missing model web_tour.tour
2024-11-01 08:23:10 ERROR server odoo.addons.base.models.ir_model:2098 Missing model iap.account
2024-11-01 08:23:10 ERROR server odoo.http:2418
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2383, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1911, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1974, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 137, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1941, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2101, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 329, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 747, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 64, in web_client
    context = request.env['ir.http'].webclient_rendering_context()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_http.py", line 72, in webclient_rendering_context
    'session_info': self.session_info(),
                    ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_http.py", line 130, in session_info
    'view_info': self.env['ir.ui.view'].get_view_info(),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 11, in get_view_info
    return {
           ^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 14, in <dictcomp>
    'icon': _view_info[type_]['icon'],
            ~~~~~~~~~~^^^^^^^
KeyError: 'cohort'
2024-11-01 08:23:10 ERROR server odoo.addons.web.tests.test_login:36
ERROR: TestWebLogin.test_web_login
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_login.py", line 36, in test_web_login
    res_post = self.login('internal_user', 'internal_user')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/tests/test_login.py", line 29, in login
    res_post.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8069/odoo
2024-11-01 08:23:10 ERROR server odoo.addons.base.models.ir_model:2098 Missing model web_tour.tour
2024-11-01 08:23:10 ERROR server odoo.addons.base.models.ir_model:2098 Missing model iap.account
2024-11-01 08:23:10 ERROR server odoo.http:2418
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2383, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1911, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1974, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 137, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1941, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2101, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 329, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 747, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 64, in web_client
    context = request.env['ir.http'].webclient_rendering_context()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_http.py", line 72, in webclient_rendering_context
    'session_info': self.session_info(),
                    ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_http.py", line 130, in session_info
    'view_info': self.env['ir.ui.view'].get_view_info(),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 11, in get_view_info
    return {
           ^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 14, in <dictcomp>
    'icon': _view_info[type_]['icon'],
            ~~~~~~~~~~^^^^^^^
KeyError: 'cohort'
2024-11-01 08:23:10 ERROR server odoo.addons.web.tests.test_login:61
ERROR: TestWebLogin.test_web_login_bad_xhr
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_login.py", line 61, in test_web_login_bad_xhr
    self.login('internal_user', 'internal_user', csrf_token)
  File "/data/build/odoo/addons/web/tests/test_login.py", line 29, in login
    res_post.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8069/odoo
2024-11-01 08:23:17 ERROR server odoo.http:2418
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2383, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1911, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1974, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 137, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1941, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2188, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 329, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 747, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/session.py", line 27, in get_session_info
    return request.env['ir.http'].session_info()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_http.py", line 130, in session_info
    'view_info': self.env['ir.ui.view'].get_view_info(),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 11, in get_view_info
    return {
           ^
  File "/data/build/odoo/addons/web/models/ir_ui_view.py", line 14, in <dictcomp>
    'icon': _view_info[type_]['icon'],
            ~~~~~~~~~~^^^^^^^
KeyError: 'cohort'
2024-11-01 08:23:17 ERROR server odoo.addons.web.tests.test_session_info:45
ERROR: TestSessionInfo.test_session_info
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_session_info.py", line 45, in test_session_info
    result = data["result"]
             ~~~~^^^^^^^^^^
KeyError: 'result'
2024-11-01 08:23:17 ERROR server odoo.modules.loading:354 Module web: 0 failures, 3 errors of 21 tests
2024-11-01 08:23:17 INFO server odoo.modules.loading:327 18 modules loaded in 10.88s, 18 queries (+3518 extra)
2024-11-01 08:23:17 ERROR server odoo.modules.loading:628 At least one test failed when loading the modules.
2024-11-01 08:23:17 INFO server odoo.addons.base.models.ir_qweb:327 Pregenerating assets bundles
2024-11-01 08:24:20 INFO server odoo.addons.base.tests.test_http_case.TestChromeBrowser.test_screencasts:1585 Screencast in: /data/build/tests/110873-18-0-all/screencasts/failed_screencast_20241101_082419_414596.mp4
2024-11-01 08:25:06 INFO server odoo.addons.base.tests.test_reports:327 Report PDF in: /data/build/tests/110873-18-0-all/screenshots/pdf_20241101_082452_132299_test_thead_tbody_repeat.pdf
2024-11-01 08:25:06 ERROR server odoo.addons.base.tests.test_reports:524
ERROR: TestReportsRendering.test_thead_tbody_repeat
Traceback (most recent call last):
  File "/data/build/odoo/odoo/addons/base/tests/test_reports.py", line 524, in test_thead_tbody_repeat
    first_page_break_at = int(pages[1][5][1])
                          ^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\nT1'
2024-11-01 08:25:26 ERROR server odoo.addons.base.tests.test_translate:360
FAIL: TestTranslationExport.test_export_translatable_resources
Traceback (most recent call last):
  File "/data/build/odoo/odoo/addons/base/tests/test_translate.py", line 360, in test_export_translatable_resources
    with self.assertNoLogs('odoo.tools.translate', "ERROR"):
  File "/usr/local/lib/python3.11/unittest/_log.py", line 75, in __exit__
    self._raiseFailure(
AssertionError: Unexpected logs found: ['ERROR:odoo.tools.translate:Failed to extract terms from /data/build/odoo/odoo/tools/template_inheritance.py\nTraceback (most recent call last):\n  File "/data/build/odoo/odoo/tools/translate.py", line 1382, in _babel_extract_terms\n    for extracted in extract.extract(extract_method, src_file, keywords=extract_keywords, options=options):\n  File "/usr/local/lib/python3.11/site-packages/babel/messages/extract.py", line 325, in extract\n    for lineno, funcname, messages, comments in results:\n  File "/usr/local/lib/python3.11/site-packages/babel/messages/extract.py", line 487, in extract_python\n    value = eval(code, {\'__builtins__\': {}}, {})\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "<string>", line 2, in <module>\nNameError: name \'value\' is not defined', 'ERROR:odoo.tools.translate:Failed to extract terms from /data/build/odoo/odoo/fields.py\nTraceback (most recent call last):\n  File "/data/build/odoo/odoo/tools/translate.py", line 1382, in _babel_extract_terms\n    for extracted in extract.extract(extract_method, src_file, keywords=extract_keywords, options=options):\n  File "/usr/local/lib/python3.11/site-packages/babel/messages/extract.py", line 325, in extract\n    for lineno, funcname, messages, comments in results:\n  File "/usr/local/lib/python3.11/site-packages/babel/messages/extract.py", line 487, in extract_python\n    value = eval(code, {\'__builtins__\': {}}, {})\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "<string>", line 2, in <module>\nNameError: name \'self\' is not defined']
2024-11-01 08:26:52 INFO server odoo.addons.web.tests.test_js.WebSuite.test_hoot.browser:1403 [HOOT] passed 158 tests (720 assertions, total time: 00:00:02)
2024-11-01 08:27:29 INFO server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop.browser:1403 QUnit: passed 251 tests (1143 assertions), took 36s
2024-11-01 08:37:35 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1403 [HOOT] passed 8329 tests (34008 assertions, total time: 00:10:00)
2024-11-01 08:37:35 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_qunit_mobile.browser:1403 QUnit: passed 84 tests (340 assertions), took 4s
2024-11-01 08:44:05 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1403 [HOOT] passed 5562 tests (20261 assertions, total time: 00:06:29)
2024-11-01 08:45:17 ERROR server odoo.tests.result:588 1 failed, 4 error(s) of 1276 tests when loading database '110873-18-0-all'
2024-11-01 08:45:17 INFO runbot Start getting coverage result
2024-11-01 08:45:17 WARNING runbot Coverage file not found
2024-11-01 08:45:17 INFO runbot Start generating coverage stats
2024-11-01 08:45:17 INFO runbot Coverage stats recorded for 0 modules
2024-11-01 08:45:17 INFO runbot Getting results for build 110873-18-0
2024-11-01 08:45:17 INFO runbot Getting stats from log file
2024-11-01 08:45:17 Step tests_coverage finished in 23m
2024-11-01 08:45:17 Coverage report: xml , html
2024-11-02 07:00:52 Scheduled for deletion on 2024-11-04 08:45:13