Description: Scheduled for deletion on 2024-11-16 01:21:14
Commit: odoo:031ec24f  
Subject: Odoo loader availability in tests.
Author: Richard deMeester
Committer: Richard deMeester
Commit: enterprise:3557671a  
Subject: [IMP] timesheet_grid: remove legacy setupManager
Author: Rahul Prajapati
Committer: Rahul Prajapati
Version: master
Config: Coverage tests with pre-installed modules
Total time: 25m
Stats: Build 113021
Date Level Type Message
2024-11-13 00:56:45 INFO runbot Init build environment with config Coverage tests with pre-installed modules
2024-11-13 00:56:45 Starting step pre_install_modules from config Coverage tests with pre-installed modules
2024-11-13 00:56:45 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-11-13 00:57:16 INFO server odoo.modules.loading:329 1 modules loaded in 8.40s, 9218 queries (+9218 extra)
2024-11-13 00:57:23 INFO server odoo.modules.loading:329 19 modules loaded in 5.78s, 8055 queries (+8055 extra)
2024-11-13 00:57:23 Step pre_install_modules finished in 39s
2024-11-13 00:57:23 Starting step tests_coverage from config Coverage tests with pre-installed modules
2024-11-13 00:57:23 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-11-13 00:58:30 INFO server odoo.modules.loading:329 1 modules loaded in 47.95s, 2 queries (+26298 extra)
2024-11-13 00:58:30 ERROR server odoo.addons.base.models.ir_model:2085 Missing model web_tour.tour
2024-11-13 00:58:30 ERROR server odoo.addons.base.models.ir_model:2085 Missing model iap.account
2024-11-13 00:58:30 ERROR server odoo.http:2419
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2384, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1912, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1975, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 90, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1942, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2105, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 328, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 751, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 66, 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-13 00:58:30 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 "/home/odoo/.local/lib/python3.11/site-packages/requests/models.py", line 1021, 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-13 00:58:30 ERROR server odoo.addons.base.models.ir_model:2085 Missing model web_tour.tour
2024-11-13 00:58:30 ERROR server odoo.addons.base.models.ir_model:2085 Missing model iap.account
2024-11-13 00:58:30 ERROR server odoo.http:2419
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2384, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1912, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1975, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 90, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1942, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2105, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 328, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 751, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 66, 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-13 00:58:30 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 "/home/odoo/.local/lib/python3.11/site-packages/requests/models.py", line 1021, 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-13 00:58:37 ERROR server odoo.http:2419
Exception during request handling.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/http.py", line 2384, in __call__
    response = request._serve_db()
               ^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1912, in _serve_db
    return self._transactioning(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1975, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/service/model.py", line 90, in retrying
    result = func()
             ^^^^^^
  File "/data/build/odoo/odoo/http.py", line 1942, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 2192, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/addons/base/models/ir_http.py", line 328, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 751, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/session.py", line 29, 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-13 00:58:37 ERROR server odoo.addons.web.tests.test_session_info:48
ERROR: TestSessionInfo.test_session_info
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_session_info.py", line 48, in test_session_info
    result = data["result"]
             ~~~~^^^^^^^^^^
KeyError: 'result'
2024-11-13 00:58:37 ERROR server odoo.modules.loading:356 Module web: 0 failures, 3 errors of 21 tests
2024-11-13 00:58:45 INFO server odoo.modules.loading:329 19 modules loaded in 13.29s, 18 queries (+3507 extra)
2024-11-13 00:58:45 ERROR server odoo.modules.loading:630 At least one test failed when loading the modules.
2024-11-13 00:58:45 INFO server odoo.addons.base.models.ir_qweb:329 Pregenerating assets bundles
2024-11-13 00:59:51 INFO server odoo.addons.base.tests.test_http_case.TestChromeBrowser.test_screencasts:1587 Screencast in: /data/build/tests/113021-master-all/screencasts/failed_screencast_20241113_005949_347535.mp4
2024-11-13 01:00:28 INFO server odoo.addons.base.tests.test_reports:329 Report PDF in: /data/build/tests/113021-master-all/screenshots/pdf_20241113_010026_465815_test_thead_tbody_repeat.pdf
2024-11-13 01:00:28 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-13 01:01:05 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 1375, in _babel_extract_terms\n    for extracted in extract.extract(extract_method, src_file, keywords=extract_keywords, options=options):\n  File "/home/odoo/.local/lib/python3.11/site-packages/babel/messages/extract.py", line 340, in extract\n    for lineno, funcname, messages, comments in results:\n  File "/home/odoo/.local/lib/python3.11/site-packages/babel/messages/extract.py", line 496, in extract_python\n    value = eval(code, {\'__builtins__\': {}}, {})\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "<string>", line 2, in <module>\nNameError: name \'value\' is not defined']
2024-11-13 01:02:35 INFO server odoo.addons.web.tests.test_js.WebSuite.test_hoot.browser:1405 [HOOT] passed 159 tests (724 assertions, total time: 00:00:02)
2024-11-13 01:03:11 INFO server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop.browser:1405 QUnit: passed 246 tests (1118 assertions), took 35s
2024-11-13 01:13:27 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1405 [HOOT] passed 8261 tests (33541 assertions, total time: 00:10:12)
2024-11-13 01:13:27 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_qunit_mobile.browser:1405 QUnit: passed 61 tests (246 assertions), took 2s
2024-11-13 01:20:04 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1405 [HOOT] passed 5576 tests (20237 assertions, total time: 00:06:31)
2024-11-13 01:21:16 ERROR server odoo.tests.result:588 1 failed, 4 error(s) of 1267 tests when loading database '113021-master-all'
2024-11-13 01:21:16 INFO runbot Start getting coverage result
2024-11-13 01:21:16 WARNING runbot Coverage file not found
2024-11-13 01:21:16 INFO runbot Start generating coverage stats
2024-11-13 01:21:16 INFO runbot Coverage stats recorded for 0 modules
2024-11-13 01:21:16 INFO runbot Getting results for build 113021-master
2024-11-13 01:21:16 INFO runbot Getting stats from log file
2024-11-13 01:21:16 Step tests_coverage finished in 24m
2024-11-13 01:21:16 Coverage report: xml , html
2024-11-13 07:00:49 Scheduled for deletion on 2024-11-16 01:21:14