Description: Scheduled for deletion on 2024-11-03 04:54:41
Commit: enterprise:7d338f5c  
Subject: [FIX] account_accountant: Add period condition in Deferred Expense Report
Author: Ian
Committer: Ian
Commit: odoo:83896b85  
Subject: Odoo loader availability in tests.
Author: Richard deMeester
Committer: Richard deMeester
Version: master
Config: Coverage tests with pre-installed modules
Total time: 61m
Date Level Type Message
2024-10-31 03:54:05 INFO runbot Init build environment with config Coverage tests with pre-installed modules
2024-10-31 03:54:05 Starting step pre_install_modules from config Coverage tests with pre-installed modules
2024-10-31 03:54:05 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-10-31 03:54:29 INFO server odoo.modules.loading:327 1 modules loaded in 7.36s, 9191 queries (+9191 extra)
2024-10-31 03:54:35 INFO server odoo.modules.loading:327 18 modules loaded in 4.78s, 7910 queries (+7910 extra)
2024-10-31 03:54:35 Step pre_install_modules finished in 30s
2024-10-31 03:54:35 Starting step tests_coverage from config Coverage tests with pre-installed modules
2024-10-31 03:54:35 INFO runbot Using Dockerfile Tag odoo:WilldooITv17
2024-10-31 03:55:28 INFO server odoo.modules.loading:327 1 modules loaded in 37.51s, 2 queries (+26020 extra)
2024-10-31 03:55:28 ERROR server odoo.addons.base.models.ir_model:2096 Missing model web_tour.tour
2024-10-31 03:55:28 ERROR server odoo.addons.base.models.ir_model:2096 Missing model iap.account
2024-10-31 03:55:28 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 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 330, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 748, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 63, 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-10-31 03:55:28 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-10-31 03:55:28 ERROR server odoo.addons.base.models.ir_model:2096 Missing model web_tour.tour
2024-10-31 03:55:28 ERROR server odoo.addons.base.models.ir_model:2096 Missing model iap.account
2024-10-31 03:55:28 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 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 330, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 748, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/addons/web/controllers/home.py", line 63, 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-10-31 03:55:28 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-10-31 03:55:28 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 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 330, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/http.py", line 748, 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-10-31 03:55:28 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-10-31 03:55:28 ERROR server odoo.modules.loading:354 Module web: 0 failures, 3 errors of 20 tests
2024-10-31 03:55:28 INFO server odoo.modules.loading:327 18 modules loaded in 11.47s, 18 queries (+3502 extra)
2024-10-31 03:55:28 ERROR server odoo.modules.loading:628 At least one test failed when loading the modules.
2024-10-31 03:55:28 INFO server odoo.addons.base.models.ir_qweb:327 Pregenerating assets bundles
2024-10-31 03:56:33 INFO server odoo.addons.base.tests.test_http_case.TestChromeBrowser.test_screencasts:1585 Screencast in: /data/build/tests/110622-master-all/screencasts/failed_screencast_20241031_035631_107524.mp4
2024-10-31 03:57:07 INFO server odoo.addons.base.tests.test_reports:327 Report PDF in: /data/build/tests/110622-master-all/screenshots/pdf_20241031_035702_512527_test_thead_tbody_repeat.pdf
2024-10-31 03:57:07 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-10-31 03:57: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 1387, 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 1387, 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-10-31 03:58:45 INFO server odoo.addons.web.tests.test_js.WebSuite.test_hoot.browser:1403 [HOOT] passed 152 tests (689 assertions, total time: 00:00:02)
2024-10-31 03:58:58 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop.browser:1403
QUnit test failed: bus > Bus > second tab still receives notifications after main pagehide :
	message: "Cannot read properties of undefined (reading 'includes')"
	actual: "TypeError: Cannot read properties of undefined (reading 'includes')"
2024-10-31 03:59:24 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop.browser:1403 1 / 1129 tests failed.
2024-10-31 03:59:24 INFO server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop:327 Screenshot in: /data/build/tests/110622-master-all/screenshots/sc_20241031_035919_167294_WebSuite.png
2024-10-31 03:59:24 INFO server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop:327 Screenshot in: /data/build/tests/110622-master-all/screenshots/sc_20241031_035919_524579_WebSuite.png
2024-10-31 03:59:24 ERROR server odoo.addons.web.tests.test_js:49
FAIL: WebSuite.test_qunit_desktop
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_js.py", line 49, in test_qunit_desktop
    self.browser_js('/web/tests/legacy?mod=web', "", "", login='admin', timeout=1800, success_signal="QUnit test suite done.", error_checker=qunit_error_checker)
  File "/data/build/odoo/odoo/tests/common.py", line 2048, in browser_js
    self.fail('%s\n\n%s' % (message, error))
AssertionError: Some js test failed
1 / 1129 tests failed.
2024-10-31 04:08:59 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1403
[HOOT] Test "@web_mobile/hook_event_bus/HookEventBus: Test callback" failed:
Failed assertion:
1. [step] unverified steps
> Steps: [
  "onRemoveListenerCallback",
  "onRemoveListenerCallback",
]
2024-10-31 04:08:59 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1403
[HOOT] HootError: cannot call `expect.step()` outside of a test
    at scopeError (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:1627:376)
    at Function.step (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:1645:47)
    at Object.onRemoveListener (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:34503:414)
    at HookEventBus.removeEventListener (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:18162:116)
    at unwatchAllListeners (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:2429:105)
    at ModuleSetLoader.cleanup (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:656:86)
    at runTests (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:648:95)
2024-10-31 04:44:25 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop:327 Screenshot in: /data/build/tests/110622-master-all/screenshots/sc_20241031_044420_711785_WebSuite.png
2024-10-31 04:44:25 ERROR server odoo.addons.web.tests.test_js:39
FAIL: WebSuite.test_unit_desktop
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_js.py", line 39, in test_unit_desktop
    self.browser_js('/web/tests?headless&loglevel=2&preset=desktop&timeout=15000', "", "", login='admin', timeout=1800, success_signal="[HOOT] test suite succeeded", error_checker=unit_test_error_checker)
  File "/data/build/odoo/odoo/tests/common.py", line 2048, in browser_js
    self.fail('%s\n\n%s' % (message, error))
AssertionError: Some js test failed
Script timeout exceeded
2024-10-31 04:44:31 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_qunit_mobile.browser:1403 QUnit: passed 83 tests (337 assertions), took 3s
2024-10-31 04:50:40 ERROR server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1403
[HOOT] Test "@web_mobile/hook_event_bus/HookEventBus: Test callback" failed:
Failed assertion:
1. [step] unverified steps
> Steps: [
  "onRemoveListenerCallback",
  "onRemoveListenerCallback",
]
2024-10-31 04:50:40 ERROR server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1403
[HOOT] HootError: cannot call `expect.step()` outside of a test
    at scopeError (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:1627:376)
    at Function.step (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:1645:47)
    at Object.onRemoveListener (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:34503:414)
    at HookEventBus.removeEventListener (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:18162:116)
    at unwatchAllListeners (http://127.0.0.1:8069/web/assets/843b4dd/web.assets_unit_tests_setup.min.js:2429:105)
    at ModuleSetLoader.cleanup (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:656:86)
    at runTests (http://127.0.0.1:8069/web/assets/361dad6/web.assets_unit_tests.min.js:648:95)
2024-10-31 04:54:40 INFO runbot tests_coverage time exceeded (3605s)
2024-10-31 04:54:40 INFO runbot Kill build 110622-master
2024-11-01 07:00:48 Scheduled for deletion on 2025-01-29 04:54:41
2024-11-30 07:00:52 Scheduled for deletion on 2024-11-03 04:54:41